git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #1 from iredwards/iredwards-patch-1

clarify default html output for --section-divs

commit560855dd839f4627de479c700b087ce7600f244a authorRichard Edwards <red@treesandclouds.net> dateThu 28 Dec 2017, 15:29 (9 years ago) parent98fd9a9eabb473
1 file changed+5−5
MANUAL.txt+5−5
MANUAL.txt+5−5
@@ -855,8 +855,8 @@ Options affecting specific writers
855855
856856`--section-divs`
857857
858−: Wrap sections in `<div>` tags (or `<section>` tags in HTML5),
859− and attach identifiers to the enclosing `<div>` (or `<section>`)
858+: Wrap sections in `<section>` tags (or `<div>` tags for `html4`),
859+ and attach identifiers to the enclosing `<section>` (or `<div>`)
860860 rather than the header itself. See
861861 [Header identifiers], below.
862862
@@ -1798,9 +1798,9 @@ Note, however, that this method of providing links to sections works
17981798only in HTML, LaTeX, and ConTeXt formats.
17991799
18001800If the `--section-divs` option is specified, then each section will
1801−be wrapped in a `div` (or a `section`, if `html5` was specified),
1802−and the identifier will be attached to the enclosing `<div>`
1803−(or `<section>`) tag rather than the header itself. This allows entire
1801+be wrapped in a `section` (or a `div`, if `html4` was specified),
1802+and the identifier will be attached to the enclosing `<section>`
1803+(or `<div>`) tag rather than the header itself. This allows entire
18041804sections to be manipulated using JavaScript or treated differently in
18051805CSS.
18061806