Skip to content

docs: mermaid.js in the preview becomes an open option, and the public pages name Mermaid - #20

Merged
ewiger merged 1 commit into
mainfrom
docs/mermaid-js-preview-option
Nov 30, 2026
Merged

ewiger merged 1 commit into
mainfrom
docs/mermaid-js-preview-option

Conversation

@ewiger

@ewiger ewiger commented Nov 30, 2026

Copy link
Copy Markdown
Owner

What

  • The record on the Mermaid renderer has its rationale corrected. A webview is a browser, so mermaid.js can draw in the preview with no other program, and two arguments against it were overstated. The rule of one renderer is now stated as a preference, and the cost in fidelity is recorded beside the cost in size. The specification is unchanged, and merman-cli stays the accepted renderer.
  • A new board card, in todo: draw Mermaid with mermaid.js in the preview, as an option. It lists what to build, what to measure, and the questions to answer first. If the library draws every gallery diagram as fast as merman-cli, it becomes the default and merman-cli becomes the fallback. merman-cli stays in the toolchain, in the extension's build, and in the site build either way.
  • The extension's tracker gets the Open row, and the generated board and open-work views are re-rendered.
  • The cover, the roadmap, and the extension's page say Mermaid beside D2.

Checks

  • hmd lint from doc/: clean.
  • pytest tests: 110 passed.

No code changes.

…c pages name Mermaid

The record on the Mermaid renderer rejected mermaid.js in the preview on two
overstated arguments. A webview is a browser, so the library can draw there
with no other program. The rationale is corrected, the rule of one renderer is
stated as a preference, and the cost in fidelity is recorded. The
specification is unchanged, and merman-cli stays the accepted renderer.

A new board card and an Open row in the extension's tracker carry the work:
ship mermaid.js as an option, measure it, and make it the default with
merman-cli as the fallback if it draws every gallery diagram as fast.

The cover, the roadmap, and the extension's page say Mermaid beside D2.
@ewiger
ewiger merged commit 810ffc3 into main Nov 30, 2026
15 checks passed
@ewiger
ewiger deleted the docs/mermaid-js-preview-option branch November 30, 2026 00:43
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