-
DescriptionQ: I have in mind a Quarto extension that allows users to declare JS dependencies within a code block and then let LUA download those resources to a consistent folder for loading during runtime. Are there any examples of doing this, and are there any reasons why this is a terrible idea? Context: I want to offer a lightweight pyodide env that can load local WHL files that are provided or downloaded during compilation. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
No examples that I am aware of. You can try to browse the extensions listing: Note that there is an existing pyodide Quarto extension. Edit: It seems the Pyodide Quarto extension is downloading things, take a look at https://github.com/coatless-quarto/pyodide/blob/main/_extensions/pyodide/qpyodide.lua#L139-L142 Technically speaking, nothing is blocking you from using any custom YAML key that would contain whatever and use that in your Lua filter ( |
Beta Was this translation helpful? Give feedback.
No examples that I am aware of. You can try to browse the extensions listing:
Note that there is an existing pyodide Quarto extension.
Edit: It seems the Pyodide Quarto extension is downloading things, take a look at https://github.com/coatless-quarto/pyodide/blob/main/_extensions/pyodide/qpyodide.lua#L139-L142
Technically speaking, nothing is blocking you from using any custom YAML key that would contain whatever and use that in your Lua filter (
meta
) to do whatever you want with it.