Skip to contents

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.

Usage

slc_quarto_resources()

Value

HTML content for SLC styling and collapsible functionality

Quarto Integration

There are two ways to use SLC with Quarto:

  1. Using the slc_quarto_resources() function:

  2. Installing the Quarto extension (recommended):

    quarto add sol-eng/slc-quarto-ext

    Then add filters: - slc to your document YAML header.

Both approaches provide identical functionality.