Skip to content

0.10.0

Latest

Choose a tag to compare

@pa1ar pa1ar released this 09 Oct 11:26

Craft now has a direct command for native Mermaid diagrams:

craft blocks mermaid PAGE_ID --file diagram.mmd
craft blocks mermaid PAGE_ID --code "flowchart LR; Visitor --> App; App --> Database"
cat diagram.mmd | craft blocks mermaid PAGE_ID -

Craft renders the inserted code block as a diagram inside the document. The command supports explicit page/daily targets, placement, dry-run, JSON output and mutation undo. Help, which, agent context and the bundled skill include rendering guidance and the exact structured payload.

Verified with a real Craft insert/readback, 233 passing tests, build and typecheck. 28 credential-gated tests were skipped.