Skip to content

mineshpatel1/md_to_html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

md_to_html

Markdown to HTML converter using Pandoc and a customised HTML template. This is a wrapper for Pandoc which is already highly feature rich, just allowing some customisations and syntax changes for personal use. Documents created with this are standalone HTML files with images embedded, but are required to be online for the following:

  • Fonts (default to Helvetica/Arial)
  • JQuery, for content navigation and animation
  • MathJax, for rendering equations

Requirements

Usage

md_to_html sample/sample.md

Will create an output file sample.html in the same directory as sample.md. Please see:

  • sample/sample.md for help with markdown syntax and examples
  • sample/sample.html for an example of output

Optional Arguments

  • -o, --output: Specify an output filename, must have a .html extension.
  • -c, --contents: Dynamically creates a content navigation pane based on the headers.
  • -n, numbered: Numbers all of the headings based on their hierarchy.
  • -h, --help: Brings up the help text

About

Markdown to HTML converter using Pandoc and a customised HTML template.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published