Using EmacsMac 28.1 (OSX) (started as emacs -q), I'm trying to export a simple org document that contains an org source block:
#+begin_src org
*Hello* /world/
#+end_src
When I export this to a buffer (C-c C-e h H
), the block is exported as:
...
<div class="org-src-container">
<pre class="src src-org">*Hello* /world/
</pre></div>
...
I would like to have the Hello in bold and the world in italic but I cannot identify which option to set. The answer is probably pretty obvious but I'm stuck.
(require 'htmlize)
+(setq org-html-htmlize-output-type 'css)
(htmlize is at github.com/hniksic/emacs-htmlize)org-html-htmlize-output-type
does). You can then accept your own answer. This way, future visitors will be able to see that the question has an accepted answer when searching to solve this or a similar problem.