pub const MAX_SPANS: usize = 10_000;
The most spans one highlighter call may return; the rest are dropped.