Jason Zhao
07/08/2023, 11:47 PMaltavir
07/09/2023, 6:20 AMroman.belov
07/09/2023, 2:07 PMUSE {
render<WH>{ it.let { HTML(it.toString() } }
}
in the beginning of your notebook, or in [the notebook integration](https://github.com/Kotlin/kotlin-jupyter/blob/master/docs/libraries.md) class, then objects of WH
type will always be rendered in a correct wayJason Zhao
07/09/2023, 10:30 PMvalue class
and the renderer doesn't seem to like working on it.Jason Zhao
07/09/2023, 10:31 PMStringBuilder
so I'm guessing the notebook is treating it like a stringbuilder.Jason Zhao
07/09/2023, 10:32 PMJason Zhao
07/09/2023, 10:33 PMaltavir
07/10/2023, 3:32 PMclass WHWrapper(val value: VH)
fun WH(block: WH.()->Unit) = WHWrapper(WH().apply(block))
Then add an integration for WHWrapper.Ilya Muradyan
07/10/2023, 4:49 PMIlya Muradyan
07/10/2023, 4:53 PM