Posted by dim0x69 1 day ago
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
The central use case is to have a fun and fast way to play with browser code, using your favorite editor, and literate programming techniques. All while being open source, local first, and minimalist.
The repo (https://github.com/javajosh/simpatico/) is not yet npm/npx compatible so you have to fork and run. This is a local first, minimalist project that has ~2 small dependencies, which themselves have no deps, so publishing was not a priority.
Eventually I'd like to automate an md-> js process, such that the md is the canonical source for javascript and the final js is a build product. I'd also like to clean up the code and publish to npm, but sadly someone is squatting on the @simpatico handle and npm won't do anything. :(
- Astro: https://docs.astro.build/en/guides/integrations-guide/mdx/
- Docusaurus: https://docusaurus.io/docs/markdown-features/react
- Eleventy: https://www.11ty.dev/docs/languages/mdx/
- NextJS: https://nextjs.org/docs/pages/building-your-application/conf...
I wrote my own version too, a while back, because it seemed like it would be useful (and indeed it has been) - a golang tool to list/search/run named blocks from markdown, joining multiple blocks together if instructed to do so:
We've expanded significantly onto the idea of a toy script/utility to bring multi-modality (editor, notebook, terminal, browser) with shared sessions to what's at the core, a universal task runner (see architecture link below).
I'd love to chat about combining efforts if you love hacking on this. The same goes for the author of `mdx`.
One hint: your examples need to be escaped to show the fence syntax. Add 4 spaces I think.
I can't see the fence instructions (without entering raw, I guess)