Skip to content

Commit

Permalink
chore: update README.md (admonitions) (#3712)
Browse files Browse the repository at this point in the history
* Place admonitions in code blocks

* Add missing newline

---------

Co-authored-by: Karl Cardenas <29551334+karl-cardenas-coding@users.noreply.github.com>
  • Loading branch information
dtujmer and karl-cardenas-coding committed Aug 26, 2024
1 parent 939a792 commit 959b927
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,41 +472,53 @@ Result
### Admonitions - Warning / Info / Tip / Danger / Tech Preview / Further Guidance
```mdx
:::warning
Some **content** with _Markdown_ `syntax`.
:::
```
```mdx
:::info
Some **content** with _Markdown_ `syntax`.
:::
```
```mdx
:::tip
Some **content** with _Markdown_ `syntax`.
:::
```
```mdx
:::danger
Some **content** with _Markdown_ `syntax`.
:::
```
```mdx
:::preview
Some **content** with _Markdown_ `syntax`.
:::
```
```mdx
:::further
Some **content** with _Markdown_ `syntax`.
:::
```
https://docusaurus.io/docs/markdown-features/admonitions
Expand Down

0 comments on commit 959b927

Please sign in to comment.