Skip to content

Commit

Permalink
Merge pull request #4396 from gjtorikian/patch-2
Browse files Browse the repository at this point in the history
Fix a typo
  • Loading branch information
sidharthv96 committed Jul 25, 2023
2 parents 9ea4b13 + dfb1590 commit 509a580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mermaid/src/docs/config/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,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 show an outline of how this could be used. The example just logs the resulting SVG to the JavaScript console.
The example below shows an example 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 509a580

Please sign in to comment.