Posted by dim0x69 10/26/2024
Key Features:
- Define dependencies between commands
- Supports shebangs
- Ability to pass arguments to code blocks
Would love feedback and thoughts!
Ref. makedown: https://github.com/tzador/makedown. Thanks for the idea! :)
Well, this will mean Org files exported to Markdown can remain executable just like they were in Emacs, so maybe this makes Org Babel more valuable as well, for those of us that prefer a structured markup language for notes and literate programming
And thanks to pandoc it's not hard to go back and forth
https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-...
I don't think it ever had huge adoption across whole teams, but I hope if there are new implementations that they take away a number of lessons you can gather from 15 years of org-babel.
With apologies to Henry Spencer.
We did similar at a company I worked for 15 yrs ago
https://github.com/coezbek/baker
I call this a Project-Setup-as-Code tool.
Supports backticks for shell and triple backticks for executing Ruby code.
If blocks are successfully executed they are marked as done (using markdown [x] checkboxes). So you can incrementally run a file without executing stuff twice.
chatgpt -m "I'm feeling lucky" | sudo bashOrg mode is stellar at that "code in document" tangling, but I'll be honest that I loathe the M-| behavior in emacs since, unlike its vim friend, it puts the output in a separate buffer, placing the burden upon me to copy/cut it back into the source buffer
https://github.com/josephbergevin/codebook-md
Have a look, I'd love to get some feedback. For me, it's in a good enough state that I'm able to use it in my everyday coding - but it definitely has a lot of room for improvement.
If you like this, another similar tool, though one specifically geared towards builds, is xc.