orbikm / mkdocs-ezlinks-plugin

Plugin for mkdocs which enables easier linking between pages
MIT License
34 stars 17 forks source link

Treat any link containing protocol scheme as ext #28

Closed orbikm closed 2 years ago

orbikm commented 2 years ago

This expands the existing behavior of ignoring http:// and https:// schemes (which were hardcoded into the regex) with a greedier Regex that rejects any link that contains any valid protocol scheme in the link.

A big thanks to @robbcrg for the bug report as well as a proof of concept PR (#26)!