/mermaid-live-editor

Edit, preview and share mermaid charts/diagrams. New implementation of the live editor.

Primary LanguageSvelteMIT LicenseMIT

Join our Slack!

Contributors are welcome

If you want to speed up the progress for mermaid-live-editor, join the slack channel and contact knsv.

mermaid-live-editor

Edit, preview and share mermaid charts/diagrams.

Features

  • Edit and preview flowcharts, sequence diagrams, gantt diagrams in real time.
  • Save the result as a svg
  • Get a link to a viewer of the diagram so that you can share it with others.
  • Get a link to edit the diagram so that someone else can tweak it and send a new link back

Live demo

You can try out a live version here.

Setup

This project is set up using Yarn:

yarn install

or in develop branch to use the beta version of mermaid use

yarn install --update-checksums

This together with a .npmrc file:

registry=https://registry.npmjs.com/
@mermaid-js:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken="XXXXXXXXX"

Development

yarn dev
open http://localhost:8080

This app is created with Svelte + svelte-spa-router.

Release

yarn release