-
Notifications
You must be signed in to change notification settings - Fork 19
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
Underline URLs, Directories & Make run file optional #28
Comments
If this underlined existing local URIs blue, and missing, red, this would practically become a markdown wiki. |
@blacksky86 You can now disable the Regarding clickable/highlighted URLs and paths, this would be a big undertaking. The plugin doesn't parse text in views to assign semantic meaning to URLs or local URIs. It would be entirely new functionality, and would make this a different plugin. Local URIs especially would present a lot of problems. Right now, if you have a directory structure like this
And you have the letter "c" somewhere in In other words, from Open URL's point of view, every char or series of chars in a file is a potentially valid local URI! To get around this, you could parse the file for anything that starts with a path separator. E.g. on OSX, look for anything that starts with But TBH, highlighting local/remote paths is probably beyond the scope of this plugin. |
Update: the run option is now disabled by default. It has been replaced with an open with default application command, which can be invoked on any file. Again, highlighting web URLs is beyond the scope of this plugin. It also seems to me that it doesn't fit well with the plugin to add functionality that will only work with web URLs, when the rest of the plugin handles files, folders, and other URLs as well. |
First, let me say thanks for this plugin, it combines two plugins that I liked to use. But are some useful features that I like on "clickable url" that would make this one perfect. It would be great if it was we had the URLs and Directories underlined, at least give a settings option to do it. Also, I don't really run relative files to be honest, as I don't think many front end developers do. So It would be good to have a setting to just be able to skip the 'run' command and go straight to use edit.
Thank you.
The text was updated successfully, but these errors were encountered: