emacs/var/elfeed/db/data/9e/9eb63154efe242a7d55d8d86d70972cb4d78ce8c
2022-01-03 12:49:32 -06:00

19 lines
1.3 KiB
Plaintext

<p>When you edit org files, sometimes you want to emphasize words like
<code class="language-plaintext highlighter-rouge">code</code> or <code class="language-plaintext highlighter-rouge">verbatim</code>.</p>
<p>By default, Doom Emacs shows the leading or trailing marker characters like <code class="language-plaintext highlighter-rouge">=</code> or <code class="language-plaintext highlighter-rouge">~</code>. So the org file looks funny.</p>
<p>Naturally, you want to hide the these characters, like an <code class="language-plaintext highlighter-rouge">org-link</code>.</p>
<p><a href="https://stackoverflow.com/a/10970665">This SO answer</a> provides a solution: <strong>Toggle on <code class="language-plaintext highlighter-rouge">org-hide-emphasis-markers</code></strong></p>
<p>Before:</p>
<p><img alt="before tweaking" src="https://i.imgur.com/xWEkfqP.png" /></p>
<p>After:</p>
<p><img alt="font screenshot" src="https://i.imgur.com/GPe9rj9.png" /></p>
<p>To further customize each emphasis face, you can tweak the
<code class="language-plaintext highlighter-rouge">org-emphasis-alist</code> variable and pick or customize each face, like <code class="language-plaintext highlighter-rouge">org-verbatim</code>. <a href="https://mullikine.github.io/posts/org-mode-bold/">Here is an example</a>.</p>