Skip to content

How To Fork and Implement Highlighter / Hilite #257

@volomike

Description

@volomike

It's now becoming common to see the double equal sign around something in many variations of Markdown to indicate a highlighted section, such as:

You should ==always remember this==.

And that would display with <mark> wraparound on that, meaning often a yellow highlighter background color unless overridden by CSS.

It would be nice if CommonMark would implement a plugin system where this could be added, as well as a way to protect this from impacting any <code> or <pre> blocks that were set up with backticks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions