Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| doc:linebreaks_and_spaces [2026/03/31 06:10] – created Simon Grant | doc:linebreaks_and_spaces [2026/04/04 19:01] (current) – [Be careful about blank lines] Simon Grant | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ---- | ---- | ||
| - | In HTML, the line breaks and paragraph breaks are coded explicitly, so it doesn' | + | In HTML, the line breaks and paragraph breaks are coded explicitly, so it doesn' |
| ===== Be careful about blank lines ===== | ===== Be careful about blank lines ===== | ||
| Line 17: | Line 17: | ||
| * both should have blank lines after them | * both should have blank lines after them | ||
| * Blank lines are needed before Markdown-syntax headings: no harm in having them before and after headings in any case | * Blank lines are needed before Markdown-syntax headings: no harm in having them before and after headings in any case | ||
| + | * Paragraphs need a blank line between them. | ||
| ===== Blank spaces ===== | ===== Blank spaces ===== | ||
| Line 66: | Line 67: | ||
| As these two conventions don't conflict, both of them work here. | As these two conventions don't conflict, both of them work here. | ||
| + | |||
| + | ==== No space at the end of Markdown list items ==== | ||
| + | |||
| + | A strange quirk is that you must not put blank spaces at the end of Markdown list item lines. Again, it messes up the formatting. | ||