I need an extension in intellij or vscode or some app to transform my codes into pdf.
I tried to use the app notion but it doesn't export with syntax highlighting.
CodePudding user response:
IntelliJ IDEA doesn't have settings for printing PDFs directly, but you can try the following solutions:
Use
File | Export | File or Selection to HTML
to export code to an HTML file. Open this file in a browser, and use the print feature in the browser to print a pdf.Install software that emulates printer in your system and creates PDF as output and run
File | Print
action from the IDE.