From: Dave P. <dav...@gm...> - 2014-09-09 06:32:35
|
On 9 September 2014 02:30, Waylan Limberg <way...@ic...> wrote: > This is definitely not a bug. For some reason newcomers to markdown always > try to add extra blank lines to break a list/codeblock/blockquote into two > separate blocks. There is simply nothing in the syntax [rules] to support > that however. And in fact, the original implementation (markdown.pl) does > not support such a concept. This is simply a fact of how Markdown works. So the intention is to copy markdown.pl, bugs and all? > Extra blank lines (more than one) have no implied meaning Once you get used > to the idea it becomes easy enough to work with. a problem to address with a kludge? > > Some people have been known to use HTML comments to get around this. > Remember raw HTML is passed through as is. And an HTML comment does not get > displayed in the browser. If you want to break one list into two with > nothing between, insert a raw HTML comment between them. One kludge. > > And as you seem to be confused about why the `<p>` tags are introduced, > reread the section of the rules on [lists]. Particularly the part that > starts with this line: > >> If list items are separated by blank lines, Markdown will wrap the items > in `<p>` tags in the HTML output. Which to me seems quite illogical. regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk |