Skip to content

Commit

Permalink
Update docs/admonitions.md
Browse files Browse the repository at this point in the history
Co-authored-by: Angus Hollands <[email protected]>
  • Loading branch information
rowanc1 and agoose77 committed Aug 22, 2024
1 parent 0dde83b commit 1ad75e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/admonitions.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ This is the body.
To turn an admonition into a dropdown, add the `dropdown` {myst:directive}`admonition.class` to them.
Dropdown admonitions use the `<details>` HTML element (meaning they also will work without Javascript!),
and they can be helpful when including text that shouldn't immediately visible to your readers.
To have the admonition be a dropdown, and also start open, add the {myst:directive}`admonition.open` option.
To have a dropdown-style admonition start open, add the {myst:directive}`admonition.open` option.

```{myst}
:::{note} Click Me! 👈
Expand Down

0 comments on commit 1ad75e5

Please sign in to comment.