Re:Mdx – Execute Your Markdown Code Blocks, Now in Go
by VyseofArcadia on Saturday October 26, 2024 @12:18PM
(#41955702)
Those who do not understand Emacs are doomed to reinvent it, poorly.
With apologies to Henry Spencer.
Re:Mdx – Execute Your Markdown Code Blocks, Now in Go
by oezi on Saturday October 26, 2024 @12:50PM
(#41955941)
Casting off the shackles of Lisp! There are worse mistakes.
Re:Mdx – Execute Your Markdown Code Blocks, Now in Go
by oezi on Saturday October 26, 2024 @11:39AM
(#41955415)
Are you referring to this?
https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-...
Re:Mdx – Execute Your Markdown Code Blocks, Now in Go
by dingnuts on Saturday October 26, 2024 @12:23PM
(#41955750)
Yes, the feature is called org-babel and it lets you write and execute polyglot literate programs.
Re:Mdx – Execute Your Markdown Code Blocks, Now in Go
by alwayslikethis on Saturday October 26, 2024 @01:55PM
(#41956447)
org babel supports way more languages. Elisp (obviously), python, C, C++, Java, you name it
Re:Mdx – Execute Your Markdown Code Blocks, Now in Go
by bluesnews on Saturday October 26, 2024 @02:31PM
(#41956717)
This idea isn't just from one source but that doesn't mean another implementation isn't worthy.
We did similar at a company I worked for 15 yrs ago
Re:Mdx – Execute Your Markdown Code Blocks, Now in Go
by Bromeo on Saturday October 26, 2024 @04:49PM
(#41957625)
Yup, looks like org-babel is at least 15 years old.
https://github.com/taruti/org-babel/tree/master
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.
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