1

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?

1

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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.