Skip to content

Markdown lexer should include "-" as a valid character in mentions #3135

@taotriad

Description

@taotriad

"-" is a valid character in usernames on GitHub, but the regex that matches it for mentions currently only checks for word characters. To get mentions properly highlighted "-" should be added to the regex.

Example: @user-name

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