MCPcopy Index your code
hub / github.com/eFrane/vuepress-plugin-mermaidjs

github.com/eFrane/vuepress-plugin-mermaidjs @v1.9.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.9.1 ↗ · + Follow
9 symbols 10 edges 8 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

npm version Build Status

VuePress Plugin for mermaid.js

Use mermaid.js Diagrams in VuePress

This VuePress plugin provides a global component wrapping mermaid.js. The plugin is designed to work with VuePress v1.x.

Main documentation site is at vuepress-plugin-mermaidjs.efrane.com.

Installation

You can install it with

yarn add -D vuepress-plugin-mermaidjs

or

npm install --save-dev vuepress-plugin-mermaidjs

Then you just need to register the plugin in your .vuepress/config.js:

module.exports = {
    // ...
    plugins: [
        'vuepress-plugin-mermaidjs'
    ]
    // ...
}

Usage

The recommended usage is to place your mermaidjs diagrams inside a fenced code block with the language 'mermaid':

```mermaid
sequenceDiagram
Alice->John: Hello John, how are you?
loop every minute
    John-->Alice: Great!
end
```

Core symbols most depended-on inside this repo

default
called by 0
src/mermaid.js
data
called by 0
src/mermaid.js
graphData
called by 0
src/mermaid.js
render
called by 0
src/mermaid.js
mounted
called by 0
src/mermaid.js
extendMarkdown
called by 0
src/index.js
defaultValidate
called by 0
src/markdownItFence.js
defaultRender
called by 0
src/markdownItFence.js

Shape

Function 9

Languages

TypeScript100%

Modules by API surface

src/mermaid.js5 symbols
src/markdownItFence.js3 symbols
src/index.js1 symbols

For agents

$ claude mcp add vuepress-plugin-mermaidjs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page