docs: update markdown example #903

This commit is contained in:
Sören Weber 2024-09-03 23:02:11 +02:00
parent df8fdc284a
commit f10d9dd466
No known key found for this signature in database
GPG Key ID: BEC6D55545451B6D

View File

@ -17,7 +17,7 @@ While the examples are using shortcodes with named parameter you are free to use
{{% tab title="markdown" %}} {{% tab title="markdown" %}}
````md ````md
> [!NOTE] > [!primary] There may be pirates
> It is all about the boxes. > It is all about the boxes.
```` ````
@ -295,10 +295,10 @@ Just a box
> > > [!important] You can even use multiple layers of nesting. > > > [!important] You can even use multiple layers of nesting.
```` ````
> [!tip] Callouts can have custom titles > [!caution] Callouts can have custom titles
> Like this one. > Like this one.
> [!tip] Title-only callout > [!caution] Title-only callout
> [!note]- Are callouts foldable? > [!note]- Are callouts foldable?
> Yes! In a foldable callout, the contents are hidden when the callout is collapsed > Yes! In a foldable callout, the contents are hidden when the callout is collapsed
@ -306,6 +306,6 @@ Just a box
> [!note]+ Are callouts foldable? > [!note]+ Are callouts foldable?
> Yes! In a foldable callout, the contents are hidden when the callout is collapsed > Yes! In a foldable callout, the contents are hidden when the callout is collapsed
> [!important] Can callouts be nested? > [!blue] Can callouts be nested?
> > [!note] Yes!, they can. > > [!cyan] Yes!, they can.
> > > [!important] You can even use multiple layers of nesting. > > > [!green] You can even use multiple layers of nesting.