Export to various flavors of (X)HTML
commit9bc55c7d0090e0a7667ed47cfa6d4ac2b1fa00e4
authorEric Abrahamsen <eric@ericabrahamsen.net>
Thu, 2 May 2013 21:07:38 +0000 (2 14:07 -0700)
committerCarsten Dominik <carsten.dominik@gmail.com>
Mon, 6 May 2013 07:47:05 +0000 (6 09:47 +0200)
treefea5f0cb60cda5c5e703f3dfaffe466520ed584b
parent0e85c4393545f08094030c34955cf71a8ab49991
Export to various flavors of (X)HTML

* lisp/ox-html.el: (org-html-doctype-alist): New variable holding an
alist of (X)HTML doctypes
(org-html-xhtml-p): New function
(org-html-html5-p): New function
(org-html-close-tag): New function
(org-html-html5-fancy): New export option, determining whether or not to
use HTML5-specific elements.
(org-html-html5-elements): New variable, new HTML5 elements.
(org-html-special-block): Export special blocks to new HTML5 elements.
(org-html-format-inline-image): Use <figure> and <figcaption> for
standalone images.
(org-html-format-inline-image,org-html--build-meta-info)
(org-html--build-head,org-html--build-pre/postable,org-html-template)
(org-html-horizontal-rule,org-html-format-list-item)
(org-html-line-break,org-html-table,`org-html-verse-block): Changes to
allow flavored export.

* doc/org.texi: Document export to (X)HTML flavors.
doc/org.texi
lisp/ox-html.el