In R {htmltools}, there is a way to preview html results in browsers from console via htmltools::browsable(). However, {py-htmltools} does not seem to have htmltools.browsable() methods.
This feature could be possibly integrated in {great_tables} to support some preview results, such as posit-dev/great-tables#100