Convert the notebook datastructure in memory to/from string. The string gets read/written to the .cljg notebook files.
clj:
lein test
lein test :only pinkgorilla.notebook.new-notebook
Tests going to github need credential file: test/creds.edn
. There is is
a sample-creds.edn
to copy for convenience.
cljs:
lein test-js
lein convert /tmp/import-test.clj
clj code in /tmp/import-test.clj will be saved as a pink-gorilla notebook to /tmp/import-test.cljg
You might want to add an alias to ~/.bashrc
alias nbconvert="cd /home/andreas/Documents/gorilla/notebook-encoding && lein convert"
add spec from notebook here
extract clojure / clojurescript routine move here from notebook
cli utility to test all notebooks ?
github api tentacles does not support cljs!
Can you improve this documentation? These fine people already did:
awb99 & Andreas SteffanEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close