Python sphinx 在重新构造的文本中添加自定义练习环境块
是否有格式化练习的环境?差不多Python sphinx 在重新构造的文本中添加自定义练习环境块,python-sphinx,restructuredtext,docutils,Python Sphinx,Restructuredtext,Docutils,是否有格式化练习的环境?差不多 .. exercise:: Count to 10 Write down all the numbers from 1 to (including 10) 也就是说,这是一份指导性文档,要求读者阅读材料。您可以使用警告添加自定义语义和样式 例如,示例: .. admonition:: description Here is some info for basic Plone troubleshooting, especially wit
.. exercise:: Count to 10
Write down all the numbers from 1 to (including 10)
也就是说,这是一份指导性文档,要求读者阅读材料。您可以使用
警告添加自定义语义和样式
例如,示例:
.. admonition:: description
Here is some info for basic Plone troubleshooting, especially with add-on modules.
结果输出将具有警告说明
CSS类。然后,您可以使用CSS、:after
和:before
伪选择器进行样式设置,例如,如果您想在文本旁边添加一个练习图标
随机示例文件