Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 687 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 687 Bytes

Preview Colour Extension For Quarto

preview-colour is an extension for Quarto to provide access to LUA objects as metadata.

Installing

quarto add mcanouil/quarto-preview-colour

This will install the extension under the _extensions subdirectory. If you're using version control, you will want to check in this directory.

Using

Add the following to your YAML header:

filters:
  - preview-colour

Then define the following metadata to enable the extension for inline code and text:

preview-colour:
  code: true
  text: true

Example

Here is the source code for a minimal example: example.qmd.