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
When I include the following configuration in the config.js file:
config.js
markdown: { toc: { includeLevel: [2] } }
The [[toc]] in my .md files renders empty, even though the page is full of <h2> headings:
[[toc]]
<h2>
<div class="table-of-contents"> <ul></ul> </div>
If I remove the extra configuration, it works fine, but renders both <h2> and <h3> (as expected, but not desired).
<h3>
1.0.0-alpha.44
Repo: https://github.com/danrocha/tfa-vuepress
Add and remove the configuration above in config.js and check the rendered page, for example, http://localhost:8080/guides/dubai/#buildings (right below the map).
To have a Table of Contents with only <h2> level headings displayed.
The Table of Contents div renders empty.
The text was updated successfully, but these errors were encountered:
Sorry to hear that.
It's a known issue introduced by 1.0.0-alpha.41. I will fix it in several weeks.
1.0.0-alpha.41
Sorry, something went wrong.
No branches or pull requests
Bug report
When I include the following configuration in the
config.js
file:The
[[toc]]
in my .md files renders empty, even though the page is full of<h2>
headings:If I remove the extra configuration, it works fine, but renders both
<h2>
and<h3>
(as expected, but not desired).Version
1.0.0-alpha.44
Steps to reproduce
Repo: https://github.com/danrocha/tfa-vuepress
Add and remove the configuration above in
config.js
and check the rendered page, for example, http://localhost:8080/guides/dubai/#buildings (right below the map).What is expected?
To have a Table of Contents with only
<h2>
level headings displayed.What is actually happening?
The Table of Contents div renders empty.
Other relevant information
The text was updated successfully, but these errors were encountered: