docusaurus-plugin-drawio

> support to use draw.io in your website

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
docusaurus-plugin-drawio
900.1.76 months ago7 months agoMinified + gzip package size for docusaurus-plugin-drawio in KB

Readme

docusaurus-plugin-drawio
support to use draw.io in your website

GitHub Workflow Status (branch) npm npm GitHub top language GitHub

Install

npm i docusaurus-plugin-drawio

Add plugin

plugins: [
  ['drawio', {}],
],

Quick Start

in foo.mdx file
import Drawio from '@theme/Drawio'
import simpleGraph from '!!raw-loader!./drawio-graph/simple.drawio';

<Drawio content={simpleGraph} />

you can edit drawio with https://app.diagrams.net/ or vscode plugin

Docs

https://xiguaxigua.com/docusaurus-plugin-drawio

License

MIT