It&#x27;d be nice to have it be part of the editor, but `pandoc document.md -o document.pdf` does the trick.<p><a href="http:&#x2F;&#x2F;pandoc.org&#x2F;getting-started.html" rel="nofollow">http:&#x2F;&#x2F;pandoc.org&#x2F;getting-started.html</a>