File: lists15.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 (36 lines) | stat: -rw-r--r-- 664 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
IAL following list
*** Parameters: ***
{}
*** Markdown input: ***
* First item
* {#foo} Second item
* Third item
{:fubar style="color:red"}

Now, a paragraph.
*** Output of inspect ***
md_el(:document, [
  md_el(:ul, [
    md_li("First item", false),
    md_li("Second item", false, [[:id, "foo"]]),
    md_li("Third item", false)
  ], {}, []),
  md_par("Now, a paragraph.")
],{},[])

*** Output of to_html ***
<ul style="color:red">
<li>First item</li>
<li id="foo">Second item</li>
<li>Third item</li>
</ul>

<p>Now, a paragraph.</p>
*** Output of to_latex ***
\begin{itemize}%
\item First item
\item Second item
\item Third item

\end{itemize}
Now, a paragraph.