Download the PHP package there4/markdown-resume without Composer
On this page you can find all versions of the php package there4/markdown-resume. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download there4/markdown-resume
More information about there4/markdown-resume
Files in there4/markdown-resume
Package markdown-resume
Short Description Markdown Resume Generator
License MIT
Homepage https://github.com/there4/markdown-resume
Informations about the package markdown-resume
Markdown Resume Generator
Convert markdown to HTML and PDF resumes
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, or look in examples/output to see sample PDFs.
Features
- Multiple styles to choose from:
modern
,blockish
,unstyled
,readable
,swissen
(Fork and add more!) - PDF generation via wkhtmltopdf
- Responsive design for multiple device viewport sizes
- Simple Markdown formatting
- Single file deployment (no external stylesheets)
- You can now version control and branch your resume.
Installation
Docker
Run those commands in the directory where you put your markdown resume.
Oneshot command
This is best suited for use in scripts or in CI environments:
docker run -v ${PWD}:/resume there4/markdown-resume md2resume [options] command [arguments]
Interactive console
This allows you to enter an interactive console where you can easily experiment and run different commands:
docker run -it -v ${PWD}:/resume there4/markdown-resume
Local
- Clone the repo
git clone [email protected]:there4/markdown-resume.git
or Download ZIP - PHP 7 and composer are installed and on your PATH
-
composer install
inside of the project directory to install dependencies - For generating PDF files, you need to install
wkhtmltopdf
- OSX:
brew cask install wkhtmltopdf
via Homebrew Cask - Debian:
sudo apt install php7.0-mbstring wkhtmltopdf
- Fedora
sudo dnf install php-mbstring wkhtmltopdf
- OSX:
Usage
The two most important commands are the following two. Run them inside the cloned directory
Help
Examples
Choose a template with the -t option.
If you want to edit your markdown resume in your editor while watching it update in your browser, run this command:
This makes the build script run periodically, and html document will refresh
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
a fresh preview.
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,
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
are based on descendant and adjacent selectors.
Feature Development
In order to add new commands, you'll need to first install the dependencies via composer install
After that, you can run the md2resume_dev.php
file from the command line.
Building a Release
- Tag the repo with the new build number.
- Run
composer build
. - Push both the tag and the code.
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
- 2.3.1 : Fix embedded images in PDF generation with Docker @danielklim
- 2.3.0 : Add Docker support to ease the installation process @spawnia
- 2.2.0 : Dropped phar file distribution, removed Pake and migrated to composer commands
- 2.1.0 : Dropped PHP5 support
- 2.0.12 : Added new
Roboto
template from @ejwaibel - 2.0.10 : Updated spacing in moder template with commites from @501st-alpha1
- 2.0.9 : Updated Modern template with improved spacing. Update parsing of
--template
option to close issue #7 - 2.0.8 : New
readable
theme contributed by @ahmadnazir, minor refactor to support a /links directory - 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 - 2.0.6 : Fix empty template list from phar file to close #24
- 2.0.5 : Remove default value for the
--refresh
option to close #22 - 2.0.4 : Fix path resolution problem with absolute paths to close #16
- 2.0.3 : Add optional duration to the
--refresh
option to close #15 - 2.0.2 : Add new dependency check for
mbstring
to close #20 - 2.0.1 : Add new
swissen
template with Helvetica styling @beautifulcode - 2.0.0 : Complete rewrite with the symfony console component. Deployment is now done with a compiled phar file, and development dependencies are managed with composer.
- 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
All versions of markdown-resume with dependencies
kriswallsmith/assetic Version 1.1.2
leafo/lessphp Version v0.4.0
michelf/php-markdown Version 1.4.0
michelf/php-smartypants Version ^1.8
mustache/mustache Version 2.5.1
sunra/php-simple-html-dom-parser Version v1.5.0
symfony/config Version v2.3.4
symfony/console Version v2.3.4
symfony/yaml Version v2.3.4
twig/twig Version v1.13.2
symfony/event-dispatcher Version ^4.0@dev
leafo/scssphp Version dev-master