File: lists_nested_blankline.md

package info (click to toggle)
ruby-maruku 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,296 kB
  • ctags: 492
  • sloc: ruby: 5,726; xml: 235; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Nesting lists should handle newlines inbetween list items.
*** Parameters: ***
{} # params 
*** Markdown input: ***
* Bar
  * Bax

  * boo
*** Output of inspect ***
md_el(:document, md_el(:ul, [
	md_li([
	  md_par("Bar"),
	  md_el(:ul, [
	    md_li(md_par("Bax"), true),
	    md_li(md_par("boo"), false)
          ], {}, [])
       ],true)
],{},[]))
*** Output of to_html ***
<ul>
<li>
<p>Bar</p>

<ul>
<li>
<p>Bax</p>
</li>

<li>
<p>boo</p>
</li>
</ul>
</li>
</ul>