Skip to content
Discussion options

You must be logged in to vote

You should take a look at the Lua API's ability to include dependencies (described here: https://quarto.org/docs/extensions/lua-api.html#dependencies). This would allow you to e.g. enclose math in a special div that is handled specially by your JS code.

Net: you can do anything you want by including JS (w/ libraries as required) and then just applying the JS to portions of the document based on e.g. divs with special classes.

We have first-party support for Observable JS (https://quarto.org/docs/computations/ojs.html) because it aligns particularly well with scientific/technical communication. Using other frameworks is absolutely possible (as demonstrated w/ the Svelte plugin) but just re…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mcanouil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants