Generate a responsive CSS3 and HTML5 resume with Markdown, with optional PDF output.
Go to file
Craig Davis a5c13d0c43 Add initial phar file, bin/md2resume
* Update output to be a folder name instead of a filename
* Add improved error checking for paths
* Move the examples from /resume to /examples
2014-01-12 13:41:44 -07:00
build Initial v2 framework 2014-01-11 15:22:10 -06:00
examples Add initial phar file, bin/md2resume 2014-01-12 13:41:44 -07:00
src/Resume Add functioning PDF comment 2014-01-12 13:16:11 -07:00
templates Add templates command as warmup for other commands 2014-01-12 08:57:39 -07:00
.gitignore Add functioning PDF comment 2014-01-12 13:16:11 -07:00
README.md Add functioning PDF comment 2014-01-12 13:16:11 -07:00
composer.json Html Command outputs formatted document 2014-01-12 11:00:45 -07:00
composer.lock Html Command outputs formatted document 2014-01-12 11:00:45 -07:00
md2resume_dev.php Add initial phar file, bin/md2resume 2014-01-12 13:41:44 -07:00
pakefile Add initial html command processing 2014-01-12 09:55:31 -07:00
phpunit.xml Initial v2 framework 2014-01-11 15:22:10 -06:00
version Add initial command skeleton 2014-01-12 08:05:09 -07:00

README.md

Markdown Resume Generator

2.0 Work in progress, unstable and not yet ready for use.

  • Update composer for symfony dependencies
  • Add pake and phar generator
  • Update bin with new generated phar
  • Convert to new command structure
  • Update help files

Description

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.

Features

  • Three styles to choose from: modern, blockish, unstyled
  • PDF generation via wkhtmltopdf
  • Responsive design for multiple device viewport sizes
  • Simple Markdown formatting
  • Single file deployment
  • You can now version control and branch your resume.

Quickstart

php ./bin/resume.php --source resume/sample.md
php ./bin/resume.php --source resume/sample.md --pdf

Help

Markdown Resume Generator version 2.0.0 by Craig Davis

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 fb.phar to the latest version.
  templates    List available templates
  version      Show current version information

Examples

Choose a template with the -t option.

php ./bin/resume.php --source resume/sample.md -t blockish

If you want to edit your markdown resume in your editor while watching it update in your browser, run this command:

watch php ./bin/resume.php -s resume/sample.md -r

This makes the build script run periodically, and html document will refresh every two seconds via a meta tag. Open the ./ouput/sample.html file in your browser, and then just save your markdown document when you want to see a fresh preview.

Development

Markdown is limited to basic html markup. Follow the resume/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, and then use a CSS rules to display a very nice resume. Note that because we have very few ways to nest or identify elements that many of the css rules are based on descendant and adjacent selectors.

Development Dependencies

  • composer install
  • pear install PHP_CodeSniffer
  • install pake

TODO

  • Google Analytics include

Acknowledgments

The initial inspiration is from the Sample Resume Template. 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.

Changelog

  • 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
  • 0.8 : Initial Release to Public