如何在 emacs org-mode 中更改“:results 输出代码”结果的语言

Doe*_*ous 6 emacs org-mode org-babel

我有一个 org 文件,其中包含这样的块:

#+BEGIN_SRC sh :exports results :results output code
sed -n '9,36 p' ./code/convert.c
#+END_SRC
Run Code Online (Sandbox Code Playgroud)

C-c C-c会给BEGIN_SRC我以下结果:

#+RESULTS:
#+begin_src sh
 // here is some C code
#+end_src
Run Code Online (Sandbox Code Playgroud)

如何更改“:结果输出代码”结果的语言,以便我可以获得如下输出:

#+RESULTS:
#+begin_src C
 // here is some C code
#+end_src
Run Code Online (Sandbox Code Playgroud)

Doe*_*ous 8

#+BEGIN_SRC sh :exports results :results output code :wrap SRC C
sed -n '9,36 p' ./code/convert.c
#+END_SRC
Run Code Online (Sandbox Code Playgroud)

SRC#+BEGIN_SRC被意志和#+END_SRC取代:wrap XXX#+BEGIN_XXX#+END_XXX