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
It seems not support "[TOC]" default?
The text was updated successfully, but these errors were encountered:
you may need this:
wrapper the provided html, and add some script:
<script> // add a basic TOC for markdown-js const headers = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6']; headers.forEach((value, index, array) => { const tags = document.getElementsByTagName(value); for (let index = 0; index < tags.length; index++) { tags[index].setAttribute('id', tags[index].innerText); } }); </script>
Sorry, something went wrong.
No branches or pull requests
It seems not support "[TOC]" default?
The text was updated successfully, but these errors were encountered: