md4c icon indicating copy to clipboard operation
md4c copied to clipboard

[Feature Request]: Offer automatic header id as extension

Open N-R-K opened this issue 3 years ago • 2 comments

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.

N-R-K avatar Jun 27 '22 23:06 N-R-K

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.

ec1oud avatar Jul 19 '22 14:07 ec1oud

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

tim-gromeyer avatar Oct 06 '22 15:10 tim-gromeyer