diff options
author | John MacFarlane <jgm@berkeley.edu> | 2010-07-15 19:01:00 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2010-07-15 22:26:45 -0700 |
commit | 9be9bccfcfc2c46459b3da963bc59a37f841fe8a (patch) | |
tree | 1ecfb499923d950426d8ca1cc12e1c28291ae235 /README | |
parent | 57a91f3b6add303ef70aa29a14a8c67123ec7c0f (diff) | |
download | pandoc-9be9bccfcfc2c46459b3da963bc59a37f841fe8a.tar.gz |
Added --section-divs option.
+ Header identifiers now get attached to the headers, unless
--section-divs is specified, in which case they are added to
enclosing divs. By default, the divs are not added.
+ Resolves Issue #230, #239.
Diffstat (limited to 'README')
-rw-r--r-- | README | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -400,6 +400,11 @@ For further documentation, see the `pandoc(1)` man page. : causes sections to be numbered in LaTeX, ConTeXt, or HTML output. By default, sections are not numbered. +`--section-divs` +: causes sections to be wrapped in `<div>` tags. In this case, + [section identifiers](#header-identifiers-in-html) + are attached to the enclosing `<div>` rather than the header itself. + `--no-wrap` : disables text-wrapping in output. By default, text is wrapped appropriately for the output format. @@ -1170,6 +1175,12 @@ another. A link to this section, for example, might look like this: 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 +sections to be manipulated using javascript or treated differently in +CSS. + Blank lines before headers and blockquotes ------------------------------------------ |