Added optional section numbering in HTML output.

This involves a change to the Element data structure,
including a section number as well as an id and title
for each section.  Section numbers are lists of integers;
this should allow different numbering schemes to be used
in the future.  Currently [1,2,3] -> 1.2.3.

Resolves Issue #150.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1658 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher
2009-12-08 02:36:16 +00:00
parent 0543698895
commit 2ced785e95
7 changed files with 33 additions and 19 deletions
+2 -2
View File
@@ -363,8 +363,8 @@ For further documentation, see the `pandoc(1)` man page.
displayed all at once.
`-N` or `--number-sections`
: causes sections to be numbered in LaTeX or ConTeXt output. By default,
sections are not numbered.
: causes sections to be numbered in LaTeX, ConTeXt, or HTML output.
By default, sections are not numbered.
`--no-wrap`
: disables text-wrapping in output. By default, text is wrapped