Crates.io | markdown-extract-cli |
lib.rs | markdown-extract-cli |
version | 2.1.0 |
source | src |
created_at | 2024-10-13 03:23:07.996518 |
updated_at | 2024-10-13 03:23:07.996518 |
description | Extract sections of a markdown file with a regular expression |
homepage | |
repository | https://github.com/sean0x42/markdown-extract |
max_upload_size | |
id | 1407052 |
size | 18,475 |
Extract sections of a markdown file with a regular expression.
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.
If you've got Rust installed on your system, you can simply install
markdown-extract
with Cargo.
$ cargo install markdown-extract-cli