Skip to content

Commit

Permalink
Embrace Org's recommendation of lowercase blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
tecosaur committed Oct 5, 2020
1 parent 60c57d6 commit 9bb186d
Show file tree
Hide file tree
Showing 18 changed files with 46 additions and 46 deletions.
6 changes: 3 additions & 3 deletions org-mode/begin_center
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- mode: snippet -*-
# name: #+BEGIN_CENTER block
# name: #+begin_center block
# key: <C
# uuid: <C
# --
#+BEGIN_CENTER
#+begin_center
`%`$0
#+END_CENTER
#+end_center
6 changes: 3 additions & 3 deletions org-mode/begin_comment
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- mode: snippet -*-
# name: #+BEGIN_COMMENT block
# name: #+begin_comment block
# key: <c
# uuid: <c
# --
#+BEGIN_COMMENT
#+begin_comment
`%`$0
#+END_COMMENT
#+end_comment
6 changes: 3 additions & 3 deletions org-mode/begin_example
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- mode: snippet -*-
# name: #+BEGIN_EXAMPLE block
# name: #+begin_example block
# key: <e
# uuid: <e
# --
#+BEGIN_EXAMPLE
#+begin_example
`%`$0
#+END_EXAMPLE
#+end_example
2 changes: 1 addition & 1 deletion org-mode/begin_export
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: #+BEGIN_EXPORT ... block
# name: #+begin_export ... block
# key: <E
# type: command
# --
Expand Down
6 changes: 3 additions & 3 deletions org-mode/begin_export_ascii
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- mode: snippet -*-
# name: #+BEGIN_EXPORT ascii
# name: #+begin_export ascii
# key: <a
# uuid: <a
# --
#+BEGIN_EXPORT ascii
#+begin_export ascii
`%`$0
#+END_EXPORT
#+end_export
6 changes: 3 additions & 3 deletions org-mode/begin_export_html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- mode: snippet -*-
# name: #+BEGIN_EXPORT html block
# name: #+begin_export html block
# key: <h
# uuid: <h
# --
#+BEGIN_EXPORT html
#+begin_export html
`%`$0
#+END_EXPORT
#+end_export
6 changes: 3 additions & 3 deletions org-mode/begin_export_latex
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- mode: snippet -*-
# name: #+BEGIN_EXPORT latex block
# name: #+begin_export latex block
# key: <l
# uuid: <l
# --
#+BEGIN_EXPORT latex
#+begin_export latex
`%`$0
#+END_EXPORT
#+end_export
6 changes: 3 additions & 3 deletions org-mode/begin_quote
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- mode: snippet -*-
# name: #+BEGIN_QUOTE block
# name: #+begin_quote block
# key: <q
# uuid: <q
# --
#+BEGIN_QUOTE
#+begin_quote
`%`$0
#+END_QUOTE
#+end_quote
2 changes: 1 addition & 1 deletion org-mode/begin_src
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: #+BEGIN_SRC ... block
# name: #+begin_src ... block
# key: <s
# type: command
# --
Expand Down
2 changes: 1 addition & 1 deletion org-mode/begin_verse
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- mode: snippet -*-
# name: #+BEGIN_VERSE block
# name: #+begin_verse block
# key: <v
# type: command
# --
Expand Down
6 changes: 3 additions & 3 deletions org-mode/blog
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# key: blog
# uuid: blog
# --
#+STARTUP: showall indent
#+STARTUP: hidestars
#+BEGIN_HTML
#+startup: showall indent
#+startup: hidestars
#+begin_html
---
layout: default
title: ${1:title}
Expand Down
4 changes: 2 additions & 2 deletions org-mode/export
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# key: export
# uuid: export
# --
#+BEGIN_EXPORT ${1:type}
#+begin_export ${1:type}
`%`$0
#+END_EXPORT
#+end_export
6 changes: 3 additions & 3 deletions org-mode/figure
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# key: fig
# uuid: fig
# --
#+CAPTION: ${1:caption}
#+ATTR_LaTeX: ${2:scale=0.75}
#+LABEL: fig:${3:label}
#+caption: ${1:caption}
#+attr_latex: ${2:scale=0.75}
#+label: fig:${3:label}
6 changes: 3 additions & 3 deletions org-mode/head
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# key: head
# uuid: head
# --
#+TITLE: ${1:Untitled Document}
#+AUTHOR: ${2:`user-full-name`}
#+EMAIL: ${3:`user-mail-address`}
#+title: ${1:untitled document}
#+author: ${2:`user-full-name`}
#+email: ${3:`user-mail-address`}
8 changes: 4 additions & 4 deletions org-mode/jupyter
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: #+BEGIN_SRC jupyter-...
# contributor: seong yong-ju
# name: #+begin_src jupyter-...
# uuid: jupyter
# key: jupyter
# --
#+BEGIN_SRC jupyter-${1:$$(yas-choose-value '("python" "julia" "R"))}${2: :session $3}${4: :async yes}
#+begin_src jupyter-${1:$$(yas-choose-value '("python" "julia" "r"))}${2: :session $3}${4: :async yes}
`%`$0
#+END_SRC
#+end_src
4 changes: 2 additions & 2 deletions org-mode/latex
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# key: latex
# uuid: latex
# --
#+BEGIN_LaTeX
#+begin_latex
`%`$0
#+END_LaTeX
#+end_latex
6 changes: 3 additions & 3 deletions org-mode/src
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- mode: snippet -*-
# name: #+BEGIN_SRC
# name: #+begin_src
# uuid: src
# key: src
# --
#+BEGIN_SRC $1
#+begin_src $1
`%`$0
#+END_SRC
#+end_src
4 changes: 2 additions & 2 deletions org-mode/width
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- mode: snippet -*-
# name: #+ATTR_HTML: :width ...
# name: #+attr_html: :width ...
# --
#+ATTR_HTML: :width ${1:500px}
#+attr_html: :width ${1:500px}

0 comments on commit 9bb186d

Please sign in to comment.