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
toc page mentions anchor config in passing but not explicitly #255
Comments
@newtmitch thanks for the suggestion. Apologies for not explicitly including that in the doc page. The I'm currently focusing on organizing a Svelte meetup here in Vietnam so will come back here as soon as I can. In the meantime, happy December and (upcoming) holidays! |
Thanks for the update! I ended up going to that source file, or another one like it, to find the param was actually available. I think even a link to that file as the API for the toc component would be a good addition vs. me (and others) rooting around through the source to find the right source file describing the API. I agree with you, though, outlining that entire API might be a bit onerous. |
Looks like the
use:toc
param allows for ananchor: boolean
setting as part of its configuration to not include an anchor tag as part of the output. You mention it in passing under thedata-tag-anchor
toc attributes at the bottom, but nowhere else (that I could see) that it's an option you can pass in for the anchor tag not to be generated at all. It might be good to include that explicitly as an option the user can pass in to suppress the anchor tag generation in the final output.Sorry if I missed it, though. I looked several times. :)
The text was updated successfully, but these errors were encountered: