Description pandoc -s -o output.html input.txt Formoreinformationonhowstandalonedocumentsareproduced,seeTemplatesbelow. ... Scribus, and many others, or you can just convert to Epub using Pandoc. Note: By default, Pandoc uses LaTeX to generate PDF documents. I'm having an issue where images included from markdown aren't sized appropriately; they appear to all be pinned to 1.67" square. I've been banging my head on this one for a few hours, and I'm sure the solution is quite simple, or non-existent. This comment has been minimized. After installing Pandoc, you can simply run it from command line. pandoc -s-V css =style-epub.css document.md document.epub pandoc -s -V css =style-html.css document.md document.html My opinion is that it is easy to overlook these variables from the command line, especially when you need to set tens of these (which can happen in complex documents). However, the docx is generated without any css impact. This is easily reproducible: $ pandoc -t docx -o test.docx ! The css files are referred to in the html document, and I have also tried including the css elements in the style tag in the html document. Please help to solve … When I convert HTML table to docx using pandoc (ver 1.18), I would like to change the table style for MS-word(docx). The pandoc.css file contains styles , When I use the doc format as output file instead of docx , css is applying but with DOCX it is not working. I'm trying to convert an html file to docx! If you know a little bit of CSS, you can easily style your Epub by providing a stylesheet when running Pandoc: With Pandoc you can convert Markdown documents to PDF, HTML, Words DOCX or many other formats. press F1 on Windows (shift+cmd+P on Mac), type pandoc, press Enter Or - press the key chord ctrl+K then P ( cmd+K then P on Mac) Then choose from the list what document type you want to render and press enter (you can also type in the box rather than cursor around). So, if you want to generate PDF documents, you need to install a LaTex processor first (list of required LaTeX packages). Convert documents with Pandoc like a pro ... $ pandoc ~ / Documents / example.docx --output ~ / public_html / example.html.