Adds required hooks to RMarkdown to process gridlayout chunks and style document accordingly. Layout will be generated from a chunk identified with the syntax ```{gridlayout} <insert layout table here> ```

use_gridlayout_rmd(container_query = ".main-container", selector_prefix = "#")

Arguments

container_query

The CSS selector used to access the main grid container. This is typically left at the default of '.main-container' as that's the parent of each section in the standard rmd template.

selector_prefix

CSS prefix used to target grid elements. This will change if you're integrating grid with a system that you don't want to use ids (the "#" prefix) with because they are not available or are used for other reasons.

Details

See vignette("using_with_rmd", package = "gridlayout") for a more in-depth overview.