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

Add toc link when enable set to true. #69

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

zw963
Copy link
Contributor

@zw963 zw963 commented Feb 11, 2025

Enable display a link svg when set Markd::Options.new(toc: true), like following screenshot.

image

@trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label Feb 11, 2025
@icyleaf
Copy link
Owner

icyleaf commented Mar 2, 2025

Anchor link is a part of toc, full toc feature needs to generate the table of content or provide a method to get the toc.

@zw963
Copy link
Contributor Author

zw963 commented Mar 2, 2025

generate the table of content

Yes, this is one of feature of toc, but i thought it's optional.

But, i consider anchor link is necessary for a HTML rendered markdown title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔍 Ready for Review Pull Request is not reviewed yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants