Skip to content

markdown-pdf-export 2.7.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 19:36
· 21 commits to main since this release
Immutable release. Only release title and notes can be modified.
v2.7.0
72e353e

Added

  • --json on export: prints the result as JSON (PDF path, settings files used, raw HTML removed,
    diagrams left as code) instead of the PDF path, for scripts and editors.
  • studio --embedded, for an editor extension that shows Studio in its own panel. A preview
    request can then name the document to draw and carry its unsaved text; the page draws again on
    a studio:refresh event and hands each PDF to window.studioHost.showPdf when the panel
    provides one. See Studio inside an editor.
  • Every Studio preview answer has an X-Preview-Report header with the raw HTML removed and the
    diagrams left as code.

Changed

  • Studio's page script imports its model with a relative path, so the page can be bundled.

npm: https://www.npmjs.com/package/markdown-pdf-export/v/2.7.0