Skip to main content

skimmd/
lib.rs

1//! skimmd — agent-driven navigation of a single Markdown file.
2//!
3//! The library exposes the core operations; the `skimmd` binary (in `src/main.rs`)
4//! is a thin CLI over them:
5//!
6//! * [`lines`] — the 1-based physical line model (`starts`, `N`, `line_of`, `span`, `chars`).
7//! * [`ranges`] — range-spec grammar: parse, validate, normalize.
8//! * [`elide`] — data-URL image elision for range output.
9//! * [`toc`] — heading extraction and TOC row computation.
10//! * [`format`] — the Markdown TOC emitter.
11
12pub mod elide;
13pub mod format;
14pub mod lines;
15pub mod ranges;
16pub mod toc;