-
-
Notifications
You must be signed in to change notification settings - Fork 980
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 toc generated with output: md_document #1216
Comments
I can get the toc by doing
|
Did this work before but stopped working recently? If not, please see #1211. We cannot support it unless Pandoc supports it. |
Yes, this worked before. This is what I always used for my Hakyll blog. |
I've looked at #1211
|
I've tried with the default
But this doesn't generate a TOC:
There's something abnormal. |
The smoking gun is here, in the
Looks like Pandoc does not generate the TOC if there isn't the option |
I've tried to understand why you remove This generates the TOC: This generates the TOC and the YAML block is not duplicated: Thus, when Therefore I would propose this solution, but I have not seriously tested it:
|
I discovered this while investigating #1216
Okay, I'll take a look at your proposal soon. |
Should be fixed now. Thanks for the report and investigation! |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
Hello,
I've tried the latest CRAN version and the dev version. While setting
toc: true
for amd_document
, the table of contents is not generated.The text was updated successfully, but these errors were encountered: