• porridgeraisin 2 days ago

    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.

    • timz 2 days ago

      Great suggestion. On it

    • az09mugen 2 days ago

      That's an interesting idea you had, it makes me think of a mix between a jupyter notebook and a makefile, sort of, based on md files. I like the concept, but I need to test it to see if it fits my needs. Just a question about python and zsh, do they need to be pre-installed in your OS and accessible from PATH, that's it ?

      • cobalt60 2 days ago

        ansible for markdown?

      • zahlman 2 days ago

        >One can type `--help` after `x my-command` to print out the help associated with that command.

        I assume that there is no support for the scripts having their own command-line arguments? Or how do you disambiguate?

        Anyway, this seems like an interesting demo, but it's hard to imagine the use case.

        • timz 2 days ago

          When --help is provided, the help text from x.md is printed. Otherwise all the command line parameters are passed to the actual script that implements the command.

        • timz 2 days ago

          published 0.3 version pnpm install -g @tzador/x.md

          - better --help messages with or without command - ## level 2 headers are used - the temp file is created in current folder, like that importing npm modules from current project works

          • mutant 2 days ago

            404