Skip to content

thavanle/mermaid-live-editor

 
 

Repository files navigation

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

  • JavaScript 51.3%
  • HTML 46.8%
  • Dockerfile 1.9%