-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pyodide and webr extensions to qmd #210
Comments
This is something that I will not use, but you can add support for them if you want. An alternative would be to add a section to the Wiki teaching users how to add a custom query to their |
Adding this to {
"nvim-treesitter/nvim-treesitter",
config = function ()
vim.treesitter.language.register("r", "webr")
vim.treesitter.language.register("python", "pyodide")
end,
} But we still can't use r_chunk_lang = { "r", "python" } that users could define as: r_chunk_lang = { "r", "python", "webr", "pyodide" } Or, even better, use |
Nice finding! For this, how would you do it?
|
I don't know... But perhaps something similar to what you have done to send functions would be possible in this case. |
webr can be used in quarto documents.
We could add
.webr
(https://github.com/r-wasm/quarto-live/blob/d5e88730d9807b3f1453cdcdd0f65afb39ae5ffe/docs/interactive/hybrid.qmd#L103)pyodide
(https://github.com/r-wasm/quarto-live/blob/d5e88730d9807b3f1453cdcdd0f65afb39ae5ffe/docs/interactive/hybrid.qmd#L113)As supported code chunks
R.nvim/lua/r/utils.lua
Line 49 in 7a42582
They behave exactly as normal r and python chunks.
The text was updated successfully, but these errors were encountered: