Parameterize some html content containers
commitec8823bea50966be511deffb3c8192551ade1c99
authorRick Frankel <rick@rickster.com>
Sat, 9 Mar 2013 00:00:21 +0000 (8 19:00 -0500)
committerBastien Guerry <bzg@altern.org>
Tue, 12 Mar 2013 08:42:27 +0000 (12 09:42 +0100)
tree9a175eae1d7950106fc43a315a7c0b0e8d5c0171
parentabc94ec96ab4d17342ee2527e6757447e49cf1b2
Parameterize some html content containers

* lisp/ox-html.el: (define-backend): Add :html-doctype and
:html-container parameters.
(org-html-doctype): New option for doctype declaration.
(org-html-container-elemnt): New option for specifying the wrapper
container element.
(org-html-divs): Change to alist of three entries each containing a
key ('preamble, 'content, 'postamble), an HTML element type and an
id to allow setting container elements.
(org-html--build-preamble): Modified to use `org-html-divs'.
(org-html--build-postamble): Modified to use `org-html-divs'.
(org-html-template): Modified to use doctype and container-element
settings.
lisp/ox-html.el