开发者

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

开发者 https://www.devze.com 2022-12-25 12:47 出处:网络
开发者_StackOverflowIn restructured text, how do I write: Chapter 1: Section 1: Some section 1 text Section 1.1:
开发者_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

精彩评论

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