-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
terminals with native HTML support #1570
Comments
I like this idea - we currently imply I think what we might want is a way to set a variable in If you're interested, I can talk you through how you could add something like that. |
I have zero experience with Rust - though I am a programming-languages guy, and have been interested in it for a while, so I can probably give it a shot. I assume you mean a way to replace It might be reasonable to extend |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue has been marked stale for more than 10 days without activity. Closing this issue, but if you find that the issue is still valid, please reopen. |
Perhaps this issue should be re-opened now that PR #6786 exists, I believe this requires a maintainer. |
Closing, as Nushell's focus for 1.0 is trying to be broad rather than lighting up functionality for specific terminals. |
The DomTerm terminal emulator (and possibly others) support native embedding of fairly general HTML, including images. See features with screenshots; especially analogous to nu are these Python goodies. Inspired by the Jupyter support, I was able to get these working "by hand":
Is there some way to automatically add the equivalent of
| to-html | domterm hcat
to each command? I see how the Jupyter shell does it, but that loses the benefit of a traditional shell, including the native input editor and being to run programs like emacs. The Python support (linked to above) uses the Python_repr_html__
hook, but that may not be appropriate for nu.The
domterm hcat
command essentially wraps standard input with some simple escape sequences so it could be replaced by some simple shell code or an option toto-html
.The text was updated successfully, but these errors were encountered: