This function includes CSS and JavaScript resources to enhance SLC code chunks in Quarto documents. It extracts the same functionality from the SLC Quarto extension's Lua filter to ensure consistency.
Quarto Integration
There are two ways to use SLC with Quarto:
Using the
slc_quarto_resources()function:library(slcr) slc_quarto_resources()Installing the Quarto extension (recommended):
Then add
filters: - slcto your document YAML header.
Both approaches provide identical functionality.