Skip to content

Commit

Permalink
feat(tempel): additional templates
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jul 23, 2023
1 parent 73a0a06 commit ef5d4f2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions templates/tempel/org.eld
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
org-mode

(python "#+begin_src python" n> r> n "#+end_src" :post (org-edit-src-code))
(name "#+name: " r> n)
(hwidth "#+attr_html: :width " (p "500px") n)
(width "#+attr_latex: :width " (p "0.5\textwidth") n)
(hheight "#+attr_html: :height " (p "500px") n)
(height "#+attr_latex: :height " (p "0.1\textheight") n)
(dot "#+begin_src dot :file " (p "graph") "." (p "svg") " :results file graphics" n> r> n "#+end_src" :post (org-edit-src-code))
(jupyter "#+begin_src jupyter-" (p "python") " :session " r " :async yes" n> r> n "#+end_src" :post (org-edit-src-code))

0 comments on commit ef5d4f2

Please sign in to comment.