4 ms·
if you need simple output you can just run clojure in orgmode and output svg https://geokon-gh.github.io/literate-clojure.html https://geokon-gh.github.io/lite
by geokon 5y ago
if you need simple output you can just run clojure in orgmode and output svg
https://geokon-gh.github.io/literate-clojure.html https://geokon-gh.github.io/literate-clojure.html
- newtwilly 5y agoThanks for sharing. I may do this if I ever decide to do some 'notebook' style work. Oz mentions integrating with jupyter and whatever else, but I love org-mode and wouldn't really want to start using a tool other than Emacs if I could avoid it :)
- geokon 5y agoTo be clear, there isn't really any org magic going on. You can also do the same identical stuff directly from a REPL and just spit the SVGs to file. I've also used the same stuff in a GUI - where the SVGs are rendered directly in the UI (I just parse the SVG elements and draw to the Canvas) Oz/Vega/etc. innately have this blackbox JS layout/rendering layer which I'm weary of. Here you are just manipulating SVG hiccup directly in Clojure. And then at the very last stage it's exported to SVG's XML syntax.