This repo demonstrates how to integrate mermaid to your site using the API Get started Run yarnor npm install to install the project dependencies Run yarn dev or npm run dev to start a development server for this small example. The interesting code is in src/js/index.html.