mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 13:33:12 +08:00
docs: update markdown example #903
This commit is contained in:
parent
df8fdc284a
commit
f10d9dd466
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user