mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-23 13:19:00 +00:00
I see no good way to get the code block name, not sure how we used to do this, but it is definitely not supported by the current code.
16 lines
331 B
Org Mode
16 lines
331 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
|
|
#+begin_src python :var x
|
|
return x*x
|
|
#+end_src
|