File: olist.md

package info (click to toggle)
ruby-maruku 0.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 1,304 kB
  • sloc: ruby: 5,741; xml: 235; makefile: 2
file content (45 lines) | stat: -rw-r--r-- 684 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

*** Parameters: ***
{}
*** Markdown input: ***
This is a list:

2. one
2. two
3. three
*** Output of inspect ***
md_el(:document,[
	md_par(["This is a list:"]),
	md_el(:ol,[
		md_el(:li,["one"],{:want_my_paragraph=>false},[]),
		md_el(:li,["two"],{:want_my_paragraph=>false},[]),
		md_el(:li,["three"],{:want_my_paragraph=>false},[])
	],{},[])
],{},[])
*** Output of to_html ***
<p>This is a list:</p>

<ol>
<li>one</li>

<li>two</li>

<li>three</li>
</ol>
*** Output of to_latex ***
This is a list:

\begin{enumerate}%
\item one
\item two
\item three

\end{enumerate}
*** Output of to_md ***
This is a list:

1. one
2. two
3. three
*** Output of to_s ***
This is a list:onetwothree