Skip to content
Discussion options

You must be logged in to vote

If you want absolutely to use the YAML front matter to define the colour, then you need to learn Lua and define a filter.

Alternatively, you could simply define the colour directly in the SCSS file at the beginning.

And if you want to make a "custom format", then you have to create an extension.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@liyongg
Comment options

@mcanouil
Comment options

mcanouil Feb 7, 2024
Collaborator

@liyongg
Comment options

@mcanouil
Comment options

mcanouil Feb 7, 2024
Collaborator

Answer selected by liyongg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
extensions relates to Quarto extensions mechanism
2 participants