Expand description
Vale and Harper lint for the markdown corpus (CLI + in-process harper-core).
Structsยง
- Lint
Finding - One lint finding from any engine.
- Lint
Report - Aggregated report from one or more engines.
Enumsยง
- Lint
Engine - Which external (or in-process) lint engine to run.
Functionsยง
- binary_
available - Check whether a binary is on PATH and responds successfully to
--versionor--help. - domain_
vocab_ ๐tokens - Domain tokens always allowed for spelling (tooling / corpus jargon).
Also merged with
styles/Vocab/canonic/accept.txtwhen present (Vale vocab). - format_
report - Format a human-readable report to a string.
- harper_
binary_ name - Resolve which binary name to use for Harper CLI (optional fallback).
- harper_
command_ args - Construct Harper CLI args (best-effort across harper-cli naming).
- harper_
core_ available - In-process harper-core is always linked in this build.
- is_
domain_ ๐vocab_ spelling - lint_
paths - Lint the given paths with the selected engine(s).
Missing optional tools produce explicit entries in
report.missingand do not panic. Harper always uses in-processharper-corewhen the Harper engine is selected. - lint_
text_ harper_ inprocess - Lint a single text buffer with in-process harper-core (unit-testable pure path).
- prose_
paragraphs ๐ - Yield (1-based start line, paragraph text), skipping front matter, headings, fences, lists markers lightly.
- run_
harper_ ๐cli - run_
harper_ ๐inprocess - run_
vale ๐ - vale_
command_ args - Construct the Vale command line for the given paths (tested without running Vale).