Skip to content

htmltools 0.5.7

Choose a tag to compare

@cpsievert cpsievert released this 03 Nov 17:57
36acb8c

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: auto or width: 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 to css() 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; while css(font_size = "3em") will return font-size:3em. (#402)

Bug fixes

  • {htmltools} now requires {rlang} version 1.0.0 or higher. (#403)