feat: add mermaid preset

Problem: no built-in support for compiling mermaid diagrams via `mmdc`.

Solution: add a `mermaid` preset that compiles `.mmd` files to SVG and
parses `Parse error on line N` diagnostics from stderr. Add
`mermaid-cli` to the nix dev shell.
This commit is contained in:
Barrett Ruth 2026-03-05 10:43:08 -05:00
parent 23aa8acc55
commit 28dda6515e
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
2 changed files with 32 additions and 0 deletions

View file

@ -33,6 +33,7 @@
pkgs.selene
pkgs.lua-language-server
pkgs.plantuml
pkgs.mermaid-cli
];
};
});