Relative Content

Tag Archive for visual-studio-codepdfmarkdown

How to keep PDF export from Markdown consistent with the preview in VS Code?

I am trying to export a PDF file from a Markdown document in VS Code. In VS Code’s preview pane I get a certain formatting (which I find desirable for my current task). However, when I export to PDF using the Markdown PDF extension, the resulting PDF looks slightly different than the preview. More importantly, it does not format mathematical expressions, and the raw math code is printed instead. (E.g. “$E = mc^2$” is printed instead of alt text .)