Skip to content

Commit

Permalink
Make the doc change in the right place
Browse files Browse the repository at this point in the history
This is due to the sloppy fact that there are two copies of every doc
page in the repo.
  • Loading branch information
gjtorikian committed May 15, 2023
1 parent c9da36d commit 7d01f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/config/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<script type="module">
Expand Down

0 comments on commit 7d01f55

Please sign in to comment.