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 HN
    • Congratulations! Nice work. If you like this, another similar tool, though one specifically geared towards builds, is xc. https://xcfile.dev/
      kitd on HN
    • Cool, 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 HN
    • You 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 HN
    • Came here to say this, confusion ensued.
      zoover2020 on HN
    • It 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 HN
    • Also Multidimensional expressions, popular in OLAP cubes. https://en.wikipedia.org/wiki/MultiDimensional_eXpressions
      dcmatt on HN
    • I 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 HN
    • RunMe[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
  • 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 HN
    • Yes, 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

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/41952779)