File: lists9.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 (53 lines) | stat: -rw-r--r-- 874 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Maruku should not unnecessarily wrap <li>'s in <p>
*** Parameters: ***
{} # params 
*** Markdown input: ***
- Due
  1. tre
  1. tre
  1. tre
- Due
*** Output of inspect ***
md_el(:document,[
	md_el(:ul,[
		md_el(:li,[
			"Due",
			md_el(:ol,[
				md_el(:li,["tre"],{:want_my_paragraph=>false},[]),
				md_el(:li,["tre"],{:want_my_paragraph=>false},[]),
				md_el(:li,["tre"],{:want_my_paragraph=>false},[])
			],{},[])
		],{:want_my_paragraph=>false},[]),
		md_el(:li,["Due"],{:want_my_paragraph=>false},[])
	],{},[])
],{},[])
*** Output of to_html ***
<ul>
<li>Due
<ol>
<li>tre</li>
<li>tre</li>
<li>tre</li>
</ol></li>
<li>Due</li>
</ul>

*** Output of to_latex ***
\begin{itemize}%
\item Due\begin{enumerate}%
\item tre
\item tre
\item tre

\end{enumerate}

\item Due

\end{itemize}
*** Output of to_md ***
-ue* tre
* tre
* tre
-ue
*** Output of to_s ***
DuetretretreDue