我有一个重组文档。 RST用途 =====, 等。作为标题格式。

但是,我需要在其中包含一些包含此文本的行,例如:

some of my text
=====
stuff
=====
some more of my text

而且我不想要 ==== 被解释为标题,即我不想要 stuff 成为标题。我宁愿那些相等的迹象像以前一样显示。

这是可能的吗?

有帮助吗?

解决方案

重组文本中的逃生字符是 \:

some of my text
\=====
stuff
=====
some more of my text

将被渲染为:

some of my text ===== stuff ===== some more of my text
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top