Ocideck/test
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
..
bullets_image_preview_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
caption_service_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
deck_provider_test.dart Add Ctrl/Cmd+O open shortcut and bulk copy-slides-to-another-deck 2026-06-03 21:56:51 +02:00
description_service_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
editor_selection_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
export_dialog_test.dart Bundle EB Garamond font and add PDF export options 2026-06-03 15:03:27 +02:00
export_service_test.dart Add self-contained Marp HTML export 2026-06-04 01:37:46 +02:00
file_service_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
footer_preview_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
free_markdown_preview_test.dart Render fenced code (syntax highlight) and LaTeX math in free Markdown 2026-06-04 00:59:14 +02:00
fullscreen_presenter_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
image_service_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
image_slides_preview_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
inline_markdown_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
markdown_round_trip_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
markdown_service_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
marp_html_service_test.dart Add self-contained Marp HTML export 2026-06-04 01:37:46 +02:00
package_export_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
recovery_service_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
settings_provider_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
slide_media_gating_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
slide_text_style_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
tlp_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00
widget_test.dart Initial commit: OciDeck Marp presentation builder 2026-06-02 23:28:39 +02:00