Repository navigation
Releases
Markdown to Copyable PDF v2.3.1
Install it from the Visual Studio Marketplace (search for Markdown to Copyable PDF in VS Code), or with: code --install-extension copyable-pdf-2.3.1.vsix
The file is signed. Check it with: gh attestation verify copyable-pdf-2.3.1.vsix --repo Idris1980/copyable-pdf
v2.3.0
Code blocks with lines that cannot be split, for example YAML or JSON, are printed in a smaller font so the lines can still be copied. New settings copyablePdf.shrinkLongLines and copyablePdf.minCodeFontSize. Better advice for long lines in languages without a continuation character.
v2.2.1
2.2.0
First public release of Markdown to Copyable PDF, a VS Code extension that turns Markdown into an A4 PDF where every code line can be copied in full.
Features
- Long commands are split automatically in the PDF with the right continuation character (
`PowerShell,\Bash,^cmd). The Markdown file is not changed. - Command output in blocks with
PS>or$prompts is left alone. - Blue, yellow and red markers while typing, and a quick fix (
Ctrl+.) to split lines in the file. - Verification afterwards that every code line can be copied from the PDF.
- Footer with title and page numbers, offline Mermaid diagrams,
<!-- pagebreak -->. - Works with Edge, Chrome, Chromium or Brave. Tested on Windows, macOS and Linux not yet tested.
Install
Download copyable-pdf-2.2.0.vsix below, then run:
code --install-extension copyable-pdf-2.2.0.vsix
or use Extensions → … → Install from VSIX... in VS Code.