1 stable release
2.1.0 | Oct 13, 2024 |
---|
#425 in Text processing
211 downloads per month
16KB
241 lines
Extract sections of a markdown file with a regular expression.
Usage
Given a document called my-document.md
:
# Welcome
This is my amazing markdown document.
## Extract me!
This section should be pulled out.
You can extract the second section with the following command:
$ markdown-extract "Extract me!" my-document.md
## Extract me!
This section should be pulled out.
Installation
If you've got Rust installed on your system, you can simply install
markdown-extract
with Cargo.
$ cargo install markdown-extract-cli
Dependencies
~8MB
~137K SLoC