Add Mermaid support and .mmd detection #1893
build / build (push) Has been cancelled
build / publish (push) Has been cancelled

This commit is contained in:
ema
2026-03-27 10:45:20 +08:00
parent 20df0b2889
commit ae67d5247c
4 changed files with 81 additions and 8 deletions
@@ -35,7 +35,8 @@ public sealed class Plugin : IViewer
[
".md", ".markdown", // The most common Markdown extensions
".mdx", // MDX (Markdown + JSX), used in React ecosystems
".mmd", // MultiMarkdown (MMD), an extended version of Markdown
".mmd", // MultiMarkdown (MMD), an extended version of Markdown or Mermaid diagram source file
".mermaid", // Mermaid diagram source file
".mkd", ".mdwn", ".mdown", // Early Markdown variants, used by different parsers like Pandoc, Gitit, and Hakyll
".mdc", // A Markdown variant used by Cursor AI [Repeated format from ImageViewer]
".qmd", // Quarto Markdown, developed by RStudio for scientific computing and reproducible reports