作为此question的扩展:如何使用Sphinx和reStructuredText在每个网格化图像下添加描述?
例如,一张桌子,三张图片,每张图片都有一个标题。
答案 0 :(得分:2)
我不确定只有图形指令like it is with the image directive才能实现这一点。然而,虽然看起来很恐怖,但你可以把这三个数字包在一张桌子里。例如,以下reStructuredText
+-----------------------------------------+-----------------------------------------+-----------------------------------------+
| .. figure:: http://placehold.it/150x150 | .. figure:: http://placehold.it/150x150 | .. figure:: http://placehold.it/150x150 |
| :alt: map to buried treasure | :alt: map to buried treasure | :alt: map to buried treasure |
| | | |
| This is the caption of the figure (a | This is the caption of the figure (a | This is the caption of the figure (a |
| simple paragraph). | simple paragraph). | simple paragraph). |
+-----------------------------------------+-----------------------------------------+-----------------------------------------+
产生