Babashka + org-mode literate programming example #907
Replies: 3 comments 4 replies
-
This is my config for literate programming clojure in .org files:
First start a |
Beta Was this translation helpful? Give feedback.
-
Nice work, currently i am using the following code block using a shell.
|
Beta Was this translation helpful? Give feedback.
-
There was a patch submitted to the org-mode mailing list to add some (really cool) support for babashka code blocks, as well as code blocks using I'm using a slightly modified version of that patch myself, and it's been great so far. |
Beta Was this translation helpful? Give feedback.
-
Hello,
The other day I made a file ob-babashka.el after someone on the Clojurian's Slack asked about babashaka code blocks in org-mode.
Using this I then wrote up a little example. In it I draw a flower. It's a simple project that has no particular goal, but I think it can be a useful starting point for anyone who may be interested in writing some clojure programs in a literate style.
ob-babashka.el:
https://gist.github.com/adam-james-v/f4d2b75a70b095d14a351a1eff96b4b0
bb-draw.org:
https://github.com/adam-james-v/bb-draw/blob/main/bb-draw.org
Beta Was this translation helpful? Give feedback.
All reactions