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

KaTeX Expressions aren't Included in Anchor Links #61

Open
manuth opened this issue Apr 6, 2022 · 0 comments
Open

KaTeX Expressions aren't Included in Anchor Links #61

manuth opened this issue Apr 6, 2022 · 0 comments

Comments

@manuth
Copy link

manuth commented Apr 6, 2022

Related: valeriangalliat/markdown-it-anchor#112
Currently, KaTeX-expressions aren't part of the anchor-links generated by this plugin.

It'd be awesome to either have the option to add custom token-types to be included in anchor-links or to have math_inline added to this filter:

.filter((childToken) => childToken.type === 'text' || childToken.type === 'code_inline')

Thanks for your great work 😄

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

1 participant