Skip to content

tool for rendering markdown as html for hosting as a webpage or printing to pdf

Notifications You must be signed in to change notification settings

garrettsparks/render_github_markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

render_github_markdown

tool for rendering markdown as html for hosting as a webpage or printing to pdf

utilizes the github markdown API for markdown to html conversion

usage

  -format-for string
        will the rendered markdown be used for web or pdf? (default "web")
  -in string
        path to an input markdown file (default "REQUIRED")
  -out string
        path to an output html file (default is the name of the source file with the extension .html)
  -title string
        title for the generated html doc (default is the name of "in" without the extension)

examples

$ ./render_github_markdown --in README.md

outputs README.html like this

$ ./render_github_markdown --in README.md --out PDF_README.html --title "PDF ReadMe" --format-for pdf

outputs PDF_README.html like this which is slightly better formatted for converting to PDF

About

tool for rendering markdown as html for hosting as a webpage or printing to pdf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages