News for hackers. Stuff that matters.
Re:Convert Markdown to PDF only using browser by m3nu on Tuesday March 26, 2019 @12:02AM (#19489211)
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/616c0d59246d0554ed599daeec44e64...

Re:Convert Markdown to PDF only using browser by tverrbjelke on Tuesday March 26, 2019 @05:20AM (#19490255)
I 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.