Add python/ipython snippets for org-mode (#193)
* Add python/ipython snippets for org-mode * Simplify temp filename creation in org-mode/ipython
This commit is contained in:
parent
c4bc16ea7b
commit
a5fac2b876
7
org-mode/ipython
Normal file
7
org-mode/ipython
Normal file
|
@ -0,0 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: ipython
|
||||
# key: ipy_
|
||||
# --
|
||||
#+BEGIN_SRC ipython :session ${1:session01} :file ${2:$$(concat (make-temp-name "./ipython-") ".png")} :exports ${3:both}
|
||||
$0
|
||||
#+END_SRC
|
7
org-mode/python
Normal file
7
org-mode/python
Normal file
|
@ -0,0 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: python
|
||||
# key: py_
|
||||
# --
|
||||
#+BEGIN_SRC python
|
||||
$0
|
||||
#+END_SRC
|
Loading…
Reference in a new issue