Merge pull request #34672 from chrismetz09/patch-8
Fix error with mermaid shortcode mentioned in note tag
This commit is contained in:
@@ -242,7 +242,7 @@ Figure 17. A to B
|
|||||||
more text
|
more text
|
||||||
```
|
```
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
You must include the `{{</* mermaid */>}}`, `{{</* /mermaid */>}}` shortcode
|
You must include the Hugo Mermaid shortcode
|
||||||
tags at the start and end of the Mermaid code block. You should add a diagram
|
tags at the start and end of the Mermaid code block. You should add a diagram
|
||||||
caption below the diagram.
|
caption below the diagram.
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
@@ -429,7 +429,7 @@ Don't forget to check that your diagram renders correctly using the
|
|||||||
This section shows several examples of Mermaid diagrams.
|
This section shows several examples of Mermaid diagrams.
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
The code block examples omit the Hugo `{{</* mermaid */>}}`, `{{</* /mermaid */>}}`
|
The code block examples omit the Hugo Mermaid
|
||||||
shortcode tags. This allows you to copy the code block into the live editor
|
shortcode tags. This allows you to copy the code block into the live editor
|
||||||
to experiment on your own.
|
to experiment on your own.
|
||||||
Note that the live editor doesn't recognize Hugo shortcodes.
|
Note that the live editor doesn't recognize Hugo shortcodes.
|
||||||
|
|||||||
Reference in New Issue
Block a user