File: lists13.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 (55 lines) | stat: -rw-r--r-- 923 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
54
55
List Items with non alphanumeric content
*** Parameters: ***
{}
*** Markdown input: ***
* {: #foo} A
* {: #bar } ?
* {#fubar} B
* {#fubar2 } C
* {Not an IAL}

*** Output of inspect ***
md_el(:document,[
  md_el(:ul,[
   md_el(:li,["A"],{:want_my_paragraph=>false},[[:id, "foo"]]),
   md_el(:li,["?"],{:want_my_paragraph=>false},[[:id, "bar"]]),
   md_el(:li,["B"],{:want_my_paragraph=>false},[[:id, "fubar"]]),
   md_el(:li,["C"],{:want_my_paragraph=>false},[[:id, "fubar2"]]),
   md_el(:li,["{Not an IAL}"],{:want_my_paragraph=>false},[])
   ],{},[]),
],{},[])

*** Output of to_html ***
<ul>
<li id="foo">A</li>

<li id="bar">?</li>

<li id="fubar">B</li>

<li id="fubar2">C</li>

<li>{Not an IAL}</li>
</ul>

*** Output of to_latex ***
\begin{itemize}%
\item A
\item ?
\item B
\item C
\item \{Not an IAL\}

\end{itemize}

*** Output of to_md ***
- A
- ?
- B
- C
- {Not an IAL}

*** Output of to_s ***
A?BC{Not an IAL}