OJS and (eventually? TS) in Quarto

Quarto is a project that ties together a lot of tools in scientific computing and data visualization into a single framework. It uses old style Observable OJS to provide interactive visualizations. I use Quarto quite regularly in my academic work since it is so convenient to be able to produce HTML and PDF from a single input file.

Recently, there’s been some discussion about Observable “abandoning OJS” and how it might affect Quarto. I would like to reply there but I want to make sure that my description is accurate.

I’m thinking of saying something like the following:

ObservableHQ is not quite abandoning OJS. I think it’s fair to say, though, that it is deprecated in favor of TypeScript in a TS cell. My impression is that a viable approach to continue with Observable in Quarto would be to first update the Observable runtime. OJS cells should still run as they have before. With a little more work, TS cells could also be incorporated. Of course, there would be some syntax differences within those new cell types.

To be fair, I don’t know so much about Quarto’s design and how Observable is integrated, but I hope this would encourage them to at least consider it. Does this paragraph look correct and seem like a reasonable approach?

Also, I get the impression that there might be a few more esoteric corners of Observable whose behaviors have changed. Is there anything else I should be aware of?

Thanks for letting us know, Mark. I replied to the thread directly to recommend that Quarto adopt Observable Notebook Kit, which includes an official compiler (and support for Observable JavaScript).

That is amazing Mike - thank you!

Many thanks @mbostock I use Observable thanks to Quarto, which introduced me to it, and I find these two tools very complementary.