Closed earldouglas closed 1 month ago
Sometimes you just want certain section(s) of a Markdown document, rather than the whole thing. It would be handy to be able to specify them as a list of arguments:
$ cat <file.md> | codedown <lang> [<range> [<range> ...]]
Where <range> can be a single section, e.g. 1.6, or a range of sections, e.g. 1.6-2.4.
<range>
1.6
1.6-2.4
Sometimes you just want certain section(s) of a Markdown document, rather than the whole thing. It would be handy to be able to specify them as a list of arguments:
Where
<range>
can be a single section, e.g.1.6
, or a range of sections, e.g.1.6-2.4
.