From dfb15901f4b2160dae5e23c36dab70d22ceedb21 Mon Sep 17 00:00:00 2001 From: "Garen J. Torikian" Date: Mon, 15 May 2023 09:25:51 -0400 Subject: [PATCH] Make the doc change in the right place This is due to the sloppy fact that there are two copies of every doc page in the repo. --- docs/config/usage.md | 2 +- packages/mermaid/src/docs/config/usage.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config/usage.md b/docs/config/usage.md index 8d48c1246..0ab60012f 100644 --- a/docs/config/usage.md +++ b/docs/config/usage.md @@ -228,7 +228,7 @@ mermaid fully supports webpack. Here is a [working demo](https://github.com/merm The main idea of the API is to be able to call a render function with the graph definition as a string. The render function 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. -The example below shows an example 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