feat: add mermaid preset (#46)

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:44:33 -05:00 committed by GitHub
parent 23aa8acc55
commit 31dcf9c91f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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
];
};
});