Skip to content

Allow Removing Certain GFM Alert Types #431

Description

@rdestefa

Is your feature request related to a problem? Please describe.

Sometimes a parser/renderer will only want to enable a subset of GFM alert types or have a completely custom set of allowed types. Currently there's no way to disallow any of the standard GFM types.

Describe the solution you'd like

A helper function on the builder like removeType would be useful here.

Activity

  1. rdestefa commented on Jun 3, 2026

    @rdestefa
    ContributorAuthor

    Made an attempt at this here: #435

  2. robinst commented on Jun 7, 2026

    @robinst
    Collaborator

    Merged the PR. Want me to cut a release, or do you have any other related changes?

  3. rdestefa commented on Jun 7, 2026

    @rdestefa
    ContributorAuthor

    Thanks for merging! I don't have any other related changes, so feel free to cut a release.

  4. rdestefa commented on Jun 10, 2026

    @rdestefa
    ContributorAuthor

    Ended up noticing one more missing feature for the alerts extension: #437

  5. robinst commented on Jun 20, 2026

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions