Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| doc:linebreaks_and_spaces [2026/03/31 07:10] – [Be careful about blank lines] 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 15: | Line 15: | ||
| * DokuWiki lists must **not** have a blank line before them | * DokuWiki lists must **not** have a blank line before them | ||
| * Markdown lists **do** need blank lines before | * Markdown lists **do** need blank lines before | ||
| - | * 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 67: | Line 68: | ||
| As these two conventions don't conflict, both of them work here. | As these two conventions don't conflict, both of them work here. | ||
| - | ==== Space in Markdown | + | ==== No space at the end of Markdown |
| - | A strange quirk is that you must not put a blank space at the end of a Markdown list item. | + | A strange quirk is that you must not put blank spaces |