Skip to content

feat(superdeck)!: render Mermaid diagrams at runtime#104

Merged
leoafarias merged 1 commit into
mainfrom
feat/improve-mermaid
Jul 23, 2026
Merged

feat(superdeck)!: render Mermaid diagrams at runtime#104
leoafarias merged 1 commit into
mainfrom
feat/improve-mermaid

Conversation

@leoafarias

@leoafarias leoafarias commented Jul 23, 2026

Copy link
Copy Markdown
Member

Summary

  • Render supported Mermaid fences directly in SuperDeck with flutter_mermaid,
    transparent backgrounds, light/dark theme support, and inline errors.
  • Cover flowchart, sequence, pie, Gantt, timeline, Kanban, radar, and XY
    diagrams at compact and presentation resolutions.
  • Remove superdeck_mermaid, Puppeteer, vendored JavaScript, generated PNGs,
    cache logic, obsolete CI coverage, and plugin setup documentation.

Breaking change

superdeck_mermaid, MermaidBuildPlugin, MermaidGenerator, browser
configuration, generated Mermaid assets, and the Mermaid PNG cache workflow are
removed in favor of runtime rendering without plugin registration or a custom
CLI runner.

Validation

  • fvm dart run melos run build_runner:build --no-select
  • fvm dart run melos run analyze:dart --no-select
  • fvm dart run melos run test --no-select
  • cd packages/superdeck && fvm dart analyze --fatal-infos
  • cd packages/superdeck && fvm flutter test --exclude-tags ci-excluded
  • macOS integration screenshot test for the runtime Mermaid slide

Replace the browser-backed Mermaid plugin and generated PNG workflow with flutter_mermaid rendering inside SuperDeck.

BREAKING CHANGE: removes superdeck_mermaid, its build plugin API, browser configuration, generated assets, and Mermaid PNG cache workflow.
@leoafarias
leoafarias merged commit f0fd2fa into main Jul 23, 2026
5 checks passed
@leoafarias
leoafarias deleted the feat/improve-mermaid branch July 23, 2026 04:25
@github-actions

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit e781d46):

https://superdeck-dev--pr104-feat-improve-mermaid-0iqesaz5.web.app

(expires Sat, 22 Aug 2026 04:27:59 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bd68fc230762285849207e7e120aaf87cd4ca2f9

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.

1 participant