v3.0.0 β€” a mermaid fence is a diagram, not a guess

| 2 min read

A ```` ```mermaid ```` fence came out of the build as syntax-highlighted CSS. highlight.js has no mermaid grammar, so the fence fell through to auto-detection, which took `graph TD; A-->B;` for selectors and wrapped the diagram source in `hljs-selector-tag` spans. Mermaid could still read it β€” `textContent` drops the spans β€” but only if you told it to look at `code.language-mermaid`, and the page flashed the wrongly-coloured source first.

Added

Changed

Poops ships no mermaid and injects no script, so a page with no diagram carries no library, and a diagram on a page that never loads one shows its source as readable text. The trade against the code-fence story is real and stated in the README: highlighting happens at build time to avoid layout shift, and a browser-rendered diagram pops in after paint.


Changelog Docs
πŸ’©πŸ’©πŸ’©πŸ’©
This static site was generated using Poops and serves as an example.