-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
other URL schemes #72
Labels
Comments
LGTM |
see: #73 (comment) |
For a list of URL schemes, maybe we could use https://www.npmjs.com/package/schemes but it does not contain any information about the "security" of a URL scheme. |
To follow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
💡 Summary
Only
http
orhttps
URL schemes are recognized. According to the WHATWG specification, many more schemes are possible (mailto
,irc
,gemini
, ...):[a-zA-Z] [-a-zA-Z0-9+.]* ":"
👉 current specification about URL scheme (⎇日本語)
Understanding all possible URLs in normal text could lead to too many links. My idea would be to understand other URLs only in
altUrlFormat
andlinkUrl
(but not inurlFormat
).🙂 Expected Behavior
↓
The text was updated successfully, but these errors were encountered: