-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
URL highlighting #485
Comments
This may not be easy, since data URIs can contain pretty much anything, right? Also, this should probably be a plugin. |
Of course it wouldn’t be in Core, I was planning to have it as a language definition. Re:data URIs, I meant the urlencoded ones (which these days can have no urlencoded characters at all, as few characters really need escaping in them) |
If it is as a language definition, then could it be used in combination with another language definition? What I meant about the contents of the data URI is that it may need to be highlighted as markup (like in your example, again) or as pretty much anything else depending on the mime type used. |
This issue is more of a note to self, as I'd love to write this myself when I get some time.
The lang definition would go through all existing languages and replace url tokens with itself as
inside
. Then it would highlight data URIs (e.g. SVG in data URIs, like this), it could highlight hashes and query params and many other things.Thoughts? Do you guys think it would be useful?
The text was updated successfully, but these errors were encountered: