File: ref_with_title.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 (22 lines) | stat: -rw-r--r-- 435 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
Comment
*** Parameters: ***
{}
*** Markdown input: ***
[bar][1].

[1]: /url/ "Title"
*** Output of inspect ***
md_el(:document,[
        md_par([md_link(["bar"],"1"), "."]),
        md_ref_def("1", "/url/", {:title=>"Title"})
],{},[])
*** Output of to_html ***
<p><a href="/url/" title="Title">bar</a>.</p>
*** Output of to_latex ***
\href{/url/}{bar}.
*** Output of to_md ***
[bar][1].

[1]: /url/ "Title"
*** Output of to_s ***
bar.