vitepress
vitepress copied to clipboard
feat: support mermaid
It would be nice to support mermaid in markdown files. The idea is based on this issue.
You can add diagrams to your markdown file as follows.
::: mermaid
sequenceDiagram
User->>Server: Request page
:::
Try implementing this on vite-3 branch for now. ESM SSR is supported there.
@brc-dd Thanks for the review! I rebased the branch and it seems to be working fine.
Cool. We'll get back to this once the Vite 3 PR is merged. It'll take some time as there is a lot of stuff there.