From eabb47335a1bc0002e8bfc5d0a962b3f68eadc5d Mon Sep 17 00:00:00 2001 From: Richard Edwards Date: Thu, 28 Dec 2017 15:27:16 -0800 Subject: clarify default html output for --section-divs In Pandoc v2 using --section-divs and -t html results in
s, not
s, by default, as was the case for v1.9. This change to the Manual emphasizes that you must use -t html4 if you want divs, otherwise you get sections. --- MANUAL.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MANUAL.txt b/MANUAL.txt index 87c30ed9d..3f8cc6944 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -855,8 +855,8 @@ Options affecting specific writers `--section-divs` -: Wrap sections in `
` tags (or `
` tags in HTML5), - and attach identifiers to the enclosing `
` (or `
`) +: Wrap sections in `
` tags (or `
` tags for `html4`), + and attach identifiers to the enclosing `
` (or `
`) rather than the header itself. See [Header identifiers], below. @@ -1798,9 +1798,9 @@ Note, however, that this method of providing links to sections works only in HTML, LaTeX, and ConTeXt formats. If the `--section-divs` option is specified, then each section will -be wrapped in a `div` (or a `section`, if `html5` was specified), -and the identifier will be attached to the enclosing `
` -(or `
`) tag rather than the header itself. This allows entire +be wrapped in a `section` (or a `div`, if `html4` was specified), +and the identifier will be attached to the enclosing `
` +(or `
`) tag rather than the header itself. This allows entire sections to be manipulated using JavaScript or treated differently in CSS. -- cgit v1.2.3