File: issue74.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 (38 lines) | stat: -rw-r--r-- 1,252 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
https://github.com/bhollis/maruku/issues/74
*** Parameters: ***
{}
*** Markdown input: ***
## Cool Title

<ul>
    <li>Cool Text yada yada</li>
    <li>ICool Tex 2 yada yada</li>
</ul>



<p id="icons">
    <a href="" class="stumbleupon" target="_blank">a</a>
    <a href="" class="stumbleupon" target="_blank">a</a>
    <a href="" class="stumbleupon" target="_blank">a</a>
</p>

## Recents Post
*** Output of inspect ***
md_el(:document, [
     	md_el(:header, "Cool Title", {:level=>2}),
     	md_html("<ul>\n    <li>Cool Text yada yada</li>\n    <li>ICool Tex 2 yada yada</li>\n</ul>"),
     	md_html("<p id=\"icons\">\n    <a href=\"\" class=\"stumbleupon\" target=\"_blank\">a</a>\n    <a href=\"\" class=\"stumbleupon\" target=\"_blank\">a</a>\n    <a href=\"\" class=\"stumbleupon\" target=\"_blank\">a</a>\n</p>"),
     	md_el(:header, "Recents Post", {:level=>2})
     ])
*** Output of to_html ***
<h2 id="cool_title">Cool Title</h2>
<ul>
    <li>Cool Text yada yada</li>
    <li>ICool Tex 2 yada yada</li>
</ul><p id="icons">
    <a href="" class="stumbleupon" target="_blank">a</a>
    <a href="" class="stumbleupon" target="_blank">a</a>
    <a href="" class="stumbleupon" target="_blank">a</a>
</p>
<h2 id="recents_post">Recents Post</h2>