diff --git a/ox-reveal.el b/ox-reveal.el index 9e262cc..1dbb8b3 100644 --- a/ox-reveal.el +++ b/ox-reveal.el @@ -923,6 +923,8 @@ contextual information." #'buffer-substring)) (org-html-format-code src-block info)))) (frag (org-export-read-attribute :attr_reveal src-block :frag)) + (code-attribs (or (org-export-read-attribute + :attr_reveal src-block :code_attribs) "")) (label (let ((lbl (org-element-property :name src-block))) (if (not lbl) "" (format " id=\"%s\"" lbl))))) @@ -937,9 +939,9 @@ contextual information." (format "" (org-export-data caption info))) (if use-highlight - (format "\n%s" + (format "\n%s" (or (frag-class frag info) "") - label lang code) + label lang code-attribs code) (format "\n
%s
" (or (frag-class frag info) (format " class=\"src src-%s\"" lang))