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

[Feature Request]: Offer automatic header id as extension #178

Open
N-R-K opened this issue Jun 27, 2022 · 2 comments
Open

[Feature Request]: Offer automatic header id as extension #178

N-R-K opened this issue Jun 27, 2022 · 2 comments

Comments

@N-R-K
Copy link

N-R-K commented Jun 27, 2022

Being able to link to a specific section is a really nice to have feature.

While searching for existing issues, I found this comment which makes me think that this feature request won't be very welcomed. But I'd like to ask you to reconsider, since as said, it's something that (IMO) has more pros than cons.

@ec1oud
Copy link
Contributor

ec1oud commented Jul 19, 2022

There's also an extended syntax to set the ID (not supported in md4c AFAIK): https://www.markdownguide.org/extended-syntax/#heading-ids

This idea is not as flexible as being able to surround any chunk of text (like a key phrase in a paragraph) with <a id="foo">...</a> tags, but AFAIK there's no markdown for that: only embedded html.

@tim-gromeyer
Copy link

If I understood it right you meant this PR. I have a fork containing this PR and a crash fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants