add a little detail to custom repr method docs (#13945)...
add a little detail to custom repr method docs (#13945)
These docs are a bit sparse, so I added a couple details that might help
implementers:
- explicitly state the return type, rather than only via example
- give some examples of PNG, HTML
- note that formatters shouldn't be sensitive to other formats
related to
https://github.com/Textualize/rich/pull/2806 which didn't
follow the spec, in part I think because the docs weren't explicit
enough about exactly what a formatter should do.