Just as OrchidSyntaxHighlighter (and soon OrchidBible) supports options for both prerendered and browser-rendered processing, OrchidDiagrams should too. PlantUML may be used for prerendered diagrams, while a Mermaid Component could add the scripts needed to render diagrams on the client. It should select diagrams from standard Markdown code blocks with a language of mermaid by default, but that selector should be configurable.
Just as OrchidSyntaxHighlighter (and soon OrchidBible) supports options for both prerendered and browser-rendered processing, OrchidDiagrams should too. PlantUML may be used for prerendered diagrams, while a Mermaid Component could add the scripts needed to render diagrams on the client. It should select diagrams from standard Markdown code blocks with a language of
mermaid
by default, but that selector should be configurable.