-
-
Notifications
You must be signed in to change notification settings - Fork 638
rich printing #278
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
base: main
Are you sure you want to change the base?
rich printing #278
Conversation
I just tried this and it is so nice to see! |
I see it's done with the .live() option, with streaming. Very nice. Previously it was possible to pipe the output to Rich to get Markdown rendering, but then streaming is lost. Live Markdown is a readability boost especially for chat mode. |
any chance this functionality could move forward? Whether from this PR or another like it. imo it'd be a boon to the UX of this tool! @simonw |
I would love this too! mods supports this, and it looks really cool! 😍 |
Looks awesome, would love to see this implemented! |
I've been wanting to implement this myself for weeks. I use |
UPDATE: I rebased, fixed some weird edge cases that were causing tests to fail, and resolved merged conflicts. I've opened #571 with the improvements, as this PR seems to have gone quiet 😢 |
Honestly, a general hooks framework with a toml config would be more useful. What would be really nice is generic interception |
@kristopolous I ultimately wrote https://github.com/gianlucatruda/richify to solve this and use it daily now. UPDATE: I see in another thread you know about this and have built something cool of your own. Will discuss there. |
569b316
to
f5a38d3
Compare
This can be closed as the discussion moved here |
This PR adds Rich as a dependency and includes the option to print with Markdown formatting with the
--rich
flag.Resolves: #12
Let me know if you're still interested in this and I'm happy to adapt it if you'd like