org-mode/testing/examples/babel-dangerous.org

18 lines
342 B
Org Mode

#+Title: dangerous code block examples which should be isolated
#+OPTIONS: ^:nil
* no default value for vars
:PROPERTIES:
:ID: f2df5ba6-75fa-4e6b-8441-65ed84963627
:END:
There is no default value assigned to =x= variable. This is not permitted
anymore.
#+name: carre(x)
#+begin_src python
return x*x
#+end_src
#+name: carre