htmltools 0.5.7
New Features
save_html()is now an S3 generic, allowing for more customization over how certain classes are saved to an HTML file. (#411)
Improvements
-
Fill items no longer set
overflow: autoorwidth: 100%by default. (#401) -
css()now fully supports setting custom CSS properties (or CSS variables) via inline styles. When the name of a value passed tocss()starts with--, it will be treated as a custom CSS property and absolutely no changes will be made to the variable. For example,css("--font_size" = "3em")returns--font_size:3em;whilecss(font_size = "3em")will returnfont-size:3em. (#402)
Bug fixes
{htmltools}now requires{rlang}version 1.0.0 or higher. (#403)