#452: Put double comments on shortcodes

This commit is contained in:
Alex Shpak 2022-11-02 23:09:01 +01:00
parent 6090fddebd
commit 6e1b44c4c4
4 changed files with 6 additions and 6 deletions

View file

@ -6,9 +6,9 @@ KaTeX shortcode let you render math typesetting in markdown document. See [KaTeX
{{< columns >}}
```latex
{{</* katex [display] [class="text-center"] */>}}
{{</*/* katex [display] [class="text-center"] */*/>}}
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
{{</* /katex */>}}
{{</*/* /katex */*/>}}
```
<--->

View file

@ -13,7 +13,7 @@ create a `mermaid.json` file in your `assets` folder!
{{< columns >}}
```tpl
{{</* mermaid [class="text-center"]*/>}}
{{</*/* mermaid [class="text-center"]*/*/>}}
stateDiagram-v2
State1: The state with a note
note right of State1
@ -22,7 +22,7 @@ stateDiagram-v2
end note
State1 --> State2
note left of State2 : This is the note to the left.
{{</* /mermaid */>}}
{{</*/* /mermaid */*/>}}
```
<--->

View file

@ -1 +1 @@
{"Target":"book.min.82c5dbd23447cee0b4c2aa3ed08ce0961faa40e1fa370eee4f8c9f02e0d46b5f.css","MediaType":"text/css","Data":{"Integrity":"sha256-gsXb0jRHzuC0wqo+0Izglh+qQOH6Nw7uT4yfAuDUa18="}}
{"Target":"book.min.c58292d36b18b675680ab9baea2029204537b839ea72f258746ec0f32ce8d6c8.css","MediaType":"text/css","Data":{"Integrity":"sha256-xYKS02sYtnVoCrm66iApIEU3uDnqcvJYdG7A8yzo1sg="}}