You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
autolink-java supports detecting WWW links, but the Autolink Extension for commonmark-java does not. This is easily fixed by removing this line so that the default detecting logic for autolink-java will be used. I am happy to submit a pr to do this, but wanted to first check if there is a historical reason for doing it this way since the more limited list seems to have been intentionally added in this change.
Fwiw, this is a blocker for me using the Autolink Extension in my project. If the more limited list of supported link types is intentional, it should be called out in the documentation.
Steps to reproduce the problem (provide example Markdown if applicable):
rockycodes
changed the title
Autolink Extenstion not detecting links that start with www
Autolink Extension not detecting links that start with wwwSep 21, 2023
So the reason is simply that it hasn't been added as an option to AutolinkExtension. I'd be happy for it to be added, yeah. You can copy how StrikethroughExtension does options (add a builder). And we would probably want our own enum instead of exporting autolink's.
autolink-java
supports detecting WWW links, but the Autolink Extension forcommonmark-java
does not. This is easily fixed by removing this line so that the default detecting logic forautolink-java
will be used. I am happy to submit a pr to do this, but wanted to first check if there is a historical reason for doing it this way since the more limited list seems to have been intentionally added in this change.Fwiw, this is a blocker for me using the Autolink Extension in my project. If the more limited list of supported link types is intentional, it should be called out in the documentation.
Steps to reproduce the problem (provide example Markdown if applicable):
Expected behavior:
Actual behavior:
The text was updated successfully, but these errors were encountered: