Skip to content

Commit

Permalink
fix: shorten python to py_
Browse files Browse the repository at this point in the history
This avoids any conflicts with auto-completion.
  • Loading branch information
gs-101 committed Sep 3, 2024
1 parent feb6476 commit b49900d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/org.eld
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ org-mode
(format-time-string "%Y-%m-%d") n ":EXPORT_HUGO_DRAFT: false" n ":END:")
(rdmecollapse "*** " (p "Heading") n "#+HTML: <details> <summary> " (p "sub-heading") " </summary>" n
(r> "link or any comments") n n "#+HTML: </details>" n)
(python & "#+begin_src python" n r n "#+end_src"
(py_ & "#+begin_src python" n r n "#+end_src"
:post (org-edit-src-code))
(pythonvle & "#+begin_src python :results value" n r n "#+end_src"
(py_vl & "#+begin_src python :results value" n r n "#+end_src"
:post (org-edit-src-code))
(pythonotpt & "#+begin_src python :results output" n r n "#+end_src"
(py_otpt & "#+begin_src python :results output" n r n "#+end_src"
:post (org-edit-src-code))

;; taken from https://github.com/minad/tempel/blob/5b09f612cfd805dba5e90bf06580583cab045499/README.org#template-file-format
Expand Down

0 comments on commit b49900d

Please sign in to comment.