Skip to main content

13.9.2 HTML specific export settings

HTML export has a number of keywords, similar to the general options settings described in Export Settings.

β€˜DESCRIPTION’​

This is the document’s description, which the HTML exporter inserts it as a HTML meta tag in the HTML file. For long descriptions, use multiple β€˜DESCRIPTION’ lines. The exporter takes care of wrapping the lines properly.

β€˜HTML_DOCTYPE’​

Specify the document type, for example: HTML5 (org-html-doctype).

β€˜HTML_CONTAINER’​

Specify the HTML container, such as β€˜div’, for wrapping sections and elements (org-html-container-element).

The URL for home link (org-html-link-home).

The URL for the up link of exported HTML pages (org-html-link-up).

β€˜HTML_MATHJAX’​

Options for MathJax (org-html-mathjax-options). MathJax is used to typeset LaTeX math in HTML documents. See Math formatting in HTML export, for an example.

β€˜HTML_HEAD’​

Arbitrary lines for appending to the HTML document’s head (org-html-head).

β€˜HTML_HEAD_EXTRA’​

More arbitrary lines for appending to the HTML document’s head (org-html-head-extra).

β€˜KEYWORDS’​

Keywords to describe the document’s content. HTML exporter inserts these keywords as HTML meta tags. For long keywords, use multiple β€˜KEYWORDS’ lines.

β€˜LATEX_HEADER’​

Arbitrary lines for appending to the preamble; HTML exporter appends when transcoding LaTeX fragments to images (see Math formatting in HTML export).

β€˜SUBTITLE’​

The document’s subtitle. HTML exporter formats subtitle if document type is β€˜HTML5’ and the CSS has a β€˜subtitle’ class.

Some of these keywords are explained in more detail in the following sections of the manual.