
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
@silva1991/vuepress-plugin-mermaidjs
Advanced tools
A Vuepress plugin providing easy MermaidJS diagramming
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.
VuePress 2 Support is currently in beta testing, see below.
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'
]
// ...
}
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
```
You can use this plugin with the upcoming (next
) release of VuePress
aka VuePress 2. To do so, use version 2.0.0-beta.1
or above.
FAQs
A Vuepress plugin providing easy MermaidJS diagramming
We found that @silva1991/vuepress-plugin-mermaidjs demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.