-
Notifications
You must be signed in to change notification settings - Fork 822
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
Running Textual tests opens links in my web browser? #5169
Comments
I suspect that is because I changed the Markdown widgets to open urls by default. We probably need to set |
Oof, thanks Will that explains it! Fix incoming...! |
Perhaps I should raise a separate issue for this, but I'm wondering if opening links by default is actually a good idea? Markdown links might not be websites but actually a heading or other documents on the disk. For example, now running |
It was added recently, because too many users expected it and were opening issues. The problem is that it is ambigious. is markdown.md a file or https://markdown.md ? I'm not disagreeing though. The default behavior should be the least astonishing -- whatever that may be. Anything else, the dev can handling the appropriate event. |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
Damned if you do and damned if you don't! My concern is that internal links are probably more common than external links (e.g. table of contents), so this will just open new issues. Perhaps there's some compromise, or the documentation can be improved on handling markdown links. (I'm guessing these are issues raised in the Discord, as I don't recall seeing any issues/discussions in this repo?) |
Thankfully |
This is a bit of a weird one and might just be some issue in my setup! After pulling the latest changes, I was a bit concerned when links started opening in my web browser! This includes
http://tété/
,https://test.md/#first
and filepaths like/textual/#second
Anyone else experiencing this or have any idea what the issue might be?!
The text was updated successfully, but these errors were encountered: