Docker Image for markdown to pdf conversion using pandoc -t html5
10K+
Default settings are for Japanese
Change directory to your project dir. Then you can convert by the following command.
docker run --rm -it -v$(PWD):/work yasuyuky/md2pdf conv taraget.md
It takes options via docker -e like this.
docker run --rm -it -v$(PWD):/work -e LANG=en_US.UTF-8 -e lang=en yasuyuky/md2pdf conv taraget.md
docker run --rm -it -v$(PWD):/work -e math=--mathjax yasuyuky/md2pdf conv taraget.md
docker run --rm -it -v$(PWD):/work -e css=./my.css yasuyuky/md2pdf conv taraget.md
See assets/conv.sh for more options.
MIT
Content type
Image
Digest
Size
314 MB
Last updated
over 9 years ago
docker pull yasuyuky/md2pdf