Local markdown rendering in browser using GitHub-flavored markdown styling.
go install github.com/ml8/mdr@latestFor PDFs you need pandoc and pdflatex.
# serve a markdown file with live reload
mdr README.md
# custom port (default 8080)
mdr -port 9090 README.md
# serve and automatically generate PDF on changes
mdr -pdf README.md
# render to STDOUT and exit
mdr -oneshot README.md
# generate PDF and exit
mdr -oneshot -pdf README.md
# View help
mdr -h