The Prettify package converts words to letters
Things like ae won't work, as it is not a complete word. Emojis are fine though.
This commit is contained in:
parent
db51a66d8c
commit
d9f3ec8806
1 changed files with 7 additions and 6 deletions
|
|
@ -535,17 +535,18 @@ The nerd font package takes a popular font like "Iosevka" and jams a bunch of th
|
|||
|
||||
** Symbols and Emojis
|
||||
|
||||
Display these two symbols as one character, as using [[Ligatures]] often stretches wider, and the following are nice to be collapsed:
|
||||
Display these two symbols as one character, as using [[Ligatures]] often stretches wider, and the following are nice to be collapsed into a single glyph:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(add-hook 'text-mode-hook (lambda ()
|
||||
(dolist (pair '(("!?" . "‽")
|
||||
("ae" . "æ")
|
||||
("..." . "…") ; ??
|
||||
("??" . "⁇")
|
||||
;; ("<<" . "«")
|
||||
;; (">>" . "»")
|
||||
("AE" . "Æ")))
|
||||
("<<" . "«")
|
||||
(">>" . "»")
|
||||
(":-)" . "🙂")
|
||||
(":-D" . "😃")
|
||||
(";-)" . "😉")
|
||||
("..." . "…")))
|
||||
(push pair prettify-symbols-alist))))
|
||||
#+end_src
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue