Skip to content

Commit c2db5d1

Browse files
committed
Fix figure shortcode rendering failed in a note of diagram-guide
1 parent 99d7743 commit c2db5d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/contribute/style/diagram-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ the `.svg` image file and add a caption.
325325
For more details on diagram captions, see [How to use captions](#how-to-use-captions).
326326

327327
{{< note >}}
328-
The `{{</* figure */>}}` shortcode is the preferred method for adding `.svg` image files
328+
The figure shortcode is the preferred method for adding `.svg` image files
329329
to your documentation. You can also use the standard markdown image syntax like so:
330330
`![my boxnet diagram](static/images/boxnet.svg)`.
331331
And you will need to add a caption below the diagram.
@@ -658,7 +658,7 @@ You should pass the `src`, `alt`, `class` and `caption` values into the
658658
`diagram-large`, `diagram-medium` and `diagram-small` classes.
659659

660660
{{< note >}}
661-
Diagrams created using the `Inline` method don't use the `{{</* figure */>}}`
661+
Diagrams created using the `Inline` method don't use the figure
662662
shortcode. The Mermaid code defines how the diagram will render on your page.
663663
{{< /note >}}
664664

0 commit comments

Comments
 (0)