Skip to content Aller au contenu

Keyboard shortcuts

Press โ† or โ†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

structure.paragraph-too-long

What it flags

Paragraphs that overrun either a sentence-count or a word-count threshold. A paragraph is a visual reprise unit: long paragraphs dilute the reprise point for readers who interrupt often. Both metrics are checked so that a short-but-dense paragraph (one 80-word sentence) is still caught โ€” structure.sentence-too-long covers the complementary case.

At a glance

Categorystructure
Default severitywarning
Default weight2
LanguagesEN ยท FR (identical detection)
Sourcesrc/rules/paragraph_too_long.rs

Detection

Split on blank lines (Markdown paragraph convention). Count sentences and words per paragraph. Flag paragraphs exceeding either threshold.

Parameters

KeyTypedev-docpublicfalc
max_sentencesint753
max_wordsint15010060

Examples

A paragraph of eight medium sentences under the public profile will fire on max_sentences. A paragraph containing a single 120-word sentence will fire on max_words (and also on structure.sentence-too-long).

Suppression

See Suppressing diagnostics.

See also

References

See References for the full bibliography.