Skip to content

mcanouil/quarto-preview-colour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Quarto extension to add preview colour as a coloured symbol next to colour code.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors 2

  •  
  •  

Languages