Skip to content
Snippets Groups Projects
Unverified Commit 9dfe8353 authored by Pierre Augier's avatar Pierre Augier Committed by GitHub
Browse files

DOCS: Add an example of admonition with warning style (#1834)

I didn't find this useful tip (change the class of an admonition) in the documentation. See https://jupyterbook.org/en/stable/interactive/hiding.html?highlight=admonition#toggle-admonition-content-with-dropdowns and https://jupyterbook.org/en/stable/advanced/html.html?highlight=admonition#an-example-custom-admonitions for related but different things.
parent aa8fd59e
No related branches found
No related tags found
No related merge requests found
......@@ -560,6 +560,22 @@ must also include a table title. See example above.
- ```{important} This is an example
of an important directive.
```
* - ````md
```{admonition} Title
:class: warning
text
```
````
- ````md
```{admonition} This is a title
:class: warning
An example of an admonition with a title and a warning style.
```
````
- ```{admonition} This is a title
:class: warning
An example of an admonition with a title and a warning style.
```
``````
## Figures and images
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment