Split a markdown text into sections based on headings.
[dependencies]
markdown-split = { git = "https://github.com/0x6b/markdown-split", tag = "vx.x.x" }See examples/basic.rs for usage.
You may find text_splitter crate with the markdown feature more useful for your use case. This is for my personal simple use case.
MIT. See LICENSE.
The tests/fixtures directory contains excerpts from the book "The Rust Programming Language," and is under the same license as Rust itself, MIT/Apache2. See the following links for details:
- English version: LICENSE-MIT, LICENSE-APACHE
- Japanese version: LICENSE-MIT, LICENSE-APACHE