Mdx
Dev tools
markdown code runner
SHOW HN2024
127points
56comments
#676of 3,515 in 2024
Top 20%of 2024 by points
How HN took it
MixedNo clear lean
5 positive, 6 neutral or asking, 2 mixed, 9 critical, out of 22 comments about the project. Thread score -0.08.
Idea: 3 for, 7 againstExecution: 2 for, 1 againstDocs: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Good idea and nice to see something built and shared
From 3 comments
I'd like to commend you on building something and putting it out in there in the world, keep doing that! Also the idea of running commands and code from Markdown is obviously…
admc on HNCongratulations! Nice work. If you like this, another similar tool, though one specifically geared towards builds, is xc. https://xcfile.dev/
kitd on HNCool, at last we can now `curl | mdx` Github readmes instead of copy pasting `curl | bash` from them!
Galanwe on HN
Objections
Name collides with the well-known MDX (Markdown with JSX) technology
From 6 comments
I would put forward that mdx is not a great choice of name, given that it already has a standard meaning in the markdown ecosystem: markdown with inline react components.
Serenacula on HNYou might want to reconsider the name. MDX is already a well-known technology that combines markdown with JSX https://github.com/mdx-js/mdx/
nicoburns on HNCame here to say this, confusion ensued.
zoover2020 on HNIt also sees very wide use, it's not just a proof of concept - most who've used any recent major version of Storybook (84k stars) would know about it:…
jrajav on HNAlso Multidimensional expressions, popular in OLAP cubes. https://en.wikipedia.org/wiki/MultiDimensional_eXpressions
dcmatt on HNI came to make the same comment, so glad it's been brought up and reenforced. https://mdxjs.com/
lsaferite on HN
Requests
More examples of practical use
From 1 comment
Could use some more (or better?) examples of how this can be useful.
eterps on HN
Project-wide config, interactive stdin, env handling and variable passing
From 1 comment
I'd like to commend you on building something and putting it out in there in the world, keep doing that! Also the idea of running commands and code from Markdown is obviously…
admc on HN
Questions
How does it compare to existing similar tools like mdsh?
From 1 comment
Can you compare to https://github.com/bashup/mdsh ?
oezi on HN
Alternatives named
runme.dev
From 2 comments
I'd like to commend you on building something and putting it out in there in the world, keep doing that! Also the idea of running commands and code from Markdown is obviously…
admc on HNRunMe[1] seems like it is what you're looking for: https://docs.runme.dev/usage/run-tag 1: https://github.com/stateful/runme#runme-runs-markdown-- (Apache 2, golang) I wondered…
mdaniel on HN
rundown
From 1 comment
cf. rundown https://github.com/elseano/rundown
starkparker on HN
Org Babel
From 2 comments
ah, someone has reimplemented another feature of Org Mode. Well, this will mean Org files exported to Markdown can remain executable just like they were in Emacs, so maybe this…
dingnuts on HNYes, the feature is called org-babel and it lets you write and execute polyglot literate programs.
dingnuts on HN
mdsh
From 1 comment
Can you compare to https://github.com/bashup/mdsh ?
oezi on HN
baker
From 1 comment
Similar in Ruby/shameless pluck: https://github.com/coezbek/baker I call this a Project-Setup-as-Code tool. Supports backticks for shell and triple backticks for executing Ruby…
oezi on HN
xc
From 1 comment
Congratulations! Nice work. If you like this, another similar tool, though one specifically geared towards builds, is xc. https://xcfile.dev/
kitd on HN