htmltools 0.5.1
-
Tagobjects can now be used as context managers, as inwith tags.div():. When used this way, then inside thewithblock,sys.displayhookis replaced with a function which adds items as children to theTag. This is meant to be used with Shiny Express, Quarto, or Jupyter. (#76) -
Added a function
wrap_displayhook_handler(). This alliows displayhooks to delegate their logic for handling various kinds of objects (likeTagobjects and objects with a_repr_html()) to this function. (#77)