Skip to content
Discussion options

You must be logged in to vote

You could try using a + variant to differentiate the two. For example:

format:
  html:
    theme: flatly
  html+sketch:
    theme: sketchy

Users of your extension should then be able to do something like:

quarto render index.qmd --to extensionname-html

or

quarto render index.qmd --to extensionname-html+sketchy

I think that should work...

Both formats would only be rendered if the user were to target them both, or use --to all or the like.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by MikeLydeamore
Comment options

You must be logged in to vote
1 reply
@dragonstyle
Comment options

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