MarkdownEditorPdfExportCallback typedef

MarkdownEditorPdfExportCallback = FutureOr<void> Function(String markdown, String html)

Called when the editor requests a Scratch-style PDF/print export.

The callback receives the Markdown source and a simple HTML rendering so host apps can route the request to a platform print/PDF implementation.

Implementation

typedef MarkdownEditorPdfExportCallback = FutureOr<void> Function(
  String markdown,
  String html,
);