-
We have a shortcode that adds code which loads user-supplied external files. In order for this to work for a site, the external files have to be added to the resources (https://quarto.org/docs/websites/website-tools.html#site-resources). Is it possible to do this from within the lua code of the shortcode? e.g. in refs: jmbuhr/quarto-molstar#7 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Yes definitely! You want to use HTML dependencies and/or format resources as described here: https://quarto.org/docs/extensions/lua.html#dependencies |
Beta Was this translation helpful? Give feedback.
-
Your extension code runs in the same working directory as the input document, If you have trouble making a given scenario work LMK and we'll make sure there is a hook to make it so. |
Beta Was this translation helpful? Give feedback.
-
Okay, I think we need to extend the |
Beta Was this translation helpful? Give feedback.
-
@dragonstyle Let's discuss this realtime later on this morning |
Beta Was this translation helpful? Give feedback.
Yes definitely! You want to use HTML dependencies and/or format resources as described here: https://quarto.org/docs/extensions/lua.html#dependencies