epub

Wrapping Code Blocks in Print

When I write, I usually export my Markdown to HTML before I create a .docx or .pdf. Most of what I write gets posted so, for me, exporting to HTML first only makes sense. If I need to create anything else, I can use Pandoc to convert from the HTML. One of the cool things about Markdown is the ability to create code blocks. Code blocks are usually fixed-width text so that a reader can tell that they are looking at information that stands out from the rest of the text. »