由于我经常在org-mode中收集未解决问题的列表,我希望能够轻松地将子树导出到单个标题之间有一些空格的文本(这样在打印副本上有一些记笔记的空间)。
Org-structure看起来像这样:
* topic xyz
** question 1
** question 2
** question 3
文本导出的预期布局,包含标题之间(或之后)的可配置空行数:
━━━━━━━━━━
topic xyz
━━━━━━━━━━
question 1
══════════
question 2
══════════
question 3
══════════
答案 0 :(得分:0)
I don't think there is a way to add newlines to your export without formatting your org file. You can enforce newlines by using \\
on each line where you want an empty line to appear.
In your case:
* topic xyz
** Question 1
\\
\\
\\
** Question 2...
答案 1 :(得分:0)
在导出的文本文件中执行正则表达式替换:
replace-regex
RET ^[═]+$
RET \&
Co Co 钴
C-o 插入换行符。厘泊How to replace a character with a newline in Emacs?