Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions docs/syntax/admonitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,33 @@ Admonitions allow you to highlight important information with varying levels of
## Basic admonitions

Admonitions can span multiple lines and support inline formatting.

:::::{tab-set}

::::{tab-item} Output

:::{admonition} Multiple paragraphs
Separate paragraphs with a blank line, just like regular Markdown.

Adjacent lines without a blank line between them render as a single paragraph.
:::

::::

::::{tab-item} Markdown

```markdown
:::{admonition} Multiple paragraphs
Separate paragraphs with a blank line, just like regular Markdown.

Adjacent lines without a blank line between them render as a single paragraph.
:::
```

::::

:::::

Available admonition types include:

- [Note](#note)
Expand Down Expand Up @@ -135,6 +162,8 @@ A plain admonition is a callout with no further styling. Useful to create a call
::::{tab-item} Output

:::{admonition} This is my callout
This is a plain callout.

It can *span* multiple lines and supports inline formatting.
:::

Expand All @@ -144,6 +173,8 @@ It can *span* multiple lines and supports inline formatting.

```markdown
:::{admonition} This is my callout
This is a plain callout.

It can *span* multiple lines and supports inline formatting.
:::
```
Expand Down
Loading