如何在org-mode中的列表项中引用?

时间:2016-09-30 18:34:12

标签: list emacs org-mode quotations

所以,我想有这样的事情:

1. This is a list item.
   This is the second line of the list item.
2. This is another list item.
   This is another line of this item.
#+begin_quote
This is a quotation that should belong to the 2nd list item.
#+end_quote
   This is the last line of the 2nd list item.
3. This is the third list item.

但是org-mode知道引用块会破坏列表。所以我的结果有一个列表,一个引号(不属于列表项),然后是另一个列表(只有一个项目)。

是否可以在org-mode中执行我想要的操作?

提前致谢。

1 个答案:

答案 0 :(得分:1)

认为你只需要观察缩进和返回。 这样:

* Trying to test something
  Here is some text.

  New Paragraph.
** Sub heading for this section
   And some text here.

1. This is a list item.                                                                           
   This is the second line of the list item.                                                      
2. This is another list item.                                                                     
   This is another line of this item.                                                             

   #+begin_quote                                                                                     
   This is a quotation that should belong to the 2nd list item.                                      
   #+end_quote                                                                                       

   This is the last line of the 2nd list item.                                                    
3. This is the third list item.    

在导出为ascii

时,给我一个这样的列表
  1. 这是一个列表项。这是列表项的第二行。
  2. 这是另一个列表项。这是该项目的另一行。

     This is a quotation that should belong to the 2nd list
     item.
    

    这是第二个列表项的最后一行。

  3. 这是第三个列表项。