This makes save_html() an S3 method, allowing for more customization of the logic used to save a certain class of object to an HTML file. This is useful for things like bslib::card() or bslib::page_fluid() that might want an additional container and/or other logic to run prior to the render/print stage (https://github.com/rstudio/bslib/issues/477)
This makes
save_html()
an S3 method, allowing for more customization of the logic used to save a certain class of object to an HTML file. This is useful for things likebslib::card()
orbslib::page_fluid()
that might want an additional container and/or other logic to run prior to the render/print stage (https://github.com/rstudio/bslib/issues/477)