hrbrmstr / reveal-qmd

Chrome Extension To Reveal Observable Notebooks As Quarto QMD {ojs} Blocks & provide downloads of FileAttachments and zipped Quarto project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reveal-qmd

Chrome Extension To Reveal Observable Notebooks As Quarto QMD {ojs} Blocks

Usage:

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.

chrome extension tab capture

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 FileAttachments. A zip archive containing a Quarto project with all the FileAttachments (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.

showing where the button is

showing the resultant document

showing vs code with quarto project open

About

Chrome Extension To Reveal Observable Notebooks As Quarto QMD {ojs} Blocks & provide downloads of FileAttachments and zipped Quarto project

License:MIT License


Languages

Language:JavaScript 99.9%Language:HTML 0.1%Language:CSS 0.0%