From 6f6f5738fa4b77e175707b03cfd58534c9fcf357 Mon Sep 17 00:00:00 2001 From: Neil Cuzon <58763315+NeilCuzon@users.noreply.github.com> Date: Fri, 24 Jul 2020 22:51:13 -0700 Subject: [PATCH] Update usage.md --- docs/usage.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index 3e29eabe3..58e5862c4 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -53,8 +53,8 @@ locate the graphs on the page and transform them to svg files. ``` -Further down on your page mermaid will look for tags with `class="mermaid"`. From these tags mermaid will try to -read the chart definiton and replace it with the svg chart. +Further down on your page mermaid will look for `div` tags with `class="mermaid"`. From these tags mermaid will try to +read the chart definiton and render it as an svg chart. ### Define a chart like thi: @@ -142,7 +142,7 @@ If your application is taking resposibility for the diagram source security you ``` -### Labels out of bounds +## Labels out of bounds If you use dynamically loaded fonts that are loaded through CSS, such as Google fonts, mermaid should wait for the whole page to load (dom + assets, particularly the fonts file).