【发布时间】:2018-12-27 08:55:08
【问题描述】:
如何使 org 模式不将以星号开头的行解释为标题?我的组织模式文档中有一些逐字文本。有些行以星号开头。 Org 模式将这些行解释为标题。我不想要那个。
这是带有一些上下文的文本:
* 20160721 Headline for July 21, 2016
I created a git repository for rfc-tools. It's in
~/Documents/rfc-tools.
Renamed grep-rfc-index.sh to search-rfc-index.sh because it searches.
That it uses grep is irrelevant.
Wrote a README.md for the project. Here it is:
#+BEGIN_SRC text
----- BEGIN QUOTED TEXT -----
This is the README.md for rfc-tools, a collection of programs for
processing IETF RFCs.
* fetch-rfcs-by-title.sh downloads into the current directory the RFCs
whose titles contain the string given on the command line. Uses an
rfc-index file in the current directory. Prefers the PDF version of
RFCs but will obtain the text version if the PDF is not available.
* fetch-sip-rfcs.sh downloads RFCs that contain "Session Initiation"
in their titles into the current directory.
* search-rfc-index.sh searches an rfc-index file in the current
directory for the string given on the command line. The string can
contain spaces.
* join-titles.awk turns the contents of an rfc-index file into a
series of long lines. Each line begins with the RFC number, then a
space, then the rest of the entry from the rfc-index.
----- END QUOTED TEXT -----
#+END_SRC
我希望“----- BEGIN QUOTED TEXT -----”和“-- END QUOTED TEXT -----”之间的行是纯文本并从属于标题“20160721” 2016 年 7 月 21 日的标题”。 Org 模式将以星号开头的所有行解释为顶级标题。
顺便说一句,逐字文本是 Markdown。我希望这没关系。
【问题讨论】:
-
这个问题的一个更好的标题是“如何告诉 org-mode 禁用逐字文本中的标题”?