Skip to content
New issue

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

No table of contents from Markdown on Windows #4703

Closed
gwerbin opened this issue Jun 12, 2018 · 2 comments
Closed

No table of contents from Markdown on Windows #4703

gwerbin opened this issue Jun 12, 2018 · 2 comments

Comments

@gwerbin
Copy link

gwerbin commented Jun 12, 2018

On Windows 7:

test.md

Header 1
======

Header 2
--------

Text

Header 2 again
--------------

Header 1 again
==============

Fin.
"C:\Program Files (x86)\Pandoc\pandoc.exe" --version
# pandoc.exe 2.2.1
# Compiled with pandoc-types 1.17.4.2, texmath 0.11, skylighting 0.7.0.2
# Default user data directory: C:\Users\GMWERB\AppData\Roaming\pandoc
# Copyright (C) 2006-2018 John MacFarlane
# Web:  http://pandoc.org
 #This is free software; see the source for copying conditions.
 #There is no warranty, not even for merchantability or fitness
 # for a particular purpose.

"C:\Program Files (x86)\Pandoc\pandoc.exe" -f markdown+auto_identifiers -t markdown+auto_identifiers test.md -o test-toc.md --table-of-contents

The file test-toc.md is created, but it doesn't have a table of contents. I don't see what, if anything, I'm missing from the docs.

Is this a bug in Pandoc, or a bug in the User's Manual? Or is it a bug in my brain?

@jgm
Copy link
Owner

jgm commented Jun 12, 2018 via email

@gwerbin
Copy link
Author

gwerbin commented Jun 13, 2018

Thanks for clarifying! Could be worth noting in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants