mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Demodocs: add center aligned image caption
This commit is contained in:
parent
7fabadeb40
commit
df71e5b460
@ -478,16 +478,15 @@ A figure directive with center alignment
|
|||||||
|
|
||||||
.. figure:: static/yi_jing_01_chien.jpg
|
.. figure:: static/yi_jing_01_chien.jpg
|
||||||
:align: center
|
:align: center
|
||||||
:width: 300
|
|
||||||
|
This caption should be centered.
|
||||||
|
|
||||||
Admonitions
|
Admonitions
|
||||||
```````````
|
```````````
|
||||||
|
|
||||||
.. Attention:: Directives at large.
|
.. Attention:: Directives at large.
|
||||||
|
|
||||||
.. Caution::
|
.. Caution:: Don't take any wooden nickels.
|
||||||
|
|
||||||
Don't take any wooden nickels.
|
|
||||||
|
|
||||||
.. DANGER:: Mad scientist at work!
|
.. DANGER:: Mad scientist at work!
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user