tweak(org): add more formatting and symbols

This commit is contained in:
Kiana Sheibani 2024-08-14 05:16:15 -04:00
parent 9add49f478
commit b3b4e7ebe7
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -2735,6 +2735,16 @@ It's sometimes nice to be able to click a link in an Org file that takes me to o
** Appearance ** Appearance
*** Entities
#+begin_src emacs-lisp
(after! org
(setq org-pretty-entities t)
(pushnew! org-entities-user
'("top" "\\top" t "⊤" "" "22A4" "")
'("bot" "\\bot" t "⊥" "" "22A5" "⊥")))
#+end_src
*** Modern *** Modern
Doom Emacs's =+pretty= flag by default uses the package =org-superstar= to prettify Org files. This package is decently nice looking, but it has a much nicer and more comprehensive alternative in the form of =org-modern=. Doom Emacs's =+pretty= flag by default uses the package =org-superstar= to prettify Org files. This package is decently nice looking, but it has a much nicer and more comprehensive alternative in the form of =org-modern=.
@ -2779,6 +2789,7 @@ Doom Emacs's =+pretty= flag by default uses the package =org-superstar= to prett
("email" . "󰇰") ("email" . "󰇰")
("date" . "󰃮") ("date" . "󰃮")
("property" . "󰆧") ("property" . "󰆧")
("startup" . "󰜉")
("filetags" . "󰓼") ("filetags" . "󰓼")
("bind" . "󰌷") ("bind" . "󰌷")
("bibliography" . "") ("bibliography" . "")
@ -2868,7 +2879,10 @@ Since we've disabled =+pretty=, we need to add the packages we do want from it,
:hook (org-mode . org-appear-mode) :hook (org-mode . org-appear-mode)
:config :config
(setq org-appear-autoentities t (setq org-appear-autoentities t
org-appear-inside-latex t)) org-appear-autokeywords t
org-appear-autosubmarkers t
org-appear-inside-latex nil))
(after! org (after! org
(setq org-highlight-latex-and-related '(native script entities))) (setq org-highlight-latex-and-related '(native script entities)))