Skip to main content

Crate skimmd

Crate skimmd 

Source
Expand description

skimmd — agent-driven navigation of a single Markdown file.

The library exposes the core operations; the skimmd binary (in src/main.rs) is a thin CLI over them:

  • lines — the 1-based physical line model (starts, N, line_of, span, chars).
  • ranges — range-spec grammar: parse, validate, normalize.
  • elide — data-URL image elision for range output.
  • toc — heading extraction and TOC row computation.
  • [format] — the Markdown TOC emitter.

Modules§

elide
Data-URL image elision (spec §2).
format
Markdown TOC emitter (spec §7).
lines
The 1-based physical line model, plus file reading (BOM strip + UTF-8 validation).
ranges
Range-spec grammar: parse, validate, normalize.
toc
Heading extraction and TOC row computation.