Textualize / rich

Rich is a Python library for rich text and beautiful formatting in the terminal.
https://rich.readthedocs.io/en/latest/
MIT License
49.04k stars 1.71k forks source link

Remove margin from text lines in Jupyter HTML template #3336

Closed vladsavelyev closed 3 months ago

vladsavelyev commented 5 months ago

Hard-code the pre margin, see context in https://github.com/Textualize/rich/issues/3335

willmcgugan commented 3 months ago

Every change to Jupyter support causes someone else to complain.

Closing, but happy to reconsider if you can convince me this doesn't break on any of the Jupyter platforms (there are many).

vladsavelyev commented 3 months ago

Should I close https://github.com/Textualize/rich/issues/3335 as well?

willmcgugan commented 3 months ago

I've practically given up on Jupyter formatting issues. The issue is reasonable, but I can't be certain any solution wont break some Jupyter platform somewhere. Happy to leave the issue, but any fix would have to be tested with a good number of Jupter platforms.