Skip to content

Commit 8c91794

Browse files
M1ndolpil
authored andcommitted
Updating Org Mode
Fixing head snippet and adding sh and py snippets for export.
1 parent e96b116 commit 8c91794

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

snippets/org.snippets

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,16 @@ snippet <l
3636
#+begin_export latex
3737
$0
3838
#+end_export
39+
# Begin export python
40+
snippet <p
41+
#+begin_export python
42+
$0
43+
#+end_export
44+
# Begin export shell
45+
snippet <s
46+
#+begin_export shell
47+
$0
48+
#+end_export
3949
# dot
4050
snippet dot
4151
#+begin_src dot :file ${1:file}.${2:svg} :results file graphics
@@ -73,8 +83,8 @@ snippet fig
7383
# Org Header
7484
snippet head
7585
#+title: ${1:untitled document}
76-
#+author: ${2:`user-full-name`}
77-
#+email: ${3:`user-mail-address`}
86+
#+author: ${2:user-full-name}
87+
#+email: ${3:user-mail-address}
7888
# Image
7989
snippet img
8090
#+attr_html: :alt $2 :align ${3:left} :class img

0 commit comments

Comments
 (0)