在sphinx文档的RST中,并使用数学方程的sphinx.ext.imgmath扩展,我想在项目点列表的中间添加一个方程,但在该方程之后有第二段,并保持符号点的缩进水平。我认为,除了math之外,任何其他类型的指令都会出现同样的问题。
我当前的RST代码如下所示:
Introducing the bullet list on zero-th level indentation:
- First bullet point on first level indentation.
.. math::
centered math equation
I would like this to be at the first level indentation because it belongs to the first bullet point but it lands on zero-th level indentation.
- Second bullet point on first level indentation.这就赋予了:
Introducing the bullet list on zero-th level indentation:
- First bullet point on first level indentation.
centered math equation
I would like this to be at the first level indentation because it belongs to the first bullet point but it lands on zero-th level indentation.
- Second bullet point on first level indentation.但我想:
Introducing the bullet list on zero-th level indentation:
- First bullet point on first level indentation.
centered math equation
I would like this to be at the first level indentation because it belongs to the first bullet point but it lands on zero-th level indentation.
- Second bullet point on first level indentation.发布于 2022-05-25 06:22:06
缩进math块及其后面的段落。
Introducing the bullet list on zero-th level indentation:
- First bullet point on first level indentation.
.. math::
centered math equation
I would like this to be at the first level indentation because it belongs to the first bullet point but it lands on zero-th level indentation.
- Second bullet point on first level indentation.一致的压痕是非常重要的。见https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#indentation。
https://stackoverflow.com/questions/72365920
复制相似问题