2024-10-02 00:31:27 发布
网友
我有一个小sphinx插件,它可以创建带有标题的代码块。 现在我想格式化这些标题,但我不知道如何才能做到这一点
我曾尝试通过reST指令直接添加格式,但它不起作用
nodes.caption(text='*Example*') # literally shows "*Example*" instead of "Example" in italic
如何修改此行以添加格式属性
nodes.caption(text='Example')
目前没有回答
目前没有回答
相关问题 更多 >
编程相关推荐