Ocideck/lib/widgets/dialogs
Brenno de Winter 3e664193ce Add self-contained Marp HTML export
New export target: a single offline .html rendered from the deck's Marp
Markdown. Bundles (inlines) marked, highlight.js, MathJax (tex-svg, no font
files) and mermaid, so code highlighting, LaTeX math and mermaid diagrams all
render in any browser with no network access.

- MarpHtmlService splits the deck on `---`, strips front-matter, and inlines
  the vendored libraries (assets/web_export/) with a </script> breakout guard.
  The asset loader is injectable for testing.
- ExportFormat.html wired through ExportService (no rasterization needed),
  the export dialog (new button, skips slide rendering) and app_shell
  (passes the generated Markdown). Export dialog is now scrollable.

Note: rendered with marked, not Marp Core, so theme fidelity differs from the
in-app preview / PDF / PPTX; the win is a portable, dependency-free deck.

Tests: slide splitting, library inlining, breakout escaping, and an
end-to-end .html export.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-04 01:37:46 +02:00
..
add_slide_dialog.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
export_dialog.dart Add self-contained Marp HTML export 2026-06-04 01:37:46 +02:00
find_replace_dialog.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
image_carousel_picker.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
import_slides_dialog.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
new_deck_dialog.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
open_presentation_dialog.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
presentation_info_dialog.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
settings_dialog.dart Bundle EB Garamond font and add PDF export options 2026-06-03 15:03:27 +02:00
slide_finder_dialog.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00