10
Does anyone know of a good Markdown to Word COnverter? It would be great if it also converts to PDF.
10
Does anyone know of a good Markdown to Word COnverter? It would be great if it also converts to PDF.
9
It seems Pandoc can convert Markdown to PDF (via LaTeX). Converting to Word should be possible by converting to ODT or RTF first.
1
Directly from Markdown to PDF would be pandoc Manual.md --latex-engine=xelatex -o Manual.pdf
. If you get pandoc: xelatex not found. xelatex is needed for pdf output.: sudo apt install texlive-xetex
3Pandoc is now capable of converting Markdown to DOCX directly. – LennySuperUser – 2012-11-29T08:28:00.447
1
It seems like there are no automatic tools to do that without having to use workaround that can result in serious glitches (ex: markdown -> odt -> docx).
I have found that generating a html, then doing a copy/paste into a word document looks surprisingly good.
1
Byword is a mac app that converts to word and PDF. It also has some great features that make writing markdown even easier.
Also if you want to style your documents - I can recommend the Marked app which allows you to apply css to your .md files and export to a range of formats.
0
Since you're asking for a Linux solution, here is one:
pandoc README.md -o README.pdf
1This program was suggested 7 years ago..... – Ramhound – 2017-04-25T17:40:23.520
0
For Mac OS there is also the free mou app which allows you to edit Markdown. Using the print function you can output the rendered document as pdf.
1I'd think it would make more sense to go through HTML as an intermediate step, because that's what Markdown is designed for. – David Z – 2010-07-24T17:01:36.950
2Pandoc is now capable of converting Markdown to DOCX directly. – LennySuperUser – 2012-11-29T08:28:18.790