Closed marcospereira closed 5 months ago
Adds a highlight extension as described here:
https://www.markdownguide.org/extended-syntax/#highlight
With this extension enabled, text like ==foo== will be rendered as <mark>foo</mark>. More about HTML mark element here:
==foo==
<mark>foo</mark>
mark
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark
Although this is an extended syntax, it is consistent with other extensions such as Footnotes and Heading IDs.
This was created by taking the InsExtension as an example, with the needed adjustments and tests.
InsExtension
What
Adds a highlight extension as described here:
https://www.markdownguide.org/extended-syntax/#highlight
With this extension enabled, text like
==foo==
will be rendered as<mark>foo</mark>
. More about HTMLmark
element here:https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark
Although this is an extended syntax, it is consistent with other extensions such as Footnotes and Heading IDs.
How
This was created by taking the
InsExtension
as an example, with the needed adjustments and tests.