Add line number option to Python source blocks

This commit is contained in:
Gerard Vermeulen 2023-01-17 08:07:15 +01:00
parent a4a5b115db
commit 432d13a03c

View File

@ -2086,13 +2086,13 @@ list detailing and motivating each listing:
("l" . "export latex")
("q" . "quote")
("s" . "src")
("p" . "src python -i :session")
("p" . "src python -n -i :session")
("v" . "verse"))))
#+end_src
#+caption[Set =org-babel= options]:
#+caption: Set =org-babel=.
#+name: lst:set-org-babel-options
#+caption[Setup =org-babel=]:
#+caption: Setup =org-babel=.
#+name: lst:setup-org-babel
#+begin_src emacs-lisp
(with-eval-after-load 'ob-core
(setopt org-confirm-babel-evaluate nil))