I use pandoc:
pandoc input.md -o out.pdf
It can use LaTeX or pdfroff for the PDF generation as well as some other backends that I haven't tried yet. The --pdf-engine
flag lets you choose between them.
F-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The client makes it easy to browse, install, and keep track of updates on your device.
Matrix space | forum | IRC
I use pandoc:
pandoc input.md -o out.pdf
It can use LaTeX or pdfroff for the PDF generation as well as some other backends that I haven't tried yet. The --pdf-engine
flag lets you choose between them.
Oh, so there are some available engines on Termux? I had tried just what you did and not specifying the engine would result in an error of missing pdflatex
, could you give me the whole command please? Or the packages I need to install first
I must admit that I didn't realize that we were on c/F-Droid :) But I just gave it a go in termux and got it working there too:
apt install pandoc groff ghostscript
pandoc in.md -o out.pdf --pdf-engine=pdfroff
Pandoc is awesome. Highly recommend. Since it can also do numerous other conversions.
I have Markor installed solely for this job
That works wonderfully, thank you so much!
This was driving me insane, I had even tried pandoc but kept getting the error of missing pdflatex
Interesting, I always head over to my desktop to export to PDF. That's nice to know there's an android option.
Joplin
Does Quillpad not have that ability?
Obsidian can export to PDF from the desktop version, but I'm not seeing it on Android at least.
Honorable mention goes to Notesnook. It's not actually markdown, but has formatting shortcuts that work like md in the app. It can export to PDF.
I haven't switched to Quillpad because I didn't see any remarkable changes from the original Quillnote, it seems like development has stalled over there too, unfortunately.
I have tried it out now, though and, as far as I can tell, the Export option is still just to make a zip of a JSON file with the text inside, no PDF to be seen.