4 ms·
I have the same thing as dirty Python script[1]. Handy to send notes or reports to clients as "nice" PDF. One could customize it to support additional markdown
by m3nu 8y ago
I have the same thing as dirty Python script[1]. Handy to send notes or reports to clients as "nice" PDF.
One could customize it to support additional markdown features, like footnotes, tables. To run:
$ md2pdf some-markdown.md # gives some-markdown.pdf
You can also pass a CSS sheet with some custom fonts and colors. (sample included with GIST)
$ export MD2PDF_CSS=style.css md2pdf myfile.md
1: https://gist.github.com/m3nu/616c0d59246d0554ed599daeec44e646#file-md2pdf-py https://gist.github.com/m3nu/616c0d59246d0554ed599daeec44e64...
- tverrbjelke 8y agoI also prefer local solutions, try e.g. aptitude show python-markdown It might feel cool just maximize use of your browser, but I shy from putting this kind of (possibly confidential) content via internet based solutions/services.