markdown_to_pdf
A CLI tool to convert a markdown to a pdf file.
install
yarn global add markdown_to_pdf
usage
run markdown_to_pdf test.md --css style.css -o test.pdf
options
key | description |
---|---|
--html | generate a html for css debug usage |
--css | css file |
--spacing | add space between letter and Chinese character |
--lint | lint markdown file |
-o | target |
-h,--help | Print this message. |
-v,--version | Print the version |