knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%", echo = FALSE )
{bulma.R}
allows one to easily construct pages with Bulma CSS styling,
primarily used for server-side rendering in {shiny}
or using {webtools}
.
It leverages the powerful {sass}
and {htmltools}
libraries to make
Bulma easily available in R without having to write any CSS, sass or HTML
code.
For a demonstration of the various elements that can be constructed with this package, see the demo site.
This package is available from my R Universe.
install.packages("bulma.R", repos = "https://tjpalanca.r-universe.dev")
{htmltools}
allows one to easily
construct HTML pages with various CSS/JS dependencies all from within R.{sass}
is a wrapper around LibSass
that allows one to flexibly generate CSS from sass templates.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.