Skip to content

dinhtrung/mermaid-live-editor

 
 

Repository files navigation

Join our Slack!

Contributors are welome

If you want to speed up the progress for mermaid-cli, 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

Setup

Setup is simple.

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:1234

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

Release

yarn release

About

New implementation of the live editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 57.2%
  • JavaScript 40.7%
  • Dockerfile 1.5%
  • Shell 0.6%