Skip to content

Commit 2e53d46

Browse files
committed
docs: fix false-positive for nested admonitions
1 parent 0a84a3f commit 2e53d46

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/reference/special-theme-elements.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,10 @@ An admonition with a sidenote defined in the admonition[^snam1] and another defi
301301
These aren't theme-specific, but we still show below to make sure they work.
302302

303303
::::{note} Here's a note!
304-
:::{tip} And a tip!
305-
:::
304+
305+
```{tip} And a tip!
306+
```
307+
306308
::::
307309

308310
## MyST Markdown elements

0 commit comments

Comments
 (0)