diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-01-12 08:13:11 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-01-12 08:13:11 -0800 |
commit | 5da2d1e66ca0dec86b31407f6e6e9d129e5b23b5 (patch) | |
tree | e1cfe10b843a78af8dbdd95d2f7572b40e715b30 /README | |
parent | ff74c51b532f05303343b4c9de3a8c392298c014 (diff) | |
parent | 91510a109f9284934fd5b6386fa23a5fc37b09bb (diff) | |
download | pandoc-5da2d1e66ca0dec86b31407f6e6e9d129e5b23b5.tar.gz |
Merge branch 'master' into tests
Diffstat (limited to 'README')
-rw-r--r-- | README | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -208,6 +208,10 @@ Options `markdown` or `textile`. It is selected automatically when the input format is `textile` or the output format is `latex` or `context`.) +`-5`, `--html5` +: Produce HTML5 instead of HTML4. This option has no effect for writers + other than `html`. + `-m` *URL*, `--latexmathml=`*URL* : Use the [LaTeXMathML] script to display embedded TeX math in HTML output. To insert a link to a local copy of the `LaTeXMathML.js` script, @@ -262,8 +266,9 @@ Options By default, sections are not numbered. `--section-divs` -: Wrap sections in `<div>` tags, and attach identifiers to the - enclosing `<div>` rather than the header itself. +: Wrap sections in `<div>` tags (or `<section>` tags in HTML5), + and attach identifiers to the enclosing `<div>` (or `<section>`) + rather than the header itself. See [Section identifiers](#header-identifiers-in-html), below. `--no-wrap` @@ -504,6 +509,8 @@ depending on the output format, but include: multiple values) `date` : date of document, as specified in title block +`lang` +: language code for HTML documents Variables may be set at the command line using the `-V/--variable` option. This allows users to include custom variables in their @@ -1143,8 +1150,9 @@ Note, however, that this method of providing links to sections works only in HTML. If the `--section-divs` option is specified, then each section will -be wrapped in a `div`, and the identifier will be attached to the -enclosing `<div>` tag rather than the header itself. This allows entire +be wrapped in a `div` (or a `section`, if `--html5` was specified), +and the identifier will be attached to the enclosing `<div>` +(or `<section>`) tag rather than the header itself. This allows entire sections to be manipulated using javascript or treated differently in CSS. |