markdown-extract-cli

Crates.iomarkdown-extract-cli
lib.rsmarkdown-extract-cli
version2.1.0
sourcesrc
created_at2024-10-13 03:23:07.996518
updated_at2024-10-13 03:23:07.996518
descriptionExtract sections of a markdown file with a regular expression
homepage
repositoryhttps://github.com/sean0x42/markdown-extract
max_upload_size
id1407052
size18,475
Sean Bailey (sean0x42)

documentation

README

Markdown Extract CLI

Crates.io Docker Pulls Build & Test

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
Commit count: 55

cargo fmt