earldouglas / codedown

Extract code blocks from Markdown files
MIT License
79 stars 5 forks source link

Allow extraction from a single section #27

Closed earldouglas closed 9 months ago

earldouglas commented 9 months ago

This adds support for a new --section argument, allowing the input to be filtered down to a single numbered section.

This also adds support for named (rather than positional) arguments. The separator argument is now specified via --separator.