Say I have the following source block:

#+NAME: heading
#+BEGIN_SRC python :exports none
  return "** Some outline"

And I insert it inlined in my buffer by using

* Another outline

Is it possible to specify that I want the result to be inserted as pat of the actual syntax? That is, it should appear as a new outline exactly where I inserted my call.

1 Answer 1


Adding :results raw will make org-babel insert the results of the source block literally. You can call a named source block using the syntax #+CALL: call_heading()

  • :results raw was exactly what I needed. But I am aware of the call syntax. Commented Sep 28, 2017 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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