:warning: If you are using Firefox: Have a look at the known issues here
This extension can be used to convert your code into a PDF File like it works with IntelliJ. It works with single code files as well as with whole Directories. It uses puppeteer-core under the hood so you need Firefox or Chrome installed.
Convert whole directories or single files of code into PDFs.
Syntax Highlighting thanks to Prism.js for every major language.
easy to use via commands or the explorer context menu.
This extension contributes the following settings:
opens a browser window with the html which will be converted to pdf