Skip to content

How To Fork and Implement Highlighter / Hilite #257

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions