Skip to content

header_id_from_text used by extras "header-ids" doesn't parse markdown #192

@pknowles

Description

@pknowles

I wanted to make a heading a link:

# [link](https://github.com)

link

but the id returned includes the URL text. In this case it should be just "link". Would it be expensive to parse text in the function before the call to _slugify?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions