1 line
1.6 KiB
Plaintext
1 line
1.6 KiB
Plaintext
<p><img src="https://thumbnails.lbry.com/wzYEyhesXP8" width="480" alt="thumbnail" title="How to use org-emphasis-alist to change text in Org Mode" /></p>Org-emphasis-alist allows you to control the color of your bold, italic, underline, and other types of text in emacs. You can also hide the emphasis markers as well. I will show you how to customize it so you can mess with it how you like it.<br /><br />_______________________________<br />PLAIN TEXT BIBLES (KJV WEB)<br />--------------------------------------------------<br />https://github.com/bc-abe/plain-text-bibles<br /><br />_____________________________<br />COPY THIS INTO YOUR config.el in Doom or .spacemacs in Spacemacs<br />-----------------------------------------------<br />;; this controls the color of bold, italic, underline, verbatim, strikethrough<br />(setq org-emphasis-alist<br /> '(("*" (bold :slant italic :weight black )) ;; this make bold both italic and bold, but not color change<br /> ("/" (italic :foreground "dark salmon" )) ;; italic text, the text will be "dark salmon"<br /> ("_" underline :foreground "cyan" ) ;; underlined text, color is "cyan"<br /> ("=" (:background "snow1" :foreground "deep slate blue" )) ;; background of text is "snow1" and text is "deep slate blue"<br /> ("~" (:background "PaleGreen1" :foreground "dim gray" ))<br /> ("+" (:strike-through nil :foreground "dark orange" ))))<br />(setq org-hide-emphasis-markers t) ;; hides the emphasis markers<br /><br />____________<br />MY WEBSITE<br />--------------------<br />https://abepeters.com<br />...<br />https://www.youtube.com/watch?v=wzYEyhesXP8 |