From c10ccc011fd2229b8b12b6367c1a6d3efb7aa442 Mon Sep 17 00:00:00 2001 From: James Davis Date: Thu, 12 Dec 2019 07:47:36 -0500 Subject: [PATCH 1/2] Removed reference to mermaidAPI.js --- docs/usage.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index 2b556d216..f58fe03f0 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -159,14 +159,13 @@ The main idea of the API is to be able to call a render function with the graph will render the graph and call a callback with the resulting svg code. With this approach it is up to the site creator to fetch the graph definition from the site (perhaps from a textarea), render it and place the graph somewhere in the site. -To do this, include mermaidAPI on your web website instead of mermaid.js. The example below show an outline of how this -could be used. The example just logs the resulting svg to the javascript console. +The example below show an outline of how this could be used. The example just logs the resulting svg to the javascript console. ```html - + ``` From 1d0b305332560ce661e6e3e3c14b6a063448e491 Mon Sep 17 00:00:00 2001 From: James Davis Date: Thu, 12 Dec 2019 22:25:07 -0500 Subject: [PATCH 2/2] Readded call to mermaidAPI in docs --- docs/usage.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index f58fe03f0..1e50060da 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -165,7 +165,7 @@ The example below show an outline of how this could be used. The example just lo ```