Local deps?
I just painfully found out on a flight that clerk's frontend deps (in my case vega, vega lite, vega embed and katex) are not included in the source and therefore failed fetching in-browser. This is an edge case for sure, but since clerk advertises itself being local first, I think it would be nice for clerk to be able to work offline.
True, this is annoying and Clerk should support working completely offline. I'll revisit this after #36 which switches to tailwind's play cdn and is another thing to consider for offline support.
Working on this.
This has now been addressed in PR #113. Before we merge this, please test commit ccae890217c56a6826d6833af3503e1c52a575b6.
You can cache assets locally, before entering a plane, with:
clojure -X nextjournal.clerk/cache-assets!
But also while using clerk, assets will be cached on first use.
Anyone? :)