3

How do I ensure that only the second block never evaluates, while still allowing the first block to be evaluated normally?

#+begin_src shell
echo "hi"
#+end_src

#+begin_src python
print("no print please")
#+end_src

1 Answer 1

5

You can use the :eval no attribute on the block that you want to disable:

#+begin_src shell
echo "hi"
#+end_src

#+RESULTS:
: hi

#+begin_src python :eval no
print("no print please")
#+end_src
1

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.