I have a block like this:
#+BEGIN_SRC sh :results org
stuff
#+END_SRC
with the output looking like:
#+RESULTS:
#+BEGIN_SRC org
,* Heading
,** sub heading
Text
etc.
#+END_SRC
How do I get rid of the leading commas?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityI have a block like this:
#+BEGIN_SRC sh :results org
stuff
#+END_SRC
with the output looking like:
#+RESULTS:
#+BEGIN_SRC org
,* Heading
,** sub heading
Text
etc.
#+END_SRC
How do I get rid of the leading commas?
You can't get rid of them in a block. That is an escaping mechanism. You can use :results raw in the src block header to get rid of the results block though.