From 4682af888ca3b86eb05c6d40169725cca17136e3 Mon Sep 17 00:00:00 2001 From: Nicolas Berthier Date: Mon, 15 May 2017 15:44:11 +0100 Subject: [PATCH] Fontify inline source blocks when exporting to HTML * lisp/ox-html.el (org-html-inline-src-block): Fontify inline source blocks. --- lisp/ox-html.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index fc91e96..fef79ca 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2685,7 +2685,8 @@ contextual information." (let ((lbl (and (org-element-property :name inline-src-block) (org-export-get-reference inline-src-block info)))) (if (not lbl) "" (format " id=\"%s\"" lbl))))) - (format "%s" lang label code))) + (format "%s" lang label + (org-html-fontify-code code lang)))) ;;;; Inlinetask -- 2.7.0.rc0.20.g4b9ab0e