ConstWhat to watch, and what to pass to each bind.
A function that stops watching. Charts already bound stay bound.
Renamed to initObservablePlots. The watcher never had anything to do with Quarto — it binds Plot charts wherever they appear, and the Quarto name said otherwise to everyone using it on an ordinary page. Kept so the released name goes on working; it will be removed in the next major.
Watches a document for Observable Plot charts and binds each one.
This is what makes a Quarto document work without touching its cells. It binds everything already on the page, then keeps watching: OJS fills its cells asynchronously and re-fills them whenever a reactive input changes, so charts arrive after load and arrive again on every interaction.
Safe to call more than once — a chart already bound is skipped.