kramdown icon indicating copy to clipboard operation
kramdown copied to clipboard

Add support for `<mark>`?

Open jaredcwhite opened this issue 2 years ago • 2 comments

Hello folks. I worked on adding custom support for highlighting text with either ::double colons:: or ==double equals== which converts to <mark> tags, but thought I'd raise the issue here if that's something Kramdown would like to add natively. It's something a lot of Markdown editors support, and it's super useful IMHO.

More info here: https://github.com/bridgetownrb/bridgetown/pull/551

jaredcwhite avatar May 11 '22 16:05 jaredcwhite

Hmm... I have never seen this syntax, so am unsure if this would be a good addition. Furthermore, adding a new syntax would break backwards compatibility, so this would only be possible in a new major version.

gettalong avatar May 11 '22 21:05 gettalong

Thanks for the reply @gettalong — I figured it'd be something that maybe could arrive eventually…under no illusion that's anytime soon. 😄

jaredcwhite avatar May 14 '22 05:05 jaredcwhite

Since this would require a major version and the benefits of the syntax are doubtful, this feature should be implemented in a custom parser/converter.

gettalong avatar Mar 20 '23 09:03 gettalong