Skip to content

No way to escape URLs so they don't linkify #631

@asmeurer

Description

@asmeurer

Describe the bug

The linkify extension seems to think that things like stuff.py are URLs. .py doesn't seem to be a TLD listed at https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains. But either way, there doesn't seem to be a way to escape the text so that it doesn't render it as a URL. I tried stuff\.py, but this still renders as "stuff.py".

Reproduce the bug

Enable the linkify extension and create a file with "something.py".

List your environment

linkify-it-py 2.0.0
myst-parser 0.18.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestupstreamThis issue requires an upstream dependency fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions