git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #4212 from iredwards/master
e4f1bf8John MacFarlane
MANUAL.txt+5−5
@@ -855,8 +855,8 @@ Options affecting specific writers
855
855
856`--section-divs`
856`--section-divs`
857
857
858−: Wrap sections in `<div>` tags (or `<section>` tags in HTML5),
858+: Wrap sections in `<section>` tags (or `<div>` tags for `html4`),
859− and attach identifiers to the enclosing `<div>` (or `<section>`)
859+ and attach identifiers to the enclosing `<section>` (or `<div>`)
860 rather than the header itself. See
860 rather than the header itself. See
861 [Header identifiers], below.
861 [Header identifiers], below.
862
862
@@ -1798,9 +1798,9 @@ Note, however, that this method of providing links to sections works
1798only in HTML, LaTeX, and ConTeXt formats.
1798only in HTML, LaTeX, and ConTeXt formats.
1799
1799
1800If the `--section-divs` option is specified, then each section will
1800If the `--section-divs` option is specified, then each section will
1801−be wrapped in a `div` (or a `section`, if `html5` was specified),
1801+be wrapped in a `section` (or a `div`, if `html4` was specified),
1802−and the identifier will be attached to the enclosing `<div>`
1802+and the identifier will be attached to the enclosing `<section>`
1803−(or `<section>`) tag rather than the header itself. This allows entire
1803+(or `<div>`) tag rather than the header itself. This allows entire
1804sections to be manipulated using JavaScript or treated differently in
1804sections to be manipulated using JavaScript or treated differently in
1805CSS.
1805CSS.
1806
1806