JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28
  • Score
    100M100P100Q47434F
  • License BSD

Turn a simple markdown document into a resume in HTML and PDF

Package Exports

  • markdown-resume

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (markdown-resume) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

markdown-resume.js

Turn a simple markdown document into a resume in HTML and PDF.

This module borrows heavily from the PHP script markdown-resume.

Features

  • PDF generation via wkhtmltopdf
  • Responsive design for multiple device viewport sizes
  • Simple Markdown formatting

Quickstart

The generated files will be put in the same directory as your source file.

# For usage on the command line
npm install -g markdown-resume

# Generate HTML file
md2resume my-resume-file.md

# Generate PDF file
md2resume --pdf my-resume-file.md

Use as a node module

var md2resume = require('markdown-resume')

# Generate HTML
md2resume.generate('my-resume-file.md', function(err, out) {
    # ... do something with 'out'
});

# Same as a above
md2resume.generate('my-resume-file.md', { format: 'html' }, function(err, out) { ... });

# Generate PDF
md2resume.generate('my-resume-file.md', { format: 'pdf' }, function(err, pdf) {
    # ... do something with pdf
});

Acknowledgments

As above, this library steals pretty much everything from markdown-resume.