news and infos about microsoft, technology, cloud and more

Convert a Markdown document to PDF easily

I am a big fan of the lightweight and super useful Visual Studio Code editor. Recently, I discovered another cool extension for creating PDF, HTML, PNG, and JPEG files from a Markdown document.

Simply install the Markdown PDF extension by yzane.markdown-pdf. This cool extension exports a .md file to a PDF file as shown here.


You can even with configure AutoSave by adding the "markdown-pdf.convertOnSave": true option to settings.json and restart Visual Studio Code. Then, when saving, the file gets converted automatically. That's useful especially for documentation. Also, there are much more extensions to discover...

Hope, this quick tip helps for automating.