1 stable release
2.1.0 | Oct 13, 2024 |
---|
#683 in Text processing
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
~140K SLoC