News for hackers. Stuff that matters.
Re:Show HN: A Markdown based alternative to package.json scr... by porridgeraisin on Sunday October 13, 2024 @07:41AM (#41827118)
It'll be nice if you could make it level 2 headers. Reason: if we want to make it html to display as a webpage, we won't end up with multiple H1s, and we can have a H1 for like the name of the app or something.
Re:Show HN: A Markdown based alternative to package.json scr... by timz on Sunday October 13, 2024 @10:39AM (#41828411)
Great suggestion. On it
Re:Show HN: A Markdown based alternative to package.json scr... by timz on Wednesday October 16, 2024 @09:11AM (#41858693)
now commands are defined like this withing any header, and end on the next header.

### [my-command-name]() My command short description

A longer command help

```typescript #!/usr/bin/env deno run console.log("hi") ```

if hashbang is missing, it is infered from the markdown codeblock lang speck, with fallback to bash.