I'm building an org-reveal
presentation (.org
file exported to a HTML5 presentation using reveal.js
). But I want to be able to handle this presentation using a script. In order to embed a script, I need to be able to insert custom HTML elements the exported source code. But I don't want a preamble/postamble defined in ~/.emacs
globally for all my presentations - I want to define that custom elements locally in the .org
file of my presentation
How can I insert custom HTML elements to the exported source code that way?
Thanks for your answers - if anything's unclear, please leave a comment.
The Org-reveal is just updated, now you can define preamble/postamble locally by setting options "#+REVEAL_PREAMBLE:" and "#+REVEAL_POSTAMBLE:".
The preamble/postamble contents can be also defined by Emacs-Lisp Functions. For a detail instruction, please refer to the Org-reveal's Readme.org