shiny.semantic icon indicating copy to clipboard operation
shiny.semantic copied to clipboard

The semantic.css is too complicated.

Open galachad opened this issue 5 years ago • 0 comments
trafficstars

Currently is not possible to create html report using rmarkdown with self.contain option. It it not possible for pandoc to process semantic.css In the current state. Currently, we are using remote CDN for hosting external js/css for html reports.

Example:

semantic_html_document <- function(extra_dependencies = NULL, ...) {
  shiny_local = getOption("shiny.semantic.local")
  options("shiny.semantic.local" = TRUE)

  extra_dependencies <-
    append(
      extra_dependencies,
      get_dependencies()
    )
  options("shiny.semantic.local" = shiny_local)

  rmarkdown::html_document(
    extra_dependencies = extra_dependencies,
    self_contained = TRUE,
    ...
  )
}

The goal of this issue is research pandoc to process semantic.css

galachad avatar Jan 29 '20 18:01 galachad