Chrome Extension To Reveal Observable Notebooks As Quarto QMD {ojs} Blocks
git clone git@github.com:hrbrmstr/reveal-qmd
In Chrome (et al) open up Extensions (chrome://extensions/
), ensure you have "Developer Mode" enabled (upper right corner of vanilla Chrome), and load this unpacked extension.
Click the reveal button on any Observable page and it will be transformed into a Quarto document with links to download said document and any FileAttachment
s. A zip archive containing a Quarto project with all the FileAttachment
s (if any will also be downloaded).
Just refresh the page to get the original Observable Notebook back.
NOTE: If the button fails to work, reload the Observable Notebook and try the operation again. Some page resources on various Notebooks prevent the operation from working the first time. This is likely due to 'promises' not being fully realized.