lang/org: pretty symbols for old and new style
org-mode recently changed the standard for naming blocks. Previously, it would use capitalized names; now it uses lower case names. E.g., #+BEGIN_SRC -> #+begin_src Also, add a "quote" symbol for the #+begin_quote block.
This commit is contained in:
parent
a381f59261
commit
d87edaa44d
2 changed files with 10 additions and 1 deletions
|
@ -163,8 +163,15 @@ Is relative to `org-directory', unless it is absolute. Is used in Doom's default
|
||||||
|
|
||||||
(set-pretty-symbols! 'org-mode
|
(set-pretty-symbols! 'org-mode
|
||||||
:name "#+NAME:"
|
:name "#+NAME:"
|
||||||
|
:name "#+name:"
|
||||||
:src_block "#+BEGIN_SRC"
|
:src_block "#+BEGIN_SRC"
|
||||||
:src_block_end "#+END_SRC"))
|
:src_block "#+begin_src"
|
||||||
|
:src_block_end "#+END_SRC"
|
||||||
|
:src_block_end "#+end_src"
|
||||||
|
:quote "#+BEGIN_QUOTE"
|
||||||
|
:quote "#+begin_quote"
|
||||||
|
:quote_end "#+END_QUOTE"
|
||||||
|
:quote_end "#+end_quote"))
|
||||||
|
|
||||||
|
|
||||||
(defun +org-init-babel-h ()
|
(defun +org-init-babel-h ()
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
:name "»"
|
:name "»"
|
||||||
:src_block "»"
|
:src_block "»"
|
||||||
:src_block_end "«"
|
:src_block_end "«"
|
||||||
|
:quote "“"
|
||||||
|
:quote_end "”"
|
||||||
;; Functional
|
;; Functional
|
||||||
:lambda "λ"
|
:lambda "λ"
|
||||||
:def "ƒ"
|
:def "ƒ"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue