reddit / emacs

Is it possible to highlight a text in org file?

inquisitive-user_ · 2022-08-29 10:34
​ https://preview.redd.it/rr7j3k8mrmk91.png?width=274&format=png&auto=webp&s=08bd34bc836f7cc0c438305433c16a9bab773416
jsuvro · 2022-08-29 10:52
=highlight text=
inquisitive-user_ · 2022-08-29 10:56
Isn't that verbatim!
jsuvro · 2022-08-29 11:00
~verbatim~
inquisitive-user_ · 2022-08-29 11:04
I thought that is code.
jsuvro · 2022-08-29 11:11
sorry. Yeah that is for code and = for verbatim. I use = to highlight text. Here's my config: `(setq org-emphasis-alist` `(quote (("*" bold)` `("/" italic)` `("_" underline)` `("=" (:foreground "#616161" :background "#ffeb3b"))` `("~" org-verbatim verbatim)` `("+"` `(:strike-through t))` `)))`
inquisitive-user_ · 2022-08-29 12:36
Thanks. This still translates to verbatim after importing to HTML.
aimebertrand · 2022-08-29 12:42
I also found this nice package, that does quite custom highlighting. https://github.com/nobiot/org-remark
TheFrenchPoulp · 2022-08-29 14:56
Assuming you mean temporarily, see `C-h v lazy-highlight-cleanup`
inquisitive-user_ · 2022-08-29 15:49
Thanks.
inquisitive-user_ · 2022-08-29 15:50
Sorry, I need permanent.