
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
gitbook-plugin-mermaid-fox
Advanced tools
Plugin for GitBook 3 which renders Mermaid flow from markdown. Tries to work cross platform (windows/unix)
Plugin for GitBook 3 which renders Mermaid diagrams and flow charts detected in the book markdown.
Support mermaid
version 10.6.1
so that it can cover the major features of mermaid
in latest version.
You can use install via NPM:
npm install gitbook-plugin-mermaid-fox
And use it for your book with in the book.json:
{
"plugins": ["mermaid-fox"]
}
If error occur like TypeError: cb.apply is not a function
,we can find solution at Gitbook-cli install error TypeError: cb.apply is not a function inside graceful-fs
Just put the code into fenced code block and tag it mermaid key word like this:
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```
Add zoom and SVG export feature for a better user experience.
Using following config in book.js
to enable zoom or export
"mermaid-fox":{
"zoom": true,
"download": true
}
Default config:
"mermaid-fox":{
"zoom": false,
"download": true
}
svg export
zoom in and out
FAQs
Plugin for GitBook 3 which renders Mermaid flow from markdown. Tries to work cross platform (windows/unix)
The npm package gitbook-plugin-mermaid-fox receives a total of 3 weekly downloads. As such, gitbook-plugin-mermaid-fox popularity was classified as not popular.
We found that gitbook-plugin-mermaid-fox demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.