We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ pandoc --version pandoc 1.11 $ cat test.md % Title % Author % Date Header ====== $ pandoc --from markdown --to html5 --standalone --toc --self-contained --number-sections --output test.html test.md
The HTML result has a toc and numbered headers, as expected, but there's a numbering problem:
Title Author Date 1 Header 2 Header
I.e. the numbering starts at 1 on the ToC but starts at 2 in the body.
The text was updated successfully, but these errors were encountered:
f8fec87
Fixed numbering mismatch between TOC and sections in HTML.
b207528
Also made `--number-offset` affect TOC numbering as well as section numbering, as it should have all along. Closes jgm#789.
No branches or pull requests
The HTML result has a toc and numbered headers, as expected, but there's a numbering problem:
I.e. the numbering starts at 1 on the ToC but starts at 2 in the body.
The text was updated successfully, but these errors were encountered: