Description Usage Arguments Value See Also Examples
add some padding around html objects
1 2 | f_html_padding(obj, pad_before = 0, title = NULL, subtitle = NULL,
caption = NULL, pad_after = 0, .f_htitle = htmltools::h3)
|
obj |
html object such as DT:datatable() or plotly::ggplotly() |
pad_before |
integer, Default: 0 |
title |
character vector, Default: ” |
subtitle |
character vector, Default: ” |
caption |
character vector, Default: ” |
pad_after |
character vector, Default: 0 |
.f_htitle |
function, Default: htmltools::h3 |
taglist
1 | f_html_padding(DT::datatable(mtcars),5,'mtcars Data','subtitle', 'caption', 8 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.