get basic svg test working

This commit is contained in:
Travis Shears 2026-03-20 10:46:43 +01:00
parent 7cce883993
commit 48040a4f56
Signed by: travisshears
GPG key ID: CB9BF1910F3F7469
2 changed files with 65 additions and 1 deletions

View file

@ -1 +1,9 @@
console.log("Hello via Bun!");
import { renderMermaidSVG } from "beautiful-mermaid";
const svg = renderMermaidSVG(`
graph TD
A[Start] --> B{Decision}
B -->|Yes| C[Action]
B -->|No| D[End]
`);
console.log(svg);