Update README-documentation-rules.md

Added notes about lists having to start a paragraph.
This commit is contained in:
Ryan C. Gordon 2025-04-02 14:08:18 -04:00 committed by GitHub
parent 5709466ddd
commit 208ec18292
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -156,6 +156,23 @@ wikiheaders will wordwrap header comments so they fit in 80 columns, so if you
don't leave a blank line between paragraphs, they will smush into a single don't leave a blank line between paragraphs, they will smush into a single
block of text when wordwrapping. block of text when wordwrapping.
## Lists must be the start of a new paragraph.
If you write this:
```
Here is some text without a blank line
before an unordered list!
- item a
- item b
- item c
```
...then wikiheaders will word wrap this as a single paragraph, mangling the list.
Put a blank line before the list, and everything will format and wrap correctly.
This is a limitation of wikiheaders. Don't get bit by it!
## Don't worry about word wrapping. ## Don't worry about word wrapping.