Replies: 1 comment 2 replies
-
Unfortunately, right now the modifiers aren't supported in the extension yaml (it allows you to target only the core pandoc format). You could make more than one extension in a single repo (more directories in the The sharing between extensions would be worse (e.g. each extension will need its own copy of resources and so on). You could keep separate copies of those resource, or there is a notion of format extensions using embedded extensions. If they share shortcodes or filters, you can bundle those up into yet a third extension and embed that into these formats. The command to do this is
You can see an example of this approach here: https://github.com/quarto-journals/acs Where a filter and shortcode extension are embedded within the ACS format. You can see that the Not a perfect answer, but hopefully this gets you a couple ideas about how you might accomplish this. Happy to chat more- extensions are very new and have some room to grow so learning about what people are doing with them is very important to us! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
My use case is the following: I want to create and dstribute two
revealjs
custom formats in the same extension. These custom formats share some components but they use different filters and resources.The documentation clearly explains how to do that for different bulit-in formats.
On the advice of @cderv, I tried to use modifiers in the
_extension.yml
file... without any success.Is it possible to do that for now?
Beta Was this translation helpful? Give feedback.
All reactions