如何在 org-mode (emacs) 中创建 sub-headers?

How to create sub-headers in org-mode (emacs)?

您好,我想知道如何在 org 文档中创建 sub-headers。我试过这个:

* header 
  * sub-header
    Some text

* 适用于 header 部分,但会创建项目符号而不是 sub-headers。

对于这类问题,组织手册是最好的检查地点:https://orgmode.org/org.html#Headlines

Headlines define the structure of an outline tree. The headlines in Org start with one or more stars, on the left margin3. For example:

* Top level headline
** Second level
*** Third level
    some text
*** Third level
    more text
* Another top level headline

希望,这对您有所帮助!

作为@sanenr9 回答的补充,如果您愿意,您还可以启用 "clean view" 隐藏标题中除了最后一个星号以外的所有星号(参见 A Cleaner Outline View):星号是仍在缓冲区中,但使用覆盖层隐藏了它们。

另一个有用的提示是检查菜单中的 "Org" 条目:那里有许多有用的命令(通常还有键盘快捷键)。例如。您可以通过单击 "Org" 菜单中的 "New Heading" 条目添加与前一个标题相同级别的新标题,然后您可以通过单击 "Org/Edit Structure/Demote heading" 菜单项(或者您可以使用指示的键盘快捷键 M-<right>,这是通过按住 Meta 键并按右箭头键来完成的。)