Repository navigation
markdown-pdf-export 2.6.0
·
23 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Security
- Windows: opening the PDF (
open_after_export) no longer goes throughcmd /C start. A file
name with&(for examplea&calc&.md) could start another program. Files now open through
explorer.exe, which does not read the name as commands. Studio's link still opens as before.
Added
--no-project-settings: ignore.markdown-pdf.jsonfiles, for documents you do not trust (a
project file can set"sanitize": "none", a stylesheet or an output folder). Works with export,
--watch,doctorandstudio --file. Command line only, like--sanitize.
Changed
- Editor setup (
setupand Studio's Add to my editor) run from inside an Electron app used as
Node, such as an upcoming VS Code extension, now writes thenpx -y markdown-pdf-exportcommand
instead of that app's internal binary, which other editors cannot run.
Fixed
open_after_exportno longer crashes the command line when the system has no opener (no
xdg-openon a server); the PDF was already written.- Opening the PDF or Studio no longer passes
ELECTRON_RUN_AS_NODEto the opened app.
npm: https://www.npmjs.com/package/markdown-pdf-export/v/2.6.0