拆分组织模式块


10

说我有一个带有以下代码块的组织模式文档:

#+BEGIN_SRC blablabla
bla1
bla2
bla3
#+END_SRC

我想说出重点,例如bla2,调用一些elisp并按如下方式分割块:

#+BEGIN_SRC blablabla
bla1
bla2
#+END_SRC

#+BEGIN_SRC blablabla
bla3
#+END_SRC

这已经存在吗?

Answers:


10

org-babel-demarcate-block命令执行此代码块拆分。默认情况下,它绑定到C-c C-v C-d

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.