summaryrefslogtreecommitdiff
path: root/remoteusage
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2012-03-21 22:16:04 +0200
committerTomi Ollila <tomi.ollila@iki.fi>2012-03-21 22:16:04 +0200
commit267896cff2355b9ba5b30e851267b8a98288662f (patch)
tree6169eb8e70997d5935feba78e02b80f965fcc057 /remoteusage
parent10cbc1a59c3e0e3b0119ff9493d26c124b82fe05 (diff)
Markdown doc specifies that list item may have paragraphs if those
are indented by 4 spaces (or a tab) from current list item marker indentation (paragraph meaning there is empty line in between). If there is empty line and next line is not indented 4 chars then that should end the above list. This doesn't happen in all markdown implementations. In our NEWS case this problem exists in release 0.6 documentation. It can be avoided by removing 2 leading spaces in lines that are not list items and requiring all that indents are 0, 2, and 4+ (to make regexp below work). Nested lists are supported but one needs to be more careful with markup there (as the hack below works only on first level). ( The regexp in newssplit.pl mentioned above is s/^[ ][ ]// unless /^[ ][ ](?:[\s*+-]|\d+\.)\s/; ).
Diffstat (limited to 'remoteusage')
0 files changed, 0 insertions, 0 deletions