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
If the heading already has an id set by another plugin, use it; otherwise, set the id.
The text was updated successfully, but these errors were encountered:
ref: https://github.com/syntax-tree/mdast-util-toc/blob/c96a9eb446a8426b53cf2b68cf6655f3f2600420/lib/search.js#L96
Sorry, something went wrong.
Since Astro sets the id of the headings in rehype, it is not possible to get the id from the remark plugin.
id
ref: https://github.com/withastro/astro/blob/297571eb98509a63f894d6fff912775b637a1482/packages/markdown/remark/src/rehype-collect-headings.ts
feat: improve compatibility with other plugins #20
fee8613
feat: improve compatibility with other plugins #20 (#67)
4220fb6
* feat: improve compatibility with other plugins #20 * fix an ESLint error
Robot-Inventor
Successfully merging a pull request may close this issue.
If the heading already has an id set by another plugin, use it; otherwise, set the id.
The text was updated successfully, but these errors were encountered: