Skip to content

Support Alerts in Github Flavored Markdown #331

@bbb651

Description

@bbb651

Context

I noticed Alerts are not supported.

They are pretty poorly specified as they are completely absent from the specification, in fact the only official information from github I found acknowledging they exist is the discussion I linked above.

Proposal

Add support for alerts, and enable it by default in the gfm-like flavor.

Is this out of scope for the core project and should be left to a plugin? I noticed task lists are a plugin instead of being supported by default which is strange to me because they are fairly common.

Tasks and updates

  • Implement a parser rule for alerts

Add support for each of them in the renderer:

  • Note
  • Tip
  • Important
  • Warning
  • Caution

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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