File: ie.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 (62 lines) | stat: -rw-r--r-- 2,704 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
56
57
58
59
60
61
62
We must make sure that `'` is always written as `'`.

*** Parameters: ***
{:html_use_syntax => true} # params 
*** Markdown input: ***
`<p>here's an apostrophe & a quote "</p>`

	<p>here's an apostrophe & a quote "</p>
{:}

	<p>here's an apostrophe & a quote "</p>
{:lang=xml}

	<p>here's an apostrophe & a quote "</p>
{:html_use_syntax=true lang=not_supported}

	<p>here's an apostrophe & a quote "</p>
{:html_use_syntax=true lang=xml}


*** Output of inspect ***
md_el(:document,[
	md_par([md_code("<p>here's an apostrophe & a quote \"</p>")]),
	md_el(:code,[],{:raw_code=>"<p>here's an apostrophe & a quote \"</p>", :lang=>nil},[]),
	md_el(:code,[],{:raw_code=>"<p>here's an apostrophe & a quote \"</p>", :lang=>nil},[["lang", "xml"]]),
	md_el(:code,[],{:raw_code=>"<p>here's an apostrophe & a quote \"</p>", :lang=>nil},[["html_use_syntax", "true"], ["lang", "not_supported"]]),
	md_el(:code,[],{:raw_code=>"<p>here's an apostrophe & a quote \"</p>", :lang=>nil},[["html_use_syntax", "true"], ["lang", "xml"]])
],{},[])
*** Output of to_html ***
<p><code>&lt;p&gt;here's an apostrophe &amp; a quote "&lt;/p&gt;</code></p>

<pre><code>&lt;p&gt;here's an apostrophe &amp; a quote "&lt;/p&gt;</code></pre>

<pre class="xml"><code class="xml"><span class="punct">&lt;</span><span class="tag">p</span><span class="punct">&gt;</span>here's an apostrophe &amp; a quote "<span class="punct">&lt;/</span><span class="tag">p</span><span class="punct">&gt;</span></code></pre>

<pre class="not_supported"><code class="not_supported">&lt;p&gt;here's an apostrophe &amp; a quote "&lt;/p&gt;</code></pre>

<pre class="xml"><code class="xml"><span class="punct">&lt;</span><span class="tag">p</span><span class="punct">&gt;</span>here's an apostrophe &amp; a quote "<span class="punct">&lt;/</span><span class="tag">p</span><span class="punct">&gt;</span></code></pre>
*** Output of to_latex ***
{\colorbox[rgb]{1.00,0.93,1.00}{\tt \char60p\char62here\char39s\char32an\char32apostrophe\char32\char38\char32a\char32quote\char32\char34\char60\char47p\char62}}

\begin{verbatim}<p>here's an apostrophe & a quote "</p>\end{verbatim}
\begin{verbatim}<p>here's an apostrophe & a quote "</p>\end{verbatim}
\begin{verbatim}<p>here's an apostrophe & a quote "</p>\end{verbatim}
\begin{verbatim}<p>here's an apostrophe & a quote "</p>\end{verbatim}
*** Output of to_md ***

`<p>here's an apostrophe & a quote "</p>`

     <p>here's an apostrophe & a quote "</p>
{:}

     <p>here's an apostrophe & a quote "</p>
{:lang=xml}

     <p>here's an apostrophe & a quote "</p>
{:html_use_syntax=true lang=not_supported}

     <p>here's an apostrophe & a quote "</p>
{:html_use_syntax=true lang=xml}
*** Output of to_s ***