Styler for OJS chunks in QMD Files #4196
-
Excited to start using Positron! Curious if there is, or if there are plans for, automatic styling of OJS chunks in QMD files? e.g., something that would turn ```{ojs}
Plot.plot({
marks: [
Plot.dot(transpose(iris), {x: "Sepal.Length", y: "Petal.Width"})
]
})
``` into ```{ojs}
Plot.plot({
marks: [
Plot.dot(transpose(iris), {x: "Sepal.Length", y: "Petal.Width"})
]
})
``` Or similar. Can't get CTRL-SHIFT-A or CTRL-K CTRL-F to work! Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The solution to this will need to come from the Quarto extension, since it provides formatting for Unfortunately though, that does not yet work for Observable chunks (it does work for R and Python). Can you open an issue on the repo for the Quarto extension that you would like the "Quarto: Format Cell" command to work for Observable? |
Beta Was this translation helpful? Give feedback.
The solution to this will need to come from the Quarto extension, since it provides formatting for
.qmd
files. They have a command to format a cell:Unfortunately though, that does not yet work for Observable chunks (it does work for R and Python). Can you open an issue on the repo for the Quarto extension that you would like the "Quarto: Format Cell" command to work for Observable?
https://github.com/quarto-dev/quarto/issues