1.5.0 • Published 1 year ago

markdown-it-drawio-viewer v1.5.0

Weekly downloads
88
License
MIT
Repository
github
Last release
1 year ago

markdown-it-drawio-viewer

Install

npm install --save markdown-it-drawio-viewer

Usage

  const md = require('markdown-it')()
    .use(require('markdown-it-drawio-viewer'), opts)

Important

  • Make sure to include A somewhere in the HTML
<script type="text/javascript" src="//www.draw.io/js/viewer.min.js"></script>

//www.draw.io/js/viewer.min.js can be any URL as long as it is drawio's viewer.min.js

The opts object can contain:

NameDescriptionDefault
markermarker of blockdiag block`

Runkit Example

Use demo.html

  • Use oneliner HTTP server on Project root directory.
$ npx http-server
or
$ npm install -D http-server
$ ./node_modules/.bin/http-server
1.5.0

1 year ago

1.4.0

2 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago