@@ -495,12 +495,12 @@ For example (assuming normal behavior):
495495``` markdown
496496IF THIS LINE IS THE MAXIMUM LENGTH
497497This line is okay because there are-no-spaces-beyond-that-length
498- And this line is a violation because there are
499- This-line-is-also- okay-because-there-are-no-spaces
498+ This line is a violation because there are spaces beyond that length
499+ This-line-is-okay-because-there-are-no-spaces-anywhere-within
500500```
501501
502- In ` strict ` or ` stern ` modes , the two middle lines above are a violation. The
503- third line is a violation in ` strict ` mode but allowed in ` stern ` mode .
502+ In ` strict ` mode , the last three lines above are all violations. In ` stern `
503+ mode, the middle two lines above are both violations, but the last is okay .
504504
505505You have the option to exclude this rule for code blocks, tables, or headings.
506506To do so, set the ` code_blocks ` , ` tables ` , or ` headings ` parameter(s) to false.
@@ -509,9 +509,10 @@ Code blocks are included in this rule by default since it is often a
509509requirement for document readability, and tentatively compatible with code
510510rules. Still, some languages do not lend themselves to short lines.
511511
512- Lines with link/image reference definitions are always exempted from this rule
513- (even in ` strict ` mode) because there is generally no way to split such lines
514- without breaking the URL.
512+ Lines with link/image reference definitions and standalone lines (i.e., not part
513+ of a paragraph) with only a link/image (possibly using (strong) emphasis) are
514+ always exempted from this rule (even in ` strict ` mode) because there is often no
515+ way to split such lines without breaking the URL.
515516
516517Rationale: Extremely long lines can be difficult to work with in some editors.
517518More information: < https://cirosantilli.com/markdown-style-guide#line-wrapping > .
0 commit comments