Skip to content

Add PDF export feature (fixes #153)#172

Open
letreset wants to merge 1 commit into
mohzy83:masterfrom
letreset:feature/pdf-export
Open

Add PDF export feature (fixes #153)#172
letreset wants to merge 1 commit into
mohzy83:masterfrom
letreset:feature/pdf-export

Conversation

@letreset

Copy link
Copy Markdown

Adds PDF export for the rendered Markdown preview.

  • WebView2 (Edge): Uses CoreWebView2.PrintToPdfAsync() for direct PDF save
  • IE11: Falls back to system Print dialog (Microsoft Print to PDF)

Accessible via: Plugins → MarkdownPanel → Export to PDF

Changes:

  • IWebbrowserControl: Added ExportToPdf(string filePath)
  • Webview2WebbrowserControl: PrintToPdfAsync implementation
  • IE11WebbrowserControl: ExecWB(OLECMDID_PRINT) fallback
  • MarkdownPreviewForm: SaveFileDialog + ExportToPdf()
  • MarkdownPanelController: Menu command at index 8-9

Closes #153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request of PDF export

2 participants