diff options
author | fpi | 2020-05-09 13:16:09 +0200 |
---|---|---|
committer | fpi | 2020-05-09 13:42:43 +0200 |
commit | 175361abefd56025bf8e6b4eec10424838b5c5d4 (patch) | |
tree | 054158158c217b93bdec1543f769ed561f5ee974 | |
parent | Change default font size (diff) |
Add basic org mode prettify symbols
Diffstat (limited to '')
-rw-r--r-- | emacs-init.org | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/emacs-init.org b/emacs-init.org index b7d2f47..11dfd82 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -1930,6 +1930,22 @@ Use imagemagick and standalone class for latex preview. #+begin_src emacs-lisp (use-package ol-bbdb) #+end_src +*** prettify symbols +Set some prettify symbols for org mode. +#+begin_src emacs-lisp +(defun fpi/add-org-prettify-symbols () + "Beautify Org Checkbox Symbol" + (setq prettify-symbols-alist + (append prettify-symbols-alist + '(("#+BEGIN_SRC" . ?») + ("#+END_SRC" . ?«) + ("#+begin_src" . ?») + ("#+end_src" . ?«) + ("[ ]" . ?☐) + ("[X]" . ?☑ ) + ("[-]" . ?❍ ))))) +(add-hook 'org-mode-hook 'fpi/add-org-prettify-symbols) +#+end_src *** org-roam #+begin_src emacs-lisp (use-package org-roam |