Type: | Package |
Title: | Breaks Single Page Applications from 'flexdashboard' in Multiple Files |
Version: | 0.0.7 |
Description: | A drop-in replacement for 'flexdashboard' 'Rmd' documents, which implements an after-knit-hook to split the generated single page application in one document per main section to reduce rendering load in the web browser displaying the document. Put all 'JavaScript' stuff needed in all sections before the first headline featuring navigation menu attributes. This package is experimental and maybe replaced by a solution inside 'flexdashboard'. |
License: | BSD_2_clause + file LICENSE |
URL: | https://gitlab.com/libreumg/flexsiteboard/ |
BugReports: | https://gitlab.com/libreumg/flexsiteboard/-/issues |
Encoding: | UTF-8 |
Imports: | flexdashboard, htmltools, htmlwidgets, jsonlite, knitr, rmarkdown, stats, yaml |
SystemRequirements: | pandoc (>= 2.4) - http://pandoc.org |
RoxygenNote: | 7.2.1 |
VignetteBuilder: | knitr |
Suggests: | withr, testthat (≥ 3.0.0), spelling |
Config/testthat/edition: | 3 |
Language: | en-US |
NeedsCompilation: | no |
Packaged: | 2022-11-14 15:02:10 UTC; struckmanns |
Author: | University Medicine Greifswald [cph],
Stephan Struckmann
|
Maintainer: | Stephan Struckmann <stephan.struckmann@uni-greifswald.de> |
Repository: | CRAN |
Date/Publication: | 2022-11-15 23:00:02 UTC |
Flexible Dashboards Split in Sub-Pages
Description
Flexible Dashboards Split in Sub-Pages
Usage
flex_site_board(...)
Arguments
... |
see Hint: Needs all global JavaScript code before the first header. |
Value
a new format for rmarkdown
Convert a Pandoc
File
Description
Convert a Pandoc
File
Usage
pandoc_convert(
file,
text = NULL,
from = pandoc_input_formats(),
to = pandoc_output_formats()
)
Arguments
file |
file to read |
text |
string to use instead of file if set |
from |
input format |
to |
output format |
Value
the converted text
Examples
if (rmarkdown::pandoc_available()) {
x <- pandoc_convert(
text = "\\section{Test}", from = "latex", to = "markdown")
stopifnot(identical(x, "Test\n====") || identical(x, "# Test"))
}
Give all Input Formats Supported by Pandoc
Description
Give all Input Formats Supported by Pandoc
Usage
pandoc_input_formats(use_cache = TRUE)
Arguments
use_cache |
don't call |
Value
all supported Pandoc
input formats
Give all Output Formats Supported by Pandoc
Description
Give all Output Formats Supported by Pandoc
Usage
pandoc_output_formats(use_cache = TRUE)
Arguments
use_cache |
don't call |
Value
all supported Pandoc
output formats
Read a Pandoc
File from some Supported Format
Description
Read a Pandoc
File from some Supported Format
Usage
pandoc_read(file, text = NULL, from = pandoc_input_formats())
Arguments
file |
file to read |
text |
string to use instead of file if set |
from |
format of the file |
Value
the Pandoc
object
Write a Pandoc
File
Description
Write a Pandoc
File
Usage
pandoc_write(pandoc, to = pandoc_output_formats())
Arguments
pandoc |
internal |
to |
output format (supported by |
Value
the converted text