开发者

How do I return to a higher nesting level in ReST?

开发者_StackOverflow

In restructured text, how do I write:

Chapter 1:
    Section 1:
       Some section 1 text
    Section 1.1:
       An aside
    Section 1:
       Back to section 1


The section hierarchy is decided by the order in which the section titles are encountered. This means that there is no way to add paragraphs to the parent section that do not belong to a child section, once the first child section has been added.

I recommend restructuring the text (no pun intended) or using footnotes. Literal blocks are another possibility.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜