Images and videos¶
Here are the examples of images and videos in Shibuya sphinx theme.
Simple images¶
A simple image with image
directive:
Image in center¶
.. image:: https://source.unsplash.com/200x200/daily?brids
:width: 200
:height: 200
:align: center
Image with captions¶
The figure
directive will wrap the image with <figure>
tag, content
if figure
directive will be converted to <figcaption>
.
Image with a caption¶
.. figure:: https://source.unsplash.com/200x200/daily?birds
:width: 200
:height: 200
:align: center
This is the ``caption``, *it can* contain **other markups**.
The photo is generated by Unsplash_ API.