What I want in org-mode is like the inline code block syntax in Markdown language X <- 3
. I googled and attempted (reference):
src_R{X <- 3}
inline in org-mode, but exporting to html (with C-cC-eh) did not show the inline code. Other code block like #+begin_src R
stuff works fine, but anyhow there is a warning message while exporting:
htmlize.el 1.34 or later is needed for source code formatting [14 times]
Could that be the reason ?
Update:
Thanks for @LeVieuxGildas opinion, I installed and loaded the latest htmlize.el
version 1.43 now and did not get any error message when exporting. But still exporting html can not show inline code part.
system: OS X 10.8.2 ; emacs mac port https://github.com/railwaycat/emacs-mac-port ; built-in org-mode
C-c
C-e
h
, right ? (Not being sure, I didn't edit that) This footnote suggests you probably need to upgrade htmlize, and that upgrading org would do. Is that your answer ? (I have no idea how much the legacy exporter handles html inline code blocks, but maybe the new exporter does a better job with them.) – Nikana ReklawyksC-c
C-e
h
. I edited and corrected it. As I understand from the footnote,htmlize
package 1.34 version should be built in org. – liuminzhaohtmlize
showed up. – liuminzhao