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>
49 lines
1 KiB
YAML
49 lines
1 KiB
YAML
name: ocideck
|
|
description: "Marp Presentation Builder for Desktop"
|
|
publish_to: 'none'
|
|
version: 1.0.0+1
|
|
|
|
environment:
|
|
sdk: ^3.12.0
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
cupertino_icons: ^1.0.8
|
|
flutter_riverpod: ^3.3.1
|
|
file_picker: ^11.0.2
|
|
path_provider: ^2.1.5
|
|
path: ^1.9.1
|
|
uuid: ^4.5.1
|
|
window_manager: ^0.5.1
|
|
shared_preferences: ^2.3.3
|
|
pasteboard: ^0.5.0
|
|
pdf: ^3.12.0
|
|
archive: ^4.0.9
|
|
video_player: ^2.11.1
|
|
characters: ^1.3.0
|
|
url_launcher: ^6.3.0
|
|
desktop_drop: ^0.7.1
|
|
image: ^4.8.0
|
|
flutter_highlight: ^0.7.0
|
|
flutter_math_fork: ^0.7.4
|
|
highlight: ^0.7.0
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|
|
xml: ^6.6.1
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
assets:
|
|
- assets/images/de-winter-wittegeheel.png
|
|
- assets/themes/ocideck.css
|
|
- assets/web_export/
|
|
fonts:
|
|
- family: EB Garamond
|
|
fonts:
|
|
- asset: assets/fonts/EBGaramond-Variable.ttf
|
|
- asset: assets/fonts/EBGaramond-Italic-Variable.ttf
|
|
style: italic
|