2013-03-18 22:36:06 -04:00
|
|
|
# Markdown Resume Generator
|
2012-03-04 11:41:18 -05:00
|
|
|
|
2013-03-18 22:36:06 -04:00
|
|
|
Turn a simple Markdown document into an elegant resume with both a perfect
|
|
|
|
pdf printable format, and a responsive css3 html5 file. You can view a sample
|
|
|
|
at the [blog post for the project][blog].
|
2012-03-05 10:56:49 -05:00
|
|
|
|
2014-01-12 21:58:14 -05:00
|
|
|
[![Build Status](https://travis-ci.org/there4/markdown-resume.png?branch=master)](https://travis-ci.org/there4/markdown-resume)
|
|
|
|
|
2012-03-05 10:56:49 -05:00
|
|
|
## Features
|
|
|
|
|
2014-01-12 16:33:43 -05:00
|
|
|
* Three styles to choose from: modern, blockish, unstyled (Fork and add more!)
|
2014-01-12 15:16:11 -05:00
|
|
|
* PDF generation via [wkhtmltopdf][wkhtmltopdf]
|
2012-03-05 10:56:49 -05:00
|
|
|
* Responsive design for multiple device viewport sizes
|
|
|
|
* Simple Markdown formatting
|
2014-01-12 16:33:43 -05:00
|
|
|
* Single file deployment (no external stylesheets)
|
2012-03-05 10:56:49 -05:00
|
|
|
* You can now version control and branch your resume.
|
|
|
|
|
|
|
|
## Quickstart
|
|
|
|
|
2014-01-12 16:33:43 -05:00
|
|
|
There is no installation or need to run composer. Just run the phar file:
|
|
|
|
|
|
|
|
./bin/md2resume html examples/source/sample.md examples/output/
|
|
|
|
./bin/md2resume pdf examples/source/sample.md examples/output/
|
2012-03-05 10:56:49 -05:00
|
|
|
|
2014-01-12 08:52:47 -05:00
|
|
|
## Help
|
2014-01-13 09:50:25 -05:00
|
|
|
```
|
2014-05-14 20:57:07 -04:00
|
|
|
Markdown Resume Generator version 2.0.7 by Craig Davis
|
2014-01-12 08:52:47 -05:00
|
|
|
|
2014-01-13 09:50:25 -05:00
|
|
|
Usage:
|
|
|
|
[options] command [arguments]
|
|
|
|
|
|
|
|
Options:
|
|
|
|
--help -h Display this help message.
|
|
|
|
--quiet -q Do not output any message.
|
|
|
|
--verbose -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
|
|
|
|
--version -V Display this application version.
|
|
|
|
--ansi Force ANSI output.
|
|
|
|
--no-ansi Disable ANSI output.
|
|
|
|
--no-interaction -n Do not ask any interactive question.
|
|
|
|
|
|
|
|
Available commands:
|
|
|
|
help Displays help for a command
|
|
|
|
html Generate an HTML resume from a markdown file
|
|
|
|
list Lists commands
|
|
|
|
pdf Generate a PDF from a markdown file
|
|
|
|
selfupdate Updates md2resume.phar to the latest version.
|
|
|
|
stats Generate a word frequency analysis of your resume
|
|
|
|
templates List available templates
|
|
|
|
version Show current version information
|
|
|
|
|
|
|
|
```
|
2014-01-15 09:36:34 -05:00
|
|
|
## Examples
|
2012-03-22 12:33:48 -04:00
|
|
|
|
2013-03-19 10:45:36 -04:00
|
|
|
Choose a template with the -t option.
|
|
|
|
|
2014-01-12 16:33:43 -05:00
|
|
|
./bin/md2resume html --template blockish examples/source/sample.md examples/output/
|
2013-03-19 10:45:36 -04:00
|
|
|
|
2012-03-22 12:33:48 -04:00
|
|
|
If you want to edit your markdown resume in your editor while watching it
|
|
|
|
update in your browser, run this command:
|
|
|
|
|
2014-01-12 16:33:43 -05:00
|
|
|
watch ./bin/md2resume html --refresh examples/source/sample.md examples/output/
|
2014-03-10 10:17:23 -04:00
|
|
|
|
2012-03-22 12:33:48 -04:00
|
|
|
This makes the build script run periodically, and html document will refresh
|
2014-01-12 16:33:43 -05:00
|
|
|
every two seconds via a meta tag. Open the `./examples/ouput/sample.html` file
|
|
|
|
in your browser, and then just save your markdown document when you want to see
|
2013-03-18 22:36:06 -04:00
|
|
|
a fresh preview.
|
2012-03-22 12:33:48 -04:00
|
|
|
|
2014-01-12 16:33:43 -05:00
|
|
|
## Authoring Your Resume
|
|
|
|
|
|
|
|
Markdown is limited to basic html markup. Follow the `examples/source/sample.md`
|
|
|
|
file as a guideline. This file includes various headers and several nested
|
|
|
|
elements. This allows us to construct a semantic HTML document for the resume,
|
2014-01-12 18:51:05 -05:00
|
|
|
and then use CSS rules to display a nicely formatted resume. Note that because
|
|
|
|
we have very few ways to nest or identify elements that many of the css rules
|
2014-03-10 10:17:23 -04:00
|
|
|
are based on descendant and adjacent selectors.
|
2012-03-05 10:56:49 -05:00
|
|
|
|
2014-01-12 17:26:25 -05:00
|
|
|
__PLEASE NOTE__: The templates are compiled into the phar archive in the `./bin`
|
|
|
|
folder. If you intend to edit the templates or add new ones, you'll need to run
|
|
|
|
this application in the dev mode. See below for more information about doing
|
|
|
|
this.
|
|
|
|
|
2014-01-12 16:33:43 -05:00
|
|
|
## Feature Development
|
2012-03-05 10:56:49 -05:00
|
|
|
|
2014-01-12 16:33:43 -05:00
|
|
|
The application is deployed as a compiled phar file. In order to add new
|
|
|
|
commands, you'll need to first install the dependencies:
|
2014-01-12 11:55:31 -05:00
|
|
|
|
2014-01-12 16:33:43 -05:00
|
|
|
* `composer install`
|
2014-01-12 11:55:31 -05:00
|
|
|
|
2014-01-12 16:33:43 -05:00
|
|
|
After that, you can run the `md2resume_dev.php` file from the command line.
|
2014-03-24 09:16:30 -04:00
|
|
|
Check out the pake tooling for more information about the build. Pake will be
|
|
|
|
installed to `./vendor/bin/pake`. So for instance a complete phar file build
|
|
|
|
looks like `./vendor/bin/pake build`.
|
2014-01-12 16:33:43 -05:00
|
|
|
|
2012-03-05 10:56:49 -05:00
|
|
|
## Acknowledgments
|
|
|
|
|
2012-12-31 17:30:31 -05:00
|
|
|
The initial inspiration is from the [Sample Resume Template][srt].
|
2014-01-12 16:33:43 -05:00
|
|
|
However, no HTML from that project has been used in this. General layout has
|
|
|
|
been reused, and media queries have been added. It's a nice template, and if you
|
|
|
|
are a more comfortable with html than markdown, you should use it.
|
2012-12-31 17:30:31 -05:00
|
|
|
|
2014-01-08 09:05:08 -05:00
|
|
|
## Changelog
|
|
|
|
|
2014-05-14 20:57:07 -04:00
|
|
|
* __2.0.7__ : Update composer to use `sunra/php-simple-html-dom-parser` this
|
|
|
|
appears to be better maintained and more popular to close #27
|
2014-04-28 11:12:53 -04:00
|
|
|
* __2.0.6__ : Fix empty template list from phar file to close #24
|
2014-04-13 14:26:18 -04:00
|
|
|
* __2.0.5__ : Remove default value for the `--refresh` option to close #22
|
2014-03-24 11:33:56 -04:00
|
|
|
* __2.0.4__ : Fix path resolution problem with absolute paths to close #16
|
2014-03-24 10:38:59 -04:00
|
|
|
* __2.0.3__ : Add optional duration to the `--refresh` option to close #15
|
2014-03-24 09:16:30 -04:00
|
|
|
* __2.0.2__ : Add new dependency check for `mbstring` to close #20
|
2014-03-10 10:17:23 -04:00
|
|
|
* __2.0.1__ : Add new `swissen` template with Helvetica styling (@beautifulcode)
|
2014-01-12 16:33:43 -05:00
|
|
|
* __2.0.0__ : Complete rewrite with the [symfony console component][console].
|
2014-01-12 19:14:29 -05:00
|
|
|
Deployment is now done with a compiled phar file, and development dependencies
|
2014-01-12 16:33:43 -05:00
|
|
|
are managed with composer.
|
2014-01-08 09:05:08 -05:00
|
|
|
* __0.9.0__ : Add composer and update README with new changelog
|
|
|
|
* __0.8.8__ : Add Chinese text example (@ishitcno1)
|
|
|
|
* __0.8.7__ : Update pdf formatting of the modern template (@roleary)
|
|
|
|
* __0.8.6__ : Fix output path (@abhikandoi2000)
|
|
|
|
* __0.8.5__ : Fix issue #2
|
|
|
|
* __0.8.4__ : Correct chmod and add parameter for output directory (@kevinxucs)
|
|
|
|
* __0.8.2__ : Update build script and add refresh command option
|
|
|
|
* __0.8.1__ : Updating formatting of initial templates
|
2014-03-10 10:17:23 -04:00
|
|
|
* __0.8__ : Initial Release to Public
|
2014-01-08 09:05:08 -05:00
|
|
|
|
2012-12-31 17:30:31 -05:00
|
|
|
[srt]: http://sampleresumetemplate.net/ "A great starting point"
|
2013-03-18 22:36:06 -04:00
|
|
|
[blog]: http://there4development.com/blog/2012/12/31/markdown-resume-builder/
|
2014-01-12 11:55:31 -05:00
|
|
|
[pake]: https://github.com/indeyets/pake/wiki/Installing-Pake
|
2014-01-12 15:16:11 -05:00
|
|
|
[wkhtmltopdf]: https://github.com/pdfkit/pdfkit/wiki/Installing-WKHTMLTOPDF
|
2014-01-12 16:33:43 -05:00
|
|
|
[console]: http://symfony.com/doc/current/components/console/introduction.html
|