Latest Maruku and Tweak for itex2MML 1.3.4
Instiki's LaTeX output also supports \Perp.
This commit is contained in:
parent
5dd0507acc
commit
9b7b6fb805
94 changed files with 2126 additions and 1171 deletions
|
@ -101,6 +101,7 @@
|
||||||
\re@DeclareMathSymbol{\swArrow}{\mathrel}{symbolsC}{119}
|
\re@DeclareMathSymbol{\swArrow}{\mathrel}{symbolsC}{119}
|
||||||
\re@DeclareMathSymbol{\swArr}{\mathrel}{symbolsC}{119}
|
\re@DeclareMathSymbol{\swArr}{\mathrel}{symbolsC}{119}
|
||||||
\re@DeclareMathSymbol{\nequiv}{\mathrel}{symbolsC}{46}
|
\re@DeclareMathSymbol{\nequiv}{\mathrel}{symbolsC}{46}
|
||||||
|
\re@DeclareMathSymbol{\Perp}{\mathrel}{symbolsC}{121}
|
||||||
\makeatother
|
\makeatother
|
||||||
|
|
||||||
% Widecheck
|
% Widecheck
|
||||||
|
|
100
vendor/plugins/maruku/lib/maruku/ext/div.rb
vendored
Normal file
100
vendor/plugins/maruku/lib/maruku/ext/div.rb
vendored
Normal file
|
@ -0,0 +1,100 @@
|
||||||
|
|
||||||
|
|
||||||
|
OpenDiv = /^[ ]{0,3}\+\-\-+\s*([^\s-]*)\s*\-*\s*$/
|
||||||
|
CloseDiv = /^[ ]{0,3}\=\-\-+\s*([^\s-]*)\s*\-*\s*$/
|
||||||
|
StartPipe = /^[ ]{0,3}\|(.*)$/ # $1 is rest of line
|
||||||
|
DecorativeClosing = OpenDiv
|
||||||
|
|
||||||
|
MaRuKu::In::Markdown::register_block_extension(
|
||||||
|
:regexp => OpenDiv,
|
||||||
|
:handler => lambda { |doc, src, context|
|
||||||
|
# return false if not doc.is_math_enabled?
|
||||||
|
first = src.shift_line
|
||||||
|
first =~ OpenDiv
|
||||||
|
ial_at_beginning = $1
|
||||||
|
ial_at_end = nil
|
||||||
|
|
||||||
|
lines = []
|
||||||
|
# if second line starts with "|"
|
||||||
|
if src.cur_line =~ StartPipe
|
||||||
|
# then we read until no more "|"
|
||||||
|
while src.cur_line && (src.cur_line =~ StartPipe)
|
||||||
|
content = $1
|
||||||
|
lines.push content
|
||||||
|
src.shift_line
|
||||||
|
end
|
||||||
|
if src.cur_line =~ DecorativeClosing
|
||||||
|
ial_at_end = $1
|
||||||
|
src.shift_line
|
||||||
|
end
|
||||||
|
else
|
||||||
|
# else we read until CloseDiv
|
||||||
|
divs_open = 1
|
||||||
|
while src.cur_line && (divs_open>0)
|
||||||
|
if src.cur_line =~ CloseDiv
|
||||||
|
divs_open -= 1
|
||||||
|
if divs_open == 0
|
||||||
|
ial_at_end = $1
|
||||||
|
src.shift_line
|
||||||
|
break
|
||||||
|
else
|
||||||
|
lines.push src.shift_line
|
||||||
|
end
|
||||||
|
else
|
||||||
|
if src.cur_line =~ OpenDiv
|
||||||
|
divs_open += 1
|
||||||
|
end
|
||||||
|
lines.push src.shift_line
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if divs_open > 0
|
||||||
|
e = "At end of input, I still have #{divs_open} DIVs open."
|
||||||
|
doc.maruku_error(e, src, context)
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
ial_at_beginning = nil unless
|
||||||
|
(ial_at_beginning&&ial_at_beginning.size > 0)
|
||||||
|
ial_at_end = nil unless (ial_at_end && ial_at_end.size > 0)
|
||||||
|
|
||||||
|
if ial_at_beginning && ial_at_end
|
||||||
|
e = "Found two conflicting IALs: #{ial_at_beginning.inspect} and #{ial_at_end.inspect}"
|
||||||
|
doc.maruku_error(e, src, context)
|
||||||
|
end
|
||||||
|
|
||||||
|
al_string = ial_at_beginning || ial_at_end
|
||||||
|
al = nil
|
||||||
|
|
||||||
|
if al_string =~ /^\{(.*)\}$/
|
||||||
|
inside = $1
|
||||||
|
cs = MaRuKu::In::Markdown::SpanLevelParser::CharSource
|
||||||
|
al = al_string &&
|
||||||
|
doc.read_attribute_list(cs.new(inside), its_context=nil, break_on=[nil])
|
||||||
|
end
|
||||||
|
|
||||||
|
src = MaRuKu::In::Markdown::BlockLevelParser::LineSource.new(lines)
|
||||||
|
children = doc.parse_blocks(src)
|
||||||
|
|
||||||
|
context.push doc.md_div(children, al)
|
||||||
|
true
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
module MaRuKu; class MDElement
|
||||||
|
|
||||||
|
def md_div(children, a=nil)
|
||||||
|
self.md_el(:div, children, meta={}, a)
|
||||||
|
end
|
||||||
|
|
||||||
|
end end
|
||||||
|
|
||||||
|
|
||||||
|
module MaRuKu; module Out; module HTML
|
||||||
|
|
||||||
|
def to_html_div
|
||||||
|
add_ws wrap_as_element('div')
|
||||||
|
end
|
||||||
|
|
||||||
|
end end end
|
2
vendor/plugins/maruku/lib/maruku/ext/math.rb
vendored
2
vendor/plugins/maruku/lib/maruku/ext/math.rb
vendored
|
@ -33,7 +33,7 @@ Summary: Math openings which should be numerated
|
||||||
|
|
||||||
Array containing any of `'\\['`, `'\\begin{equation}'`, `'$$'`.
|
Array containing any of `'\\['`, `'\\begin{equation}'`, `'$$'`.
|
||||||
|
|
||||||
MaRuKu::Globals[math_numbered] = ['\\[']
|
MaRuKu::Globals[:math_numbered] = ['\\[']
|
||||||
|
|
||||||
=end
|
=end
|
||||||
|
|
||||||
|
|
|
@ -508,7 +508,9 @@ module MaRuKu; module In; module Markdown; module BlockLevelParser
|
||||||
end
|
end
|
||||||
|
|
||||||
def split_cells(s)
|
def split_cells(s)
|
||||||
s.strip.split('|').select{|x|x.strip.size>0}.map{|x|x.strip}
|
# s.strip.split('|').select{|x|x.strip.size>0}.map{|x|x.strip}
|
||||||
|
# changed to allow empty cells
|
||||||
|
s.strip.split('|').select{|x|x.size>0}.map{|x|x.strip}
|
||||||
end
|
end
|
||||||
|
|
||||||
def read_table(src)
|
def read_table(src)
|
||||||
|
|
|
@ -271,7 +271,7 @@ module MaRuKu; module In; module Markdown; module SpanLevelParser
|
||||||
extension_meta(src, con, break_on_chars)
|
extension_meta(src, con, break_on_chars)
|
||||||
else
|
else
|
||||||
stuff = read_simple(src, escaped=[?}], break_on_chars, [])
|
stuff = read_simple(src, escaped=[?}], break_on_chars, [])
|
||||||
if stuff =~ /^(\w+\s|[^\w])/u
|
if stuff =~ /^(\w+\s|[^\w])/
|
||||||
extension_id = $1.strip
|
extension_id = $1.strip
|
||||||
if false
|
if false
|
||||||
else
|
else
|
||||||
|
@ -594,7 +594,7 @@ module MaRuKu; module In; module Markdown; module SpanLevelParser
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
else # empty [link]
|
else # empty [link]
|
||||||
id = children.to_s.downcase.gsub(' ','_')
|
id = sanitize_ref_id(children.to_s) #. downcase.gsub(' ','_')
|
||||||
con.push_element md_link(children, id)
|
con.push_element md_link(children, id)
|
||||||
end
|
end
|
||||||
end # read link
|
end # read link
|
||||||
|
@ -647,14 +647,19 @@ module MaRuKu; module In; module Markdown; module SpanLevelParser
|
||||||
con.push_element md_im_image(alt_text, url, title)
|
con.push_element md_im_image(alt_text, url, title)
|
||||||
when ?[ # link ref
|
when ?[ # link ref
|
||||||
ref_id = read_ref_id(src,con)
|
ref_id = read_ref_id(src,con)
|
||||||
if ref_id.size == 0
|
if not ref_id # TODO: check around
|
||||||
ref_id = alt_text.to_s.downcase.gsub(' ','_')
|
error('Reference not closed.', src, con)
|
||||||
else
|
ref_id = ""
|
||||||
ref_id = ref_id.downcase
|
|
||||||
end
|
end
|
||||||
|
if ref_id.size == 0
|
||||||
|
ref_id = alt_text.to_s
|
||||||
|
end
|
||||||
|
|
||||||
|
ref_id = sanitize_ref_id(ref_id)
|
||||||
|
|
||||||
con.push_element md_image(alt_text, ref_id)
|
con.push_element md_image(alt_text, ref_id)
|
||||||
else # no stuff
|
else # no stuff
|
||||||
ref_id = alt_text.to_s.downcase.gsub(' ','_')
|
ref_id = sanitize_ref_id(alt_text.to_s)
|
||||||
con.push_element md_image(alt_text, ref_id)
|
con.push_element md_image(alt_text, ref_id)
|
||||||
end
|
end
|
||||||
end # read link
|
end # read link
|
||||||
|
|
|
@ -44,8 +44,8 @@ module MaRuKu; module Strings
|
||||||
return :definition if l =~ Definition
|
return :definition if l =~ Definition
|
||||||
# I had a bug with emails and urls at the beginning of the
|
# I had a bug with emails and urls at the beginning of the
|
||||||
# line that were mistaken for raw_html
|
# line that were mistaken for raw_html
|
||||||
return :text if l=~ /^#{EMailAddress}/
|
return :text if l=~ /^[ ]{0,3}#{EMailAddress}/
|
||||||
return :text if l=~ /^<http:/
|
return :text if l=~ /^[ ]{0,3}<http:/
|
||||||
# raw html is like PHP Markdown Extra: at most three spaces before
|
# raw html is like PHP Markdown Extra: at most three spaces before
|
||||||
return :xml_instr if l =~ %r{^\s*<\?}
|
return :xml_instr if l =~ %r{^\s*<\?}
|
||||||
return :raw_html if l =~ %r{^[ ]?[ ]?[ ]?</?\s*\w+}
|
return :raw_html if l =~ %r{^[ ]?[ ]?[ ]?</?\s*\w+}
|
||||||
|
|
|
@ -148,6 +148,7 @@ module MaRuKu; module Strings
|
||||||
s[0, i+1].strip
|
s[0, i+1].strip
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# change space to "_" and remove any non-word character
|
||||||
def sanitize_ref_id(x)
|
def sanitize_ref_id(x)
|
||||||
x.downcase.gsub(' ','_').gsub(/[^\w]/,'')
|
x.downcase.gsub(' ','_').gsub(/[^\w]/,'')
|
||||||
end
|
end
|
||||||
|
|
1
vendor/plugins/maruku/lib/maruku/textile2.rb
vendored
Normal file
1
vendor/plugins/maruku/lib/maruku/textile2.rb
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
require 'maruku/input_textile2/t2_parser'
|
2
vendor/plugins/maruku/lib/maruku/version.rb
vendored
2
vendor/plugins/maruku/lib/maruku/version.rb
vendored
|
@ -19,7 +19,7 @@
|
||||||
#++
|
#++
|
||||||
|
|
||||||
module MaRuKu
|
module MaRuKu
|
||||||
Version = '0.5.7'
|
Version = '0.5.8'
|
||||||
|
|
||||||
MarukuURL = 'http://maruku.rubyforge.org/'
|
MarukuURL = 'http://maruku.rubyforge.org/'
|
||||||
|
|
||||||
|
|
|
@ -69,11 +69,17 @@ The HTML specification is maintained by the W3C.Operation Tigra Genesis is going
|
||||||
<p>*[Tigra Genesis]:</p>
|
<p>*[Tigra Genesis]:</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>The HTML specification is maintained by the W3C.</p
|
<p>
|
||||||
><p>*[HTML]: Hyper Text Markup Language
|
The HTML specification is maintained by the W3C.
|
||||||
*[W3C]: World Wide Web Consortium</p
|
</p>
|
||||||
><p>Operation Tigra Genesis is going well.</p
|
<p>
|
||||||
><p>*[Tigra Genesis]:</p
|
*[HTML]: Hyper Text Markup Language *[W3C]: World Wide Web Consortium
|
||||||
></div
|
</p>
|
||||||
>
|
<p>
|
||||||
|
Operation Tigra Genesis is going well.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
*[Tigra Genesis]:
|
||||||
|
</p>
|
||||||
|
</div>
|
11
vendor/plugins/maruku/tests/unittest/alt.md
vendored
11
vendor/plugins/maruku/tests/unittest/alt.md
vendored
|
@ -27,9 +27,8 @@ bar
|
||||||
<p><img src="/foo.jpg" alt="bar" title="" /></p>
|
<p><img src="/foo.jpg" alt="bar" title="" /></p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p
|
<p>
|
||||||
><img title='' src='/foo.jpg' alt='bar'
|
<img title='' src='/foo.jpg' alt='bar'/>
|
||||||
/></p
|
</p>
|
||||||
></div
|
</div>
|
||||||
>
|
|
|
@ -31,8 +31,8 @@ md_el(:document,[
|
||||||
{:b: a}</p>
|
{:b: a}</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>{a}: a
|
<p>
|
||||||
{:b: a}</p
|
{a}: a {:b: a}
|
||||||
></div
|
</p>
|
||||||
>
|
</div>
|
|
@ -42,10 +42,11 @@ Paragraph1Paragraph2
|
||||||
Paragraph2</p>
|
Paragraph2</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Paragraph1
|
<p>
|
||||||
{:#par1}</p
|
Paragraph1 {:#par1}
|
||||||
><p>{:#par2}
|
</p>
|
||||||
Paragraph2</p
|
<p>
|
||||||
></div
|
{:#par2} Paragraph2
|
||||||
>
|
</p>
|
||||||
|
</div>
|
|
@ -79,15 +79,27 @@ Header with attributesHeader with attributesHeader no attributesParagraph with a
|
||||||
<p>{:hello: .chello}</p>
|
<p>{:hello: .chello}</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><h2>Header with attributes {#header1} </h2
|
<h2>
|
||||||
><h3>Header with attributes ### {#header2}</h3
|
Header with attributes {#header1}
|
||||||
><h3>Header no attributes</h3
|
</h2>
|
||||||
><p>{:warn2}Paragraph with a.
|
<h3>
|
||||||
{#par1}</p
|
Header with attributes ### {#header2}
|
||||||
><p>Paragraph with <em>emphasis</em
|
</h3>
|
||||||
>{:hello notfound}
|
<h3>
|
||||||
{#par2}</p
|
Header no attributes
|
||||||
><p>{:hello: .chello}</p
|
</h3>
|
||||||
></div
|
<p>
|
||||||
>
|
{:warn2}Paragraph with a. {#par1}
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Paragraph with
|
||||||
|
<em>
|
||||||
|
emphasis
|
||||||
|
</em>
|
||||||
|
{:hello notfound} {#par2}
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
{:hello: .chello}
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -40,10 +40,11 @@ Paragraph
|
||||||
{:b: a}</p>
|
{:b: a}</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Paragraph
|
<p>
|
||||||
{:a}</p
|
Paragraph {:a}
|
||||||
><p>{:a: b}
|
</p>
|
||||||
{:b: a}</p
|
<p>
|
||||||
></div
|
{:a: b} {:b: a}
|
||||||
>
|
</p>
|
||||||
|
</div>
|
|
@ -35,9 +35,11 @@ Paragraph2
|
||||||
<p>{paragraph}: .maruku-par</p>
|
<p>{paragraph}: .maruku-par</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Paragraph2
|
<p>
|
||||||
{#2}</p
|
Paragraph2 {#2}
|
||||||
><p>{paragraph}: .maruku-par</p
|
</p>
|
||||||
></div
|
<p>
|
||||||
>
|
{paragraph}: .maruku-par
|
||||||
|
</p>
|
||||||
|
</div>
|
13
vendor/plugins/maruku/tests/unittest/blank.md
vendored
13
vendor/plugins/maruku/tests/unittest/blank.md
vendored
|
@ -36,8 +36,11 @@ Linea 1Linea 2
|
||||||
<p>Linea 2</p>
|
<p>Linea 2</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Linea 1</p
|
<p>
|
||||||
><p>Linea 2</p
|
Linea 1
|
||||||
></div
|
</p>
|
||||||
>
|
<p>
|
||||||
|
Linea 2
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -103,26 +103,29 @@ four
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>This block is composed of three lines:</p
|
<p>
|
||||||
><pre
|
This block is composed of three lines:
|
||||||
><code>one
|
</p>
|
||||||
|
<pre>
|
||||||
three
|
<code>
|
||||||
</code
|
one three
|
||||||
></pre
|
</code>
|
||||||
><p>This block is composed of 5</p
|
</pre>
|
||||||
><pre
|
<p>
|
||||||
><code>one
|
This block is composed of 5
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
four
|
<code>
|
||||||
</code
|
one four
|
||||||
></pre
|
</code>
|
||||||
><p>This block is composed of 2</p
|
</pre>
|
||||||
><pre
|
<p>
|
||||||
><code>two
|
This block is composed of 2
|
||||||
</code
|
</p>
|
||||||
></pre
|
<pre>
|
||||||
></div
|
<code>
|
||||||
>
|
two
|
||||||
|
</code>
|
||||||
|
</pre>
|
||||||
|
</div>
|
|
@ -26,7 +26,8 @@ test:
|
||||||
<p>[test][]:</p>
|
<p>[test][]:</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>[test][]:</p
|
<p>
|
||||||
></div
|
[test][]:
|
||||||
>
|
</p>
|
||||||
|
</div>
|
|
@ -64,13 +64,15 @@ hellohh c1c2
|
||||||
<p>{:t: scope="row"}</p>
|
<p>{:t: scope="row"}</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>hello
|
<p>
|
||||||
{: summary="Table summary" .class1 style="color:red"}</p
|
hello {: summary="Table summary" .class1 style="color:red"}
|
||||||
><p>h | h
|
</p>
|
||||||
----------|--
|
<p>
|
||||||
{:t} c1 | c2
|
h | h ----------|-- {:t} c1 | c2 {: summary="Table summary" .class1
|
||||||
{: summary="Table summary" .class1 style="color:red"}</p
|
style="color:red"}
|
||||||
><p>{:t: scope="row"}</p
|
</p>
|
||||||
></div
|
<p>
|
||||||
>
|
{:t: scope="row"}
|
||||||
|
</p>
|
||||||
|
</div>
|
21
vendor/plugins/maruku/tests/unittest/code.md
vendored
21
vendor/plugins/maruku/tests/unittest/code.md
vendored
|
@ -50,14 +50,13 @@ end tell
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Here is an example of AppleScript:</p
|
<p>
|
||||||
><pre
|
Here is an example of AppleScript:
|
||||||
><code>tell application "Foo"
|
</p>
|
||||||
beep
|
<pre>
|
||||||
end tell
|
<code>
|
||||||
tab
|
tell application "Foo" beep end tell tab
|
||||||
</code
|
</code>
|
||||||
></pre
|
</pre>
|
||||||
></div
|
</div>
|
||||||
>
|
|
24
vendor/plugins/maruku/tests/unittest/code2.md
vendored
24
vendor/plugins/maruku/tests/unittest/code2.md
vendored
|
@ -43,15 +43,15 @@ Code
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><blockquote>
|
<blockquote>
|
||||||
<p>Code</p
|
<p>
|
||||||
>
|
Code
|
||||||
<pre
|
</p>
|
||||||
><code>Ciao
|
<pre>
|
||||||
</code
|
<code>
|
||||||
></pre
|
Ciao
|
||||||
>
|
</code>
|
||||||
</blockquote
|
</pre>
|
||||||
></div
|
</blockquote>
|
||||||
>
|
</div>
|
57
vendor/plugins/maruku/tests/unittest/code3.md
vendored
57
vendor/plugins/maruku/tests/unittest/code3.md
vendored
|
@ -99,26 +99,37 @@ This is code (4 spaces):This is not codeThis is code (1 tab):This is not code
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>This is code (4 spaces):</p
|
<p>
|
||||||
><pre
|
This is code (4 spaces):
|
||||||
><code>Code
|
</p>
|
||||||
</code
|
<pre>
|
||||||
></pre
|
<code>
|
||||||
><p>This is not code</p
|
Code
|
||||||
><pre
|
</code>
|
||||||
><code>Code
|
</pre>
|
||||||
</code
|
<p>
|
||||||
></pre
|
This is not code
|
||||||
><p>This is code (1 tab):</p
|
</p>
|
||||||
><pre
|
<pre>
|
||||||
><code>Code
|
<code>
|
||||||
</code
|
Code
|
||||||
></pre
|
</code>
|
||||||
><p>This is not code</p
|
</pre>
|
||||||
><pre
|
<p>
|
||||||
><code>Code
|
This is code (1 tab):
|
||||||
</code
|
</p>
|
||||||
></pre
|
<pre>
|
||||||
></div
|
<code>
|
||||||
>
|
Code
|
||||||
|
</code>
|
||||||
|
</pre>
|
||||||
|
<p>
|
||||||
|
This is not code
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
<code>
|
||||||
|
Code
|
||||||
|
</code>
|
||||||
|
</pre>
|
||||||
|
</div>
|
|
@ -39,12 +39,10 @@ ijkl</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><ol>
|
<ol>
|
||||||
<li>abcd
|
<li>
|
||||||
efgh
|
abcd efgh ijkl
|
||||||
ijkl</li
|
</li>
|
||||||
>
|
</ol>
|
||||||
</ol
|
</div>
|
||||||
></div
|
|
||||||
>
|
|
204
vendor/plugins/maruku/tests/unittest/divs/div1.md
vendored
Normal file
204
vendor/plugins/maruku/tests/unittest/divs/div1.md
vendored
Normal file
|
@ -0,0 +1,204 @@
|
||||||
|
Write a comment here
|
||||||
|
*** Parameters: ***
|
||||||
|
require 'maruku/ext/div'; {} # params
|
||||||
|
*** Markdown input: ***
|
||||||
|
+---------
|
||||||
|
| text
|
||||||
|
+----------
|
||||||
|
|
||||||
|
+---------
|
||||||
|
|text
|
||||||
|
|
||||||
|
+--
|
||||||
|
text
|
||||||
|
|
||||||
|
=--
|
||||||
|
|
||||||
|
|
||||||
|
+---------
|
||||||
|
| text
|
||||||
|
+----------
|
||||||
|
|
||||||
|
+---------
|
||||||
|
|text
|
||||||
|
|
||||||
|
+--
|
||||||
|
text
|
||||||
|
|
||||||
|
=--
|
||||||
|
|
||||||
|
|
||||||
|
+---------
|
||||||
|
| text
|
||||||
|
+----------
|
||||||
|
|
||||||
|
+---------
|
||||||
|
|text
|
||||||
|
|
||||||
|
+--
|
||||||
|
text
|
||||||
|
|
||||||
|
=--
|
||||||
|
|
||||||
|
+---------
|
||||||
|
| text
|
||||||
|
+----------
|
||||||
|
|
||||||
|
+---------
|
||||||
|
|text
|
||||||
|
|
||||||
|
+--
|
||||||
|
text
|
||||||
|
|
||||||
|
=--
|
||||||
|
|
||||||
|
*** Output of inspect ***
|
||||||
|
md_el(:document,[
|
||||||
|
md_el(:div,[md_par(["text"])],{},[]),
|
||||||
|
md_el(:div,[md_par(["text"])],{},[]),
|
||||||
|
md_el(:div,[md_par(["text"])],{},[]),
|
||||||
|
md_el(:div,[md_par(["text"])],{},[]),
|
||||||
|
md_el(:div,[md_par(["text"])],{},[]),
|
||||||
|
md_el(:div,[md_par(["text"])],{},[]),
|
||||||
|
md_el(:div,[md_par(["text"])],{},[]),
|
||||||
|
md_el(:div,[md_par(["text"])],{},[]),
|
||||||
|
md_el(:div,[md_par(["text"])],{},[]),
|
||||||
|
md_el(:div,[md_par(["text"])],{},[]),
|
||||||
|
md_el(:div,[md_par(["text"])],{},[]),
|
||||||
|
md_el(:div,[md_par(["text"])],{},[])
|
||||||
|
],{},[])
|
||||||
|
*** Output of to_html ***
|
||||||
|
<div>
|
||||||
|
<p>text</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<p>text</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<p>text</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<p>text</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<p>text</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<p>text</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<p>text</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<p>text</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<p>text</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<p>text</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<p>text</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<p>text</p>
|
||||||
|
</div>
|
||||||
|
*** Output of to_latex ***
|
||||||
|
|
||||||
|
*** Output of to_md ***
|
||||||
|
text
|
||||||
|
|
||||||
|
text
|
||||||
|
|
||||||
|
text
|
||||||
|
|
||||||
|
text
|
||||||
|
|
||||||
|
text
|
||||||
|
|
||||||
|
text
|
||||||
|
|
||||||
|
text
|
||||||
|
|
||||||
|
text
|
||||||
|
|
||||||
|
text
|
||||||
|
|
||||||
|
text
|
||||||
|
|
||||||
|
text
|
||||||
|
|
||||||
|
text
|
||||||
|
*** Output of to_s ***
|
||||||
|
texttexttexttexttexttexttexttexttexttexttexttext
|
||||||
|
*** EOF ***
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
OK!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*** Output of Markdown.pl ***
|
||||||
|
<p>+---------
|
||||||
|
| text
|
||||||
|
+----------</p>
|
||||||
|
|
||||||
|
<p>+---------
|
||||||
|
|text</p>
|
||||||
|
|
||||||
|
<p>+--
|
||||||
|
text</p>
|
||||||
|
|
||||||
|
<p>=--</p>
|
||||||
|
|
||||||
|
<p>+---------
|
||||||
|
| text
|
||||||
|
+----------</p>
|
||||||
|
|
||||||
|
<p>+---------
|
||||||
|
|text</p>
|
||||||
|
|
||||||
|
<p>+--
|
||||||
|
text</p>
|
||||||
|
|
||||||
|
<p>=--</p>
|
||||||
|
|
||||||
|
<p>+---------
|
||||||
|
| text
|
||||||
|
+----------</p>
|
||||||
|
|
||||||
|
<p>+---------
|
||||||
|
|text</p>
|
||||||
|
|
||||||
|
<p>+--
|
||||||
|
text</p>
|
||||||
|
|
||||||
|
<p>=--</p>
|
||||||
|
|
||||||
|
<p>+---------
|
||||||
|
| text
|
||||||
|
+----------</p>
|
||||||
|
|
||||||
|
<p>+---------
|
||||||
|
|text</p>
|
||||||
|
|
||||||
|
<p>+--
|
||||||
|
text</p>
|
||||||
|
|
||||||
|
<p>=--</p>
|
||||||
|
|
||||||
|
*** Output of Markdown.pl (parsed) ***
|
||||||
|
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
34
vendor/plugins/maruku/tests/unittest/divs/div2.md
vendored
Normal file
34
vendor/plugins/maruku/tests/unittest/divs/div2.md
vendored
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
Write a comment here
|
||||||
|
*** Parameters: ***
|
||||||
|
require 'maruku/ext/div'; {} # params
|
||||||
|
*** Markdown input: ***
|
||||||
|
+--
|
||||||
|
ciao
|
||||||
|
=--
|
||||||
|
*** Output of inspect ***
|
||||||
|
md_el(:document,[md_el(:div,[md_par(["ciao"])],{},[])],{},[])
|
||||||
|
*** Output of to_html ***
|
||||||
|
<div>
|
||||||
|
<p>ciao</p>
|
||||||
|
</div>
|
||||||
|
*** Output of to_latex ***
|
||||||
|
|
||||||
|
*** Output of to_md ***
|
||||||
|
ciao
|
||||||
|
*** Output of to_s ***
|
||||||
|
ciao
|
||||||
|
*** EOF ***
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
OK!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*** Output of Markdown.pl ***
|
||||||
|
<p>+--
|
||||||
|
ciao
|
||||||
|
=--</p>
|
||||||
|
|
||||||
|
*** Output of Markdown.pl (parsed) ***
|
||||||
|
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
62
vendor/plugins/maruku/tests/unittest/divs/div3_nest.md
vendored
Normal file
62
vendor/plugins/maruku/tests/unittest/divs/div3_nest.md
vendored
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
Write a comment here
|
||||||
|
*** Parameters: ***
|
||||||
|
require 'maruku/ext/div'; {} # params
|
||||||
|
*** Markdown input: ***
|
||||||
|
+-----------------------------------{.warning}------
|
||||||
|
| this is the last warning!
|
||||||
|
|
|
||||||
|
| please, go away!
|
||||||
|
|
|
||||||
|
| +------------------------------------- {.menace} --
|
||||||
|
| | or else terrible things will happen
|
||||||
|
| +--------------------------------------------------
|
||||||
|
+---------------------------------------------------
|
||||||
|
*** Output of inspect ***
|
||||||
|
md_el(:document,[
|
||||||
|
md_el(:div,[
|
||||||
|
md_par(["this is the last warning!"]),
|
||||||
|
md_par(["please, go away!"]),
|
||||||
|
md_el(:div,[md_par(["or else terrible things will happen"])],{},[[:class, "menace"]])
|
||||||
|
],{},[[:class, "warning"]])
|
||||||
|
],{},[])
|
||||||
|
*** Output of to_html ***
|
||||||
|
<div class='warning'>
|
||||||
|
<p>this is the last warning!</p>
|
||||||
|
|
||||||
|
<p>please, go away!</p>
|
||||||
|
|
||||||
|
<div class='menace'>
|
||||||
|
<p>or else terrible things will happen</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
*** Output of to_latex ***
|
||||||
|
|
||||||
|
*** Output of to_md ***
|
||||||
|
this is the last warning!
|
||||||
|
|
||||||
|
please, go away!
|
||||||
|
|
||||||
|
or else terrible things will happen
|
||||||
|
*** Output of to_s ***
|
||||||
|
this is the last warning!please, go away!or else terrible things will happen
|
||||||
|
*** EOF ***
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
OK!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*** Output of Markdown.pl ***
|
||||||
|
<p>+-----------------------------------{.warning}------
|
||||||
|
| this is the last warning!
|
||||||
|
|
|
||||||
|
| please, go away!
|
||||||
|
|
|
||||||
|
| +------------------------------------- {.menace} --
|
||||||
|
| | or else terrible things will happen
|
||||||
|
| +--------------------------------------------------
|
||||||
|
+---------------------------------------------------</p>
|
||||||
|
|
||||||
|
*** Output of Markdown.pl (parsed) ***
|
||||||
|
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
19
vendor/plugins/maruku/tests/unittest/easy.md
vendored
19
vendor/plugins/maruku/tests/unittest/easy.md
vendored
|
@ -25,10 +25,15 @@ Hello! how are you?
|
||||||
<p><em>Hello!</em> how are <strong>you</strong>?</p>
|
<p><em>Hello!</em> how are <strong>you</strong>?</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p
|
<p>
|
||||||
><em>Hello!</em
|
<em>
|
||||||
> how are <strong>you</strong
|
Hello!
|
||||||
>?</p
|
</em>
|
||||||
></div
|
how are
|
||||||
>
|
<strong>
|
||||||
|
you
|
||||||
|
</strong>
|
||||||
|
?
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -27,11 +27,7 @@ This is an email address:
|
||||||
|
|
||||||
|
|
||||||
*** Output of Markdown.pl ***
|
*** Output of Markdown.pl ***
|
||||||
<p>This is an email address: <a href="mailto:andrea@invalid.it">andrea@invalid.it</a></p>
|
<p>This is an email address: <a href="mailto:andrea@invalid.it">andrea@invalid.it</a></p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
Error: #<TypeError: no implicit conversion from nil to integer>
|
||||||
><p>This is an email address: <a href='&#109;&#97;&#x69;&#108;&#116;&#x6F;:&#97;&#110;&#x64;&#114;&#101;&#x61;&#64;&#x69;&#x6E;&#118;&#x61;&#108;&#x69;&#x64;&#x2E;&#x69;&#116;'>andrea@invalid.it</a
|
|
||||||
></p
|
|
||||||
></div
|
|
||||||
>
|
|
||||||
|
|
|
@ -35,8 +35,11 @@ This is iso-8859-1: à èìà ù.
|
||||||
<p>This is iso-8859-1: àèìàù.</p>
|
<p>This is iso-8859-1: àèìàù.</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Encoding: iso-8859-1</p
|
<p>
|
||||||
><p>This is iso-8859-1: àèìàù.</p
|
Encoding: iso-8859-1
|
||||||
></div
|
</p>
|
||||||
>
|
<p>
|
||||||
|
This is iso-8859-1: àèìàù.
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -30,8 +30,11 @@ Japanese: マルク
|
||||||
<p>Japanese: マルク</p>
|
<p>Japanese: マルク</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Italian: àèìòù.</p
|
<p>
|
||||||
><p>Japanese: マルク</p
|
Italian: àèìòù.
|
||||||
></div
|
</p>
|
||||||
>
|
<p>
|
||||||
|
Japanese: マルク
|
||||||
|
</p>
|
||||||
|
</div>
|
70
vendor/plugins/maruku/tests/unittest/entities.md
vendored
70
vendor/plugins/maruku/tests/unittest/entities.md
vendored
|
@ -121,27 +121,49 @@ Maruku translates HTML entities to the equivalent in LaTeX:EntityResultabEntity-
|
||||||
<p>It should read just like this: <code>&copy;</code>.</p>
|
<p>It should read just like this: <code>&copy;</code>.</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Maruku translates HTML entities to the equivalent in LaTeX:</p
|
<p>
|
||||||
><p>Entity | Result
|
Maruku translates HTML entities to the equivalent in LaTeX:
|
||||||
------------|----------
|
</p>
|
||||||
<code>&copy;</code
|
<p>
|
||||||
> | ©
|
Entity | Result ------------|----------
|
||||||
<code>&pound;</code
|
<code>
|
||||||
> | £
|
&copy;
|
||||||
<code>a&nbsp;b</code
|
</code>
|
||||||
> | a b
|
| ©
|
||||||
<code>&lambda;</code
|
<code>
|
||||||
> | λ
|
&pound;
|
||||||
<code>&mdash;</code
|
</code>
|
||||||
> | —</p
|
| £
|
||||||
><p>Entity-substitution does not happen in code blocks or inline code.</p
|
<code>
|
||||||
><p>The following should not be translated:</p
|
a&nbsp;b
|
||||||
><pre
|
</code>
|
||||||
><code>&copy;
|
| a b
|
||||||
</code
|
<code>
|
||||||
></pre
|
&lambda;
|
||||||
><p>It should read just like this: <code>&copy;</code
|
</code>
|
||||||
>.</p
|
| λ
|
||||||
></div
|
<code>
|
||||||
>
|
&mdash;
|
||||||
|
</code>
|
||||||
|
| —
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Entity-substitution does not happen in code blocks or inline code.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
The following should not be translated:
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
<code>
|
||||||
|
&copy;
|
||||||
|
</code>
|
||||||
|
</pre>
|
||||||
|
<p>
|
||||||
|
It should read just like this:
|
||||||
|
<code>
|
||||||
|
&copy;
|
||||||
|
</code>
|
||||||
|
.
|
||||||
|
</p>
|
||||||
|
</div>
|
60
vendor/plugins/maruku/tests/unittest/escaping.md
vendored
60
vendor/plugins/maruku/tests/unittest/escaping.md
vendored
|
@ -86,20 +86,46 @@ Hello: ! ! ` { } [ ] ( ) # . ! * * *Ora, emphasis, bold, * <- due asterischi-> *
|
||||||
<p>End of <code>paragraph</code></p>
|
<p>End of <code>paragraph</code></p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Hello: ! ! ` { } [ ] ( ) # . ! * * *</p
|
<p>
|
||||||
><p>Ora, <em>emphasis</em
|
Hello: ! ! ` { } [ ] ( ) # . ! * * *
|
||||||
>, <strong>bold</strong
|
</p>
|
||||||
>, * <- due asterischi-> * , un underscore-> _ , <em>emphasis</em
|
<p>
|
||||||
>,
|
Ora,
|
||||||
incre<em>dible</em
|
<em>
|
||||||
>e!</p
|
emphasis
|
||||||
><p>This is <code>Code with a special: -> ` <-</code
|
</em>
|
||||||
>(after)</p
|
,
|
||||||
><p
|
<strong>
|
||||||
><code>Start</code
|
bold
|
||||||
> of paragraph</p
|
</strong>
|
||||||
><p>End of <code>paragraph</code
|
, * <- due asterischi-> * , un underscore-> _ ,
|
||||||
></p
|
<em>
|
||||||
></div
|
emphasis
|
||||||
>
|
</em>
|
||||||
|
, incre
|
||||||
|
<em>
|
||||||
|
dible
|
||||||
|
</em>
|
||||||
|
e!
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
This is
|
||||||
|
<code>
|
||||||
|
Code with a special: -> ` <-
|
||||||
|
</code>
|
||||||
|
(after)
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<code>
|
||||||
|
Start
|
||||||
|
</code>
|
||||||
|
of paragraph
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
End of
|
||||||
|
<code>
|
||||||
|
paragraph
|
||||||
|
</code>
|
||||||
|
</p>
|
||||||
|
</div>
|
20
vendor/plugins/maruku/tests/unittest/extra_dl.md
vendored
20
vendor/plugins/maruku/tests/unittest/extra_dl.md
vendored
|
@ -69,12 +69,14 @@ ApplePomaceous fruit of plants of the genus Malus in the family Rosaceae.OrangeT
|
||||||
: The fruit of an evergreen tree of the genus Citrus.</p>
|
: The fruit of an evergreen tree of the genus Citrus.</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>CSS: style.css</p
|
<p>
|
||||||
><p>Apple
|
CSS: style.css
|
||||||
: Pomaceous fruit of plants of the genus Malus in
|
</p>
|
||||||
the family Rosaceae.</p
|
<p>
|
||||||
><p>Orange
|
Apple : Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
|
||||||
: The fruit of an evergreen tree of the genus Citrus.</p
|
</p>
|
||||||
></div
|
<p>
|
||||||
>
|
Orange : The fruit of an evergreen tree of the genus Citrus.
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -83,17 +83,30 @@ Header 1Header 2Header 3Then you can create links to different parts of the same
|
||||||
<a href="#header3">Link back to header 3</a></p>
|
<a href="#header3">Link back to header 3</a></p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><h1>Header 1 {#header1}</h1
|
<h1>
|
||||||
><h2>Header 2 {#header2}</h2
|
Header 1 {#header1}
|
||||||
><h3>Header 3 ### {#header3}</h3
|
</h1>
|
||||||
><p>Then you can create links to different parts of the same document like this:</p
|
<h2>
|
||||||
><p
|
Header 2 {#header2}
|
||||||
><a href='#header1'>Link back to header 1</a
|
</h2>
|
||||||
>,
|
<h3>
|
||||||
<a href='#header2'>Link back to header 2</a
|
Header 3 ### {#header3}
|
||||||
>,
|
</h3>
|
||||||
<a href='#header3'>Link back to header 3</a
|
<p>
|
||||||
></p
|
Then you can create links to different parts of the same document like this:
|
||||||
></div
|
</p>
|
||||||
>
|
<p>
|
||||||
|
<a href='#header1'>
|
||||||
|
Link back to header 1
|
||||||
|
</a>
|
||||||
|
,
|
||||||
|
<a href='#header2'>
|
||||||
|
Link back to header 2
|
||||||
|
</a>
|
||||||
|
,
|
||||||
|
<a href='#header3'>
|
||||||
|
Link back to header 3
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -52,11 +52,12 @@ Content Cell | Content Cell
|
||||||
Content Cell | Content Cell</p>
|
Content Cell | Content Cell</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>CSS: style.css</p
|
<p>
|
||||||
><p>First Header | Second Header
|
CSS: style.css
|
||||||
------------- | -------------
|
</p>
|
||||||
Content Cell | Content Cell
|
<p>
|
||||||
Content Cell | Content Cell</p
|
First Header | Second Header ------------- | ------------- Content Cell |
|
||||||
></div
|
Content Cell Content Cell | Content Cell
|
||||||
>
|
</p>
|
||||||
|
</div>
|
|
@ -123,21 +123,30 @@ This is second sentence (same paragraph).</p>
|
||||||
<p>This is not a footnote.</p>
|
<p>This is not a footnote.</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>That's some text with a footnote [^b] and another [^c] and another [^a].</p
|
<p>
|
||||||
><p>[^a]: And that's the footnote.</p
|
That's some text with a footnote [^b] and another [^c] and another [^a].
|
||||||
><pre
|
</p>
|
||||||
><code>That's the second paragraph of the footnote.
|
<p>
|
||||||
</code
|
[^a]: And that's the footnote.
|
||||||
></pre
|
</p>
|
||||||
><p>[^b]: And that's the footnote.
|
<pre>
|
||||||
This is second sentence (same paragraph).</p
|
<code>
|
||||||
><p>[^c]:
|
That's the second paragraph of the footnote.
|
||||||
This is the very long one.</p
|
</code>
|
||||||
><pre
|
</pre>
|
||||||
><code>That's the second paragraph.
|
<p>
|
||||||
</code
|
[^b]: And that's the footnote. This is second sentence (same paragraph).
|
||||||
></pre
|
</p>
|
||||||
><p>This is not a footnote.</p
|
<p>
|
||||||
></div
|
[^c]: This is the very long one.
|
||||||
>
|
</p>
|
||||||
|
<pre>
|
||||||
|
<code>
|
||||||
|
That's the second paragraph.
|
||||||
|
</code>
|
||||||
|
</pre>
|
||||||
|
<p>
|
||||||
|
This is not a footnote.
|
||||||
|
</p>
|
||||||
|
</div>
|
29
vendor/plugins/maruku/tests/unittest/headers.md
vendored
29
vendor/plugins/maruku/tests/unittest/headers.md
vendored
|
@ -51,12 +51,23 @@ A title with emphasisA title with emphasisA title with emphasis
|
||||||
<h4>A title with <em>emphasis</em></h4>
|
<h4>A title with <em>emphasis</em></h4>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><h1>A title with <em>emphasis</em
|
<h1>
|
||||||
></h1
|
A title with
|
||||||
><h2>A title with <em>emphasis</em
|
<em>
|
||||||
></h2
|
emphasis
|
||||||
><h4>A title with <em>emphasis</em
|
</em>
|
||||||
></h4
|
</h1>
|
||||||
></div
|
<h2>
|
||||||
>
|
A title with
|
||||||
|
<em>
|
||||||
|
emphasis
|
||||||
|
</em>
|
||||||
|
</h2>
|
||||||
|
<h4>
|
||||||
|
A title with
|
||||||
|
<em>
|
||||||
|
emphasis
|
||||||
|
</em>
|
||||||
|
</h4>
|
||||||
|
</div>
|
|
@ -47,7 +47,10 @@ Examples of numeric character references include or for the copyright symbol,
|
||||||
<p>Examples of numeric character references include © or © for the copyright symbol, Α or Α for the Greek capital letter alpha, and ا or ا for the Arabic letter alef.</p>
|
<p>Examples of numeric character references include © or © for the copyright symbol, Α or Α for the Greek capital letter alpha, and ا or ا for the Arabic letter alef.</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Examples of numeric character references include © or © for the copyright symbol, Α or Α for the Greek capital letter alpha, and ا or ا for the Arabic letter alef.</p
|
<p>
|
||||||
></div
|
Examples of numeric character references include © or © for the
|
||||||
>
|
copyright symbol, Α or Α for the Greek capital letter alpha, and
|
||||||
|
ا or ا for the Arabic letter alef.
|
||||||
|
</p>
|
||||||
|
</div>
|
15
vendor/plugins/maruku/tests/unittest/hrule.md
vendored
15
vendor/plugins/maruku/tests/unittest/hrule.md
vendored
|
@ -57,11 +57,10 @@ md_el(:document,[
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><hr
|
<hr/>
|
||||||
/><hr
|
<hr/>
|
||||||
/><hr
|
<hr/>
|
||||||
/><hr
|
<hr/>
|
||||||
/><hr
|
<hr/>
|
||||||
/></div
|
</div>
|
||||||
>
|
|
20
vendor/plugins/maruku/tests/unittest/html2.md
vendored
20
vendor/plugins/maruku/tests/unittest/html2.md
vendored
|
@ -35,12 +35,14 @@ One 123
|
||||||
<p><div></div>123</p>
|
<p><div></div>123</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>One
|
<p>
|
||||||
<div
|
One
|
||||||
/>123</p
|
<div/>
|
||||||
><p
|
123
|
||||||
><div
|
</p>
|
||||||
/>123</p
|
<p>
|
||||||
></div
|
<div/>
|
||||||
>
|
123
|
||||||
|
</p>
|
||||||
|
</div>
|
32
vendor/plugins/maruku/tests/unittest/html3.md
vendored
32
vendor/plugins/maruku/tests/unittest/html3.md
vendored
|
@ -44,14 +44,24 @@ involve <b href="http://www.flickr.com/photos/censi/70893277/">coffee</b>,
|
||||||
<a href="http://www.flickr.com/photos/censi/42775888/in/set-936677/">sushi</a>,</p>
|
<a href="http://www.flickr.com/photos/censi/42775888/in/set-936677/">sushi</a>,</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>taking part in <a href='http://sied.dis.uniroma1.it/'>some arcane conspirations</a
|
<p>
|
||||||
> which
|
taking part in
|
||||||
involve <b href='http://www.flickr.com/photos/censi/70893277/'>coffee</b
|
<a href='http://sied.dis.uniroma1.it/'>
|
||||||
>,
|
some arcane conspirations
|
||||||
<a href='http://flickr.com/photos/censi/42775664/in/set-936677/'>robots</a
|
</a>
|
||||||
>,
|
which involve
|
||||||
<a href='http://www.flickr.com/photos/censi/42775888/in/set-936677/'>sushi</a
|
<b href='http://www.flickr.com/photos/censi/70893277/'>
|
||||||
>,</p
|
coffee
|
||||||
></div
|
</b>
|
||||||
>
|
,
|
||||||
|
<a href='http://flickr.com/photos/censi/42775664/in/set-936677/'>
|
||||||
|
robots
|
||||||
|
</a>
|
||||||
|
,
|
||||||
|
<a href='http://www.flickr.com/photos/censi/42775888/in/set-936677/'>
|
||||||
|
sushi
|
||||||
|
</a>
|
||||||
|
,
|
||||||
|
</p>
|
||||||
|
</div>
|
15
vendor/plugins/maruku/tests/unittest/html4.md
vendored
15
vendor/plugins/maruku/tests/unittest/html4.md
vendored
|
@ -39,11 +39,10 @@ md_el(:document,[
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><div class='frame'
|
<div class='frame'>
|
||||||
><a href='http://www.flickr.com/photos/censi/54757256/' class='photo'
|
<a href='http://www.flickr.com/photos/censi/54757256/' class='photo'>
|
||||||
><img src='http://static.flickr.com/27/54757256_1a2c1d2a95_m.jpg' moz-do-not-send='true' alt=''
|
<img src='http://static.flickr.com/27/54757256_1a2c1d2a95_m.jpg' moz-do-not-send='true' alt=''/>
|
||||||
/></a
|
</a>
|
||||||
></div
|
</div>
|
||||||
></div
|
</div>
|
||||||
>
|
|
19
vendor/plugins/maruku/tests/unittest/html5.md
vendored
19
vendor/plugins/maruku/tests/unittest/html5.md
vendored
|
@ -35,13 +35,12 @@ md_el(:document,[
|
||||||
</div></p>
|
</div></p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p
|
<p>
|
||||||
><div class='frame'
|
<div class='frame'>
|
||||||
><a href='http://www.flickr.com/photos/censi/88561568/' class='photo'
|
<a href='http://www.flickr.com/photos/censi/88561568/' class='photo'>
|
||||||
><img src='http://static.flickr.com/28/88561568_ab84d28245_m.jpg' height='180' moz-do-not-send='true' alt='Aperitif' width='240'
|
<img src='http://static.flickr.com/28/88561568_ab84d28245_m.jpg' height='180' moz-do-not-send='true' alt='Aperitif' width='240'/>
|
||||||
/></a
|
</a>
|
||||||
></div
|
</div>
|
||||||
></p
|
</p>
|
||||||
></div
|
</div>
|
||||||
>
|
|
75
vendor/plugins/maruku/tests/unittest/ie.md
vendored
75
vendor/plugins/maruku/tests/unittest/ie.md
vendored
|
@ -79,31 +79,50 @@ md_el(:document,[
|
||||||
<p>{:html<em>use</em>syntax=true lang=xml}</p>
|
<p>{:html<em>use</em>syntax=true lang=xml}</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p
|
<p>
|
||||||
><code><p>here's an apostrophe & a quote "</p></code
|
<code>
|
||||||
></p
|
<p>here's an apostrophe & a quote "</p>
|
||||||
><pre
|
</code>
|
||||||
><code><p>here's an apostrophe & a quote "</p>
|
</p>
|
||||||
</code
|
<pre>
|
||||||
></pre
|
<code>
|
||||||
><p>{:}</p
|
<p>here's an apostrophe & a quote "</p>
|
||||||
><pre
|
</code>
|
||||||
><code><p>here's an apostrophe & a quote "</p>
|
</pre>
|
||||||
</code
|
<p>
|
||||||
></pre
|
{:}
|
||||||
><p>{:lang=xml}</p
|
</p>
|
||||||
><pre
|
<pre>
|
||||||
><code><p>here's an apostrophe & a quote "</p>
|
<code>
|
||||||
</code
|
<p>here's an apostrophe & a quote "</p>
|
||||||
></pre
|
</code>
|
||||||
><p>{:html<em>use</em
|
</pre>
|
||||||
>syntax=true lang=not_supported}</p
|
<p>
|
||||||
><pre
|
{:lang=xml}
|
||||||
><code><p>here's an apostrophe & a quote "</p>
|
</p>
|
||||||
</code
|
<pre>
|
||||||
></pre
|
<code>
|
||||||
><p>{:html<em>use</em
|
<p>here's an apostrophe & a quote "</p>
|
||||||
>syntax=true lang=xml}</p
|
</code>
|
||||||
></div
|
</pre>
|
||||||
>
|
<p>
|
||||||
|
{:html
|
||||||
|
<em>
|
||||||
|
use
|
||||||
|
</em>
|
||||||
|
syntax=true lang=not_supported}
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
<code>
|
||||||
|
<p>here's an apostrophe & a quote "</p>
|
||||||
|
</code>
|
||||||
|
</pre>
|
||||||
|
<p>
|
||||||
|
{:html
|
||||||
|
<em>
|
||||||
|
use
|
||||||
|
</em>
|
||||||
|
syntax=true lang=xml}
|
||||||
|
</p>
|
||||||
|
</div>
|
39
vendor/plugins/maruku/tests/unittest/images.md
vendored
39
vendor/plugins/maruku/tests/unittest/images.md
vendored
|
@ -111,17 +111,28 @@ This page does not uilizes Cascading Style SheetsPlease mouseover to see the tit
|
||||||
style="border:0;width:188px;height:131px"</p>
|
style="border:0;width:188px;height:131px"</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>This page does not uilizes <img title='' src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Cascading Style Sheets'
|
<p>
|
||||||
/></p
|
This page does not uilizes
|
||||||
><p>Please mouseover to see the title: <img title='Title ok!' src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Cascading Style Sheets'
|
<img title='' src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Cascading Style Sheets'/>
|
||||||
/></p
|
</p>
|
||||||
><p>Please mouseover to see the title: <img title='Title ok!' src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Cascading Style Sheets'
|
<p>
|
||||||
/></p
|
Please mouseover to see the title:
|
||||||
><p>I'll say it one more time: this page does not use <img title='Optional title attribute' src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Cascading Style Sheets'
|
<img title='Title ok!' src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Cascading Style Sheets'/>
|
||||||
/></p
|
</p>
|
||||||
><p>This is double size: ![Cascading Style Sheets] [css2]</p
|
<p>
|
||||||
><p>[css2]: http://jigsaw.w3.org/css-validator/images/vcss "Optional title attribute" class=external
|
Please mouseover to see the title:
|
||||||
style="border:0;width:188px;height:131px"</p
|
<img title='Title ok!' src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Cascading Style Sheets'/>
|
||||||
></div
|
</p>
|
||||||
>
|
<p>
|
||||||
|
I'll say it one more time: this page does not use
|
||||||
|
<img title='Optional title attribute' src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Cascading Style Sheets'/>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
This is double size: ![Cascading Style Sheets] [css2]
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
[css2]: http://jigsaw.w3.org/css-validator/images/vcss "Optional title
|
||||||
|
attribute" class=external style="border:0;width:188px;height:131px"
|
||||||
|
</p>
|
||||||
|
</div>
|
16
vendor/plugins/maruku/tests/unittest/images2.md
vendored
16
vendor/plugins/maruku/tests/unittest/images2.md
vendored
|
@ -43,9 +43,13 @@ This is an image.This is an image.
|
||||||
<p>This is an ![image].</p>
|
<p>This is an ![image].</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>This is an <img src='image.jpg' alt='image'
|
<p>
|
||||||
/>.</p
|
This is an
|
||||||
><p>This is an ![image].</p
|
<img src='image.jpg' alt='image'/>
|
||||||
></div
|
.
|
||||||
>
|
</p>
|
||||||
|
<p>
|
||||||
|
This is an ![image].
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -238,10 +238,10 @@ Line:
|
||||||
Position:
|
Position:
|
||||||
Last 80 unconsumed characters:
|
Last 80 unconsumed characters:
|
||||||
<div markdown="1"> This is *true* markdown text (paragraph) <p markdow>
|
<div markdown="1"> This is *true* markdown text (paragraph) <p markdow>
|
||||||
/sw/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
||||||
/sw/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
||||||
/sw/lib/ruby/1.8/rexml/document.rb:190:in `build'
|
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:204:in `build'
|
||||||
/sw/lib/ruby/1.8/rexml/document.rb:45:in `initialize'
|
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:42:in `initialize'
|
||||||
bin/marutest:200:in `new'
|
bin/marutest:200:in `new'
|
||||||
bin/marutest:200:in `run_test'
|
bin/marutest:200:in `run_test'
|
||||||
bin/marutest:274:in `marutest'
|
bin/marutest:274:in `marutest'
|
||||||
|
|
|
@ -33,8 +33,11 @@ md_el(:document,[
|
||||||
<p markdown="1">Test **bold**</p>
|
<p markdown="1">Test **bold**</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><div markdown='1'>Test **bold**</div
|
<div markdown='1'>
|
||||||
><p markdown='1'>Test **bold**</p
|
Test **bold**
|
||||||
></div
|
</div>
|
||||||
>
|
<p markdown='1'>
|
||||||
|
Test **bold**
|
||||||
|
</p>
|
||||||
|
</div>
|
10
vendor/plugins/maruku/tests/unittest/links.md
vendored
10
vendor/plugins/maruku/tests/unittest/links.md
vendored
|
@ -162,7 +162,7 @@ Search on GoogleSearch on GoogleSearch on GoogleSearch on GoogleSearch on Google
|
||||||
|
|
||||||
<p>Inline with title: <a href="http://google.com "Title"">Google images</a></p>
|
<p>Inline with title: <a href="http://google.com "Title"">Google images</a></p>
|
||||||
|
|
||||||
<p>Search on <a href="http://www.gogole.com">http://www.gogole.com</a> or <a href="http://Here.com">http://Here.com</a> or ask <a href="mailto:bill@google.com">bill@google.com</a>
|
<p>Search on <a href="http://www.gogole.com">http://www.gogole.com</a> or <a href="http://Here.com">http://Here.com</a> or ask <a href="mailto:bill@google.com">bill@google.com</a>
|
||||||
or you might ask bill@google.com.</p>
|
or you might ask bill@google.com.</p>
|
||||||
|
|
||||||
<p>If all else fails, ask <a href="http://www.google.com">Google</a></p>
|
<p>If all else fails, ask <a href="http://www.google.com">Google</a></p>
|
||||||
|
@ -175,10 +175,10 @@ Line:
|
||||||
Position:
|
Position:
|
||||||
Last 80 unconsumed characters:
|
Last 80 unconsumed characters:
|
||||||
>
|
>
|
||||||
/sw/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
||||||
/sw/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
||||||
/sw/lib/ruby/1.8/rexml/document.rb:190:in `build'
|
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:204:in `build'
|
||||||
/sw/lib/ruby/1.8/rexml/document.rb:45:in `initialize'
|
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:42:in `initialize'
|
||||||
bin/marutest:200:in `new'
|
bin/marutest:200:in `new'
|
||||||
bin/marutest:200:in `run_test'
|
bin/marutest:200:in `run_test'
|
||||||
bin/marutest:274:in `marutest'
|
bin/marutest:274:in `marutest'
|
||||||
|
|
29
vendor/plugins/maruku/tests/unittest/list1.md
vendored
29
vendor/plugins/maruku/tests/unittest/list1.md
vendored
|
@ -63,18 +63,17 @@ A list item with a blockquote:This is a blockquote inside a list item.
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><ul>
|
<ul>
|
||||||
<li
|
<li>
|
||||||
><p>A list item with a blockquote:</p
|
<p>
|
||||||
>
|
A list item with a blockquote:
|
||||||
<blockquote>
|
</p>
|
||||||
<p>This is a blockquote
|
<blockquote>
|
||||||
inside a list item.</p
|
<p>
|
||||||
>
|
This is a blockquote inside a list item.
|
||||||
</blockquote
|
</p>
|
||||||
></li
|
</blockquote>
|
||||||
>
|
</li>
|
||||||
</ul
|
</ul>
|
||||||
></div
|
</div>
|
||||||
>
|
|
36
vendor/plugins/maruku/tests/unittest/list2.md
vendored
36
vendor/plugins/maruku/tests/unittest/list2.md
vendored
|
@ -73,20 +73,22 @@ sit amet, consectetuer adipiscing elit.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><ul>
|
<ul>
|
||||||
<li
|
<li>
|
||||||
><p>This is a list item with two paragraphs.</p
|
<p>
|
||||||
>
|
This is a list item with two paragraphs.
|
||||||
<p>This is the second paragraph in the list item. You're
|
</p>
|
||||||
only required to indent the first line. Lorem ipsum dolor
|
<p>
|
||||||
sit amet, consectetuer adipiscing elit.</p
|
This is the second paragraph in the list item. You're only required to
|
||||||
></li
|
indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
||||||
>
|
elit.
|
||||||
<li
|
</p>
|
||||||
><p>other</p
|
</li>
|
||||||
></li
|
<li>
|
||||||
>
|
<p>
|
||||||
</ul
|
other
|
||||||
></div
|
</p>
|
||||||
>
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
48
vendor/plugins/maruku/tests/unittest/list3.md
vendored
48
vendor/plugins/maruku/tests/unittest/list3.md
vendored
|
@ -85,27 +85,27 @@ A list item with a blockquote:This is a blockquote inside a list item.A list ite
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><ul>
|
<ul>
|
||||||
<li
|
<li>
|
||||||
><p>A list item with a blockquote:</p
|
<p>
|
||||||
>
|
A list item with a blockquote:
|
||||||
<blockquote>
|
</p>
|
||||||
<p>This is a blockquote
|
<blockquote>
|
||||||
inside a list item.</p
|
<p>
|
||||||
>
|
This is a blockquote inside a list item.
|
||||||
</blockquote
|
</p>
|
||||||
></li
|
</blockquote>
|
||||||
>
|
</li>
|
||||||
<li
|
<li>
|
||||||
><p>A list item with a code block:</p
|
<p>
|
||||||
>
|
A list item with a code block:
|
||||||
<pre
|
</p>
|
||||||
><code><code goes here>
|
<pre>
|
||||||
</code
|
<code>
|
||||||
></pre
|
<code goes here>
|
||||||
></li
|
</code>
|
||||||
>
|
</pre>
|
||||||
</ul
|
</li>
|
||||||
></div
|
</ul>
|
||||||
>
|
</div>
|
29
vendor/plugins/maruku/tests/unittest/list4.md
vendored
29
vendor/plugins/maruku/tests/unittest/list4.md
vendored
|
@ -113,18 +113,17 @@ ciao</p>
|
||||||
ciao</p>
|
ciao</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>This is a list:
|
<p>
|
||||||
* one
|
This is a list: * one * two
|
||||||
* two</p
|
</p>
|
||||||
><p>This is not a list:
|
<p>
|
||||||
* one
|
This is not a list: * one ciao
|
||||||
ciao</p
|
</p>
|
||||||
><p>This is a list:
|
<p>
|
||||||
1. one
|
This is a list: 1. one 1. two
|
||||||
1. two</p
|
</p>
|
||||||
><p>This is not a list:
|
<p>
|
||||||
1987. one
|
This is not a list: 1987. one ciao
|
||||||
ciao</p
|
</p>
|
||||||
></div
|
</div>
|
||||||
>
|
|
120
vendor/plugins/maruku/tests/unittest/lists.md
vendored
120
vendor/plugins/maruku/tests/unittest/lists.md
vendored
|
@ -238,57 +238,69 @@ sit amet, consectetuer adipiscing elit.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><ul>
|
<ul>
|
||||||
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
<li>
|
||||||
Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
|
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit
|
||||||
viverra nec, fringilla in, laoreet vitae, risus.</li
|
mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
||||||
>
|
vitae, risus.
|
||||||
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
</li>
|
||||||
Suspendisse id sem consectetuer libero luctus adipiscing.</li
|
<li>
|
||||||
>
|
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem
|
||||||
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
consectetuer libero luctus adipiscing.
|
||||||
Suspendisse id sem consectetuer libero luctus adipiscing.
|
</li>
|
||||||
<ul>
|
<li>
|
||||||
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem
|
||||||
Suspendisse id sem consectetuer libero luctus adipiscing.</li
|
consectetuer libero luctus adipiscing.
|
||||||
>
|
<ul>
|
||||||
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
<li>
|
||||||
Suspendisse id sem consectetuer libero luctus adipiscing.</li
|
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||||
>
|
sem consectetuer libero luctus adipiscing.
|
||||||
</ul
|
</li>
|
||||||
></li
|
<li>
|
||||||
>
|
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||||
</ul
|
sem consectetuer libero luctus adipiscing.
|
||||||
><p>Ancora</p
|
</li>
|
||||||
><ul>
|
</ul>
|
||||||
<li
|
</li>
|
||||||
><p>This is a list item with two paragraphs. Lorem ipsum dolor
|
</ul>
|
||||||
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
|
<p>
|
||||||
mi posuere lectus.</p
|
Ancora
|
||||||
>
|
</p>
|
||||||
<p>ATTENZIONE!</p
|
<ul>
|
||||||
></li
|
<li>
|
||||||
>
|
<p>
|
||||||
<li
|
This is a list item with two paragraphs. Lorem ipsum dolor sit amet,
|
||||||
><p>Suspendisse id sem consectetuer libero luctus adipiscing.</p
|
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
|
||||||
></li
|
</p>
|
||||||
>
|
<p>
|
||||||
</ul
|
ATTENZIONE!
|
||||||
><p>Ancora</p
|
</p>
|
||||||
><ul>
|
</li>
|
||||||
<li
|
<li>
|
||||||
><p>This is a list item with two paragraphs.</p
|
<p>
|
||||||
>
|
Suspendisse id sem consectetuer libero luctus adipiscing.
|
||||||
<p>This is the second paragraph in the list item. You're
|
</p>
|
||||||
only required to indent the first line. Lorem ipsum dolor
|
</li>
|
||||||
sit amet, consectetuer adipiscing elit.</p
|
</ul>
|
||||||
></li
|
<p>
|
||||||
>
|
Ancora
|
||||||
<li
|
</p>
|
||||||
><p>Another item in the same list.</p
|
<ul>
|
||||||
></li
|
<li>
|
||||||
>
|
<p>
|
||||||
</ul
|
This is a list item with two paragraphs.
|
||||||
></div
|
</p>
|
||||||
>
|
<p>
|
||||||
|
This is the second paragraph in the list item. You're only required to
|
||||||
|
indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
||||||
|
elit.
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>
|
||||||
|
Another item in the same list.
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
14
vendor/plugins/maruku/tests/unittest/lists11.md
vendored
14
vendor/plugins/maruku/tests/unittest/lists11.md
vendored
|
@ -28,10 +28,10 @@ md_el(:document,[md_par(["- \316\255\316\275\316\261"])],{},[])
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><ul>
|
<ul>
|
||||||
<li>ένα</li
|
<li>
|
||||||
>
|
ένα
|
||||||
</ul
|
</li>
|
||||||
></div
|
</ul>
|
||||||
>
|
</div>
|
|
@ -51,5 +51,4 @@ md_el(:document,[],{},[])
|
||||||
|
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div/>
|
||||||
/>
|
|
38
vendor/plugins/maruku/tests/unittest/lists7.md
vendored
38
vendor/plugins/maruku/tests/unittest/lists7.md
vendored
|
@ -76,21 +76,23 @@ CiaoTab * Tab * Tab
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Ciao</p
|
<p>
|
||||||
><ul>
|
Ciao
|
||||||
<li>Tab
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Tab
|
<li>
|
||||||
<ul>
|
Tab
|
||||||
<li>Tab</li
|
<ul>
|
||||||
>
|
<li>
|
||||||
</ul
|
Tab
|
||||||
></li
|
<ul>
|
||||||
>
|
<li>
|
||||||
</ul
|
Tab
|
||||||
></li
|
</li>
|
||||||
>
|
</ul>
|
||||||
</ul
|
</li>
|
||||||
></div
|
</ul>
|
||||||
>
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
34
vendor/plugins/maruku/tests/unittest/lists7b.md
vendored
34
vendor/plugins/maruku/tests/unittest/lists7b.md
vendored
|
@ -133,19 +133,21 @@ aa1a2b
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><ul>
|
<ul>
|
||||||
<li>a
|
<li>
|
||||||
<ul>
|
a
|
||||||
<li>a1</li
|
<ul>
|
||||||
>
|
<li>
|
||||||
<li>a2</li
|
a1
|
||||||
>
|
</li>
|
||||||
</ul
|
<li>
|
||||||
></li
|
a2
|
||||||
>
|
</li>
|
||||||
<li>b</li
|
</ul>
|
||||||
>
|
</li>
|
||||||
</ul
|
<li>
|
||||||
></div
|
b
|
||||||
>
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
28
vendor/plugins/maruku/tests/unittest/lists8.md
vendored
28
vendor/plugins/maruku/tests/unittest/lists8.md
vendored
|
@ -80,15 +80,19 @@ Here is a paragraph.* Item 1 * Item 2 * Item 3
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Here is a paragraph.</p
|
<p>
|
||||||
><ul>
|
Here is a paragraph.
|
||||||
<li>Item 1</li
|
</p>
|
||||||
>
|
<ul>
|
||||||
<li>Item 2</li
|
<li>
|
||||||
>
|
Item 1
|
||||||
<li>Item 3</li
|
</li>
|
||||||
>
|
<li>
|
||||||
</ul
|
Item 2
|
||||||
></div
|
</li>
|
||||||
>
|
<li>
|
||||||
|
Item 3
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
39
vendor/plugins/maruku/tests/unittest/lists9.md
vendored
39
vendor/plugins/maruku/tests/unittest/lists9.md
vendored
|
@ -82,21 +82,24 @@ DuetretretreDue
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><ul>
|
<ul>
|
||||||
<li>Due
|
<li>
|
||||||
<ol>
|
Due
|
||||||
<li>tre</li
|
<ol>
|
||||||
>
|
<li>
|
||||||
<li>tre</li
|
tre
|
||||||
>
|
</li>
|
||||||
<li>tre</li
|
<li>
|
||||||
>
|
tre
|
||||||
</ol
|
</li>
|
||||||
></li
|
<li>
|
||||||
>
|
tre
|
||||||
<li>Due</li
|
</li>
|
||||||
>
|
</ol>
|
||||||
</ul
|
</li>
|
||||||
></div
|
<li>
|
||||||
>
|
Due
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
|
@ -265,45 +265,85 @@ Paragraph, list with no space: * ciaoParagraph, list with 1 space: * ciaoParagra
|
||||||
<p>Paragraph with html after, indented: <em>Emphasis <em>tralla</em> Emph</em></p>
|
<p>Paragraph with html after, indented: <em>Emphasis <em>tralla</em> Emph</em></p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Paragraph, list with no space:
|
<p>
|
||||||
* ciao</p
|
Paragraph, list with no space: * ciao
|
||||||
><p>Paragraph, list with 1 space:
|
</p>
|
||||||
* ciao</p
|
<p>
|
||||||
><p>Paragraph, list with 3 space:
|
Paragraph, list with 1 space: * ciao
|
||||||
* ciao</p
|
</p>
|
||||||
><p>Paragraph, list with 4 spaces:
|
<p>
|
||||||
* ciao</p
|
Paragraph, list with 3 space: * ciao
|
||||||
><p>Paragraph, list with 1 tab:
|
</p>
|
||||||
* ciao</p
|
<p>
|
||||||
><p>Paragraph (1 space after), list with no space:
|
Paragraph, list with 4 spaces: * ciao
|
||||||
* ciao</p
|
</p>
|
||||||
><p>Paragraph (2 spaces after), list with no space: <br
|
<p>
|
||||||
/>
|
Paragraph, list with 1 tab: * ciao
|
||||||
* ciao</p
|
</p>
|
||||||
><p>Paragraph (3 spaces after), list with no space: <br
|
<p>
|
||||||
/>
|
Paragraph (1 space after), list with no space: * ciao
|
||||||
* ciao</p
|
</p>
|
||||||
><p>Paragraph with block quote:</p
|
<p>
|
||||||
><blockquote>
|
Paragraph (2 spaces after), list with no space:
|
||||||
<p>Quoted</p
|
<br/>
|
||||||
>
|
* ciao
|
||||||
</blockquote
|
</p>
|
||||||
><p>Paragraph with header:</p
|
<p>
|
||||||
><h3>header</h3
|
Paragraph (3 spaces after), list with no space:
|
||||||
><p>Paragraph with header on two lines:</p
|
<br/>
|
||||||
><h2>header</h2
|
* ciao
|
||||||
><p>Paragraph with html after</p
|
</p>
|
||||||
><div
|
<p>
|
||||||
/><p>Paragraph with html after, indented:
|
Paragraph with block quote:
|
||||||
<em>Emphasis</em
|
</p>
|
||||||
></p
|
<blockquote>
|
||||||
><p>Paragraph with html after, indented: <em>Emphasis</em
|
<p>
|
||||||
><em>tralla</em
|
Quoted
|
||||||
><em>Emph</em
|
</p>
|
||||||
></p
|
</blockquote>
|
||||||
><p>Paragraph with html after, indented: <em>Emphasis <em>tralla</em
|
<p>
|
||||||
> Emph</em
|
Paragraph with header:
|
||||||
></p
|
</p>
|
||||||
></div
|
<h3>
|
||||||
>
|
header
|
||||||
|
</h3>
|
||||||
|
<p>
|
||||||
|
Paragraph with header on two lines:
|
||||||
|
</p>
|
||||||
|
<h2>
|
||||||
|
header
|
||||||
|
</h2>
|
||||||
|
<p>
|
||||||
|
Paragraph with html after
|
||||||
|
</p>
|
||||||
|
<div/>
|
||||||
|
<p>
|
||||||
|
Paragraph with html after, indented:
|
||||||
|
<em>
|
||||||
|
Emphasis
|
||||||
|
</em>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Paragraph with html after, indented:
|
||||||
|
<em>
|
||||||
|
Emphasis
|
||||||
|
</em>
|
||||||
|
<em>
|
||||||
|
tralla
|
||||||
|
</em>
|
||||||
|
<em>
|
||||||
|
Emph
|
||||||
|
</em>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Paragraph with html after, indented:
|
||||||
|
<em>
|
||||||
|
Emphasis
|
||||||
|
<em>
|
||||||
|
tralla
|
||||||
|
</em>
|
||||||
|
Emph
|
||||||
|
</em>
|
||||||
|
</p>
|
||||||
|
</div>
|
165
vendor/plugins/maruku/tests/unittest/lists_ol.md
vendored
165
vendor/plugins/maruku/tests/unittest/lists_ol.md
vendored
|
@ -321,78 +321,93 @@ sit amet, consectetuer adipiscing elit.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><ol>
|
<ol>
|
||||||
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
<li>
|
||||||
Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
|
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit
|
||||||
viverra nec, fringilla in, laoreet vitae, risus.
|
mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
||||||
<ol>
|
vitae, risus.
|
||||||
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
<ol>
|
||||||
Suspendisse id sem consectetuer libero luctus adipiscing.</li
|
<li>
|
||||||
>
|
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||||
</ol
|
sem consectetuer libero luctus adipiscing.
|
||||||
></li
|
</li>
|
||||||
>
|
</ol>
|
||||||
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
</li>
|
||||||
Suspendisse id sem consectetuer libero luctus adipiscing.
|
<li>
|
||||||
<ol>
|
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem
|
||||||
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
consectetuer libero luctus adipiscing.
|
||||||
Suspendisse id sem consectetuer libero luctus adipiscing.</li
|
<ol>
|
||||||
>
|
<li>
|
||||||
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||||
Suspendisse id sem consectetuer libero luctus adipiscing.</li
|
sem consectetuer libero luctus adipiscing.
|
||||||
>
|
</li>
|
||||||
</ol
|
<li>
|
||||||
></li
|
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||||
>
|
sem consectetuer libero luctus adipiscing.
|
||||||
</ol
|
</li>
|
||||||
><p>Ancora</p
|
</ol>
|
||||||
><ol>
|
</li>
|
||||||
<li
|
</ol>
|
||||||
><p>This is a list item with two paragraphs. Lorem ipsum dolor
|
<p>
|
||||||
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
|
Ancora
|
||||||
mi posuere lectus.</p
|
</p>
|
||||||
>
|
<ol>
|
||||||
<p>ATTENZIONE!</p
|
<li>
|
||||||
>
|
<p>
|
||||||
<ul>
|
This is a list item with two paragraphs. Lorem ipsum dolor sit amet,
|
||||||
<li>Uno</li
|
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
|
||||||
>
|
</p>
|
||||||
<li>Due
|
<p>
|
||||||
<ol>
|
ATTENZIONE!
|
||||||
<li>tre</li
|
</p>
|
||||||
>
|
<ul>
|
||||||
<li>tre</li
|
<li>
|
||||||
>
|
Uno
|
||||||
<li>tre</li
|
</li>
|
||||||
>
|
<li>
|
||||||
</ol
|
Due
|
||||||
></li
|
<ol>
|
||||||
>
|
<li>
|
||||||
<li>Due</li
|
tre
|
||||||
>
|
</li>
|
||||||
</ul
|
<li>
|
||||||
></li
|
tre
|
||||||
>
|
</li>
|
||||||
<li
|
<li>
|
||||||
><p>Suspendisse id sem consectetuer libero luctus adipiscing.</p
|
tre
|
||||||
></li
|
</li>
|
||||||
>
|
</ol>
|
||||||
</ol
|
</li>
|
||||||
><p>Ancora</p
|
<li>
|
||||||
><ul>
|
Due
|
||||||
<li
|
</li>
|
||||||
><p>This is a list item with two paragraphs.</p
|
</ul>
|
||||||
>
|
</li>
|
||||||
<p>This is the second paragraph in the list item. You're
|
<li>
|
||||||
only required to indent the first line. Lorem ipsum dolor
|
<p>
|
||||||
sit amet, consectetuer adipiscing elit.</p
|
Suspendisse id sem consectetuer libero luctus adipiscing.
|
||||||
></li
|
</p>
|
||||||
>
|
</li>
|
||||||
<li
|
</ol>
|
||||||
><p>Another item in the same list.</p
|
<p>
|
||||||
></li
|
Ancora
|
||||||
>
|
</p>
|
||||||
</ul
|
<ul>
|
||||||
></div
|
<li>
|
||||||
>
|
<p>
|
||||||
|
This is a list item with two paragraphs.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
This is the second paragraph in the list item. You're only required to
|
||||||
|
indent the first line. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
||||||
|
elit.
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p>
|
||||||
|
Another item in the same list.
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
12
vendor/plugins/maruku/tests/unittest/loss.md
vendored
12
vendor/plugins/maruku/tests/unittest/loss.md
vendored
|
@ -26,9 +26,9 @@ md_el(:document,[md_html("<br />")],{},[])
|
||||||
<p><br/>123</p>
|
<p><br/>123</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p
|
<p>
|
||||||
><br
|
<br/>
|
||||||
/>123</p
|
123
|
||||||
></div
|
</p>
|
||||||
>
|
</div>
|
|
@ -66,13 +66,17 @@ x = y $$</p>
|
||||||
$$</p>
|
$$</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>$$ x = y $$</p
|
<p>
|
||||||
><p>$$ x
|
$$ x = y $$
|
||||||
= y $$</p
|
</p>
|
||||||
><p>$$
|
<p>
|
||||||
x = y $$</p
|
$$ x = y $$
|
||||||
><p>$$ x = y
|
</p>
|
||||||
$$</p
|
<p>
|
||||||
></div
|
$$ x = y $$
|
||||||
>
|
</p>
|
||||||
|
<p>
|
||||||
|
$$ x = y $$
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -8,9 +8,9 @@
|
||||||
<p>Here are some formulas:</p>
|
<p>Here are some formulas:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><span class='maruku-inline'><code class='maruku-mathml'>\alpha</code></span></li>
|
<li><code class='maruku-mathml'>\alpha</code></li>
|
||||||
|
|
||||||
<li><span class='maruku-inline'><code class='maruku-mathml'>x^{n}+y^{n} \neq z^{n}</code></span></li>
|
<li><code class='maruku-mathml'>x^{n}+y^{n} \neq z^{n}</code></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>That’s it, nothing else is supported.</p>
|
<p>That’s it, nothing else is supported.</p>
|
||||||
|
|
|
@ -48,10 +48,45 @@ Here are some formulas:Thats it, nothing else is supported.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
OK!
|
|
||||||
|
|
||||||
|
Failed tests: [:to_html]
|
||||||
|
|
||||||
|
*** Output of inspect ***
|
||||||
|
md_el(:document,[
|
||||||
|
md_par(["Here are some formulas:"]),
|
||||||
|
md_el(:ul,[
|
||||||
|
md_el(:li_span,[md_el(:inline_math,[],{:math=>"\\alpha"},[])],{:want_my_paragraph=>false},[]),
|
||||||
|
md_el(:li_span,[md_el(:inline_math,[],{:math=>"x^{n}+y^{n} \\neq z^{n}"},[])],{:want_my_paragraph=>false},[])
|
||||||
|
],{},[]),
|
||||||
|
md_par(["That", md_entity("rsquo"), "s it, nothing else is supported."])
|
||||||
|
],{},[])
|
||||||
|
*** Output of to_html ***
|
||||||
|
-----| WARNING | -----
|
||||||
|
<p>Here are some formulas:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><code class='maruku-mathml'>\alpha</code></li>
|
||||||
|
|
||||||
|
<li><code class='maruku-mathml'>x^{n}+y^{n} \neq z^{n}</code></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>That’s it, nothing else is supported.</p>
|
||||||
|
*** Output of to_latex ***
|
||||||
|
Here are some formulas:
|
||||||
|
|
||||||
|
\begin{itemize}%
|
||||||
|
\item $\alpha$
|
||||||
|
\item $x^{n}+y^{n} \neq z^{n}$
|
||||||
|
|
||||||
|
\end{itemize}
|
||||||
|
That'{}s it, nothing else is supported.
|
||||||
|
*** Output of to_md ***
|
||||||
|
Here are some formulas:
|
||||||
|
|
||||||
|
--
|
||||||
|
That s it, nothing else is supported.
|
||||||
|
*** Output of to_s ***
|
||||||
|
Here are some formulas:Thats it, nothing else is supported.
|
||||||
*** Output of Markdown.pl ***
|
*** Output of Markdown.pl ***
|
||||||
<p>Here are some formulas:</p>
|
<p>Here are some formulas:</p>
|
||||||
|
|
||||||
|
@ -63,14 +98,19 @@ Here are some formulas:Thats it, nothing else is supported.
|
||||||
<p>That's it, nothing else is supported.</p>
|
<p>That's it, nothing else is supported.</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Here are some formulas:</p
|
<p>
|
||||||
><ul>
|
Here are some formulas:
|
||||||
<li>$\alpha$</li
|
</p>
|
||||||
>
|
<ul>
|
||||||
<li>$x^{n}+y^{n} \neq z^{n}$</li
|
<li>
|
||||||
>
|
$\alpha$
|
||||||
</ul
|
</li>
|
||||||
><p>That's it, nothing else is supported.</p
|
<li>
|
||||||
></div
|
$x^{n}+y^{n} \neq z^{n}$
|
||||||
>
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p>
|
||||||
|
That's it, nothing else is supported.
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -107,15 +107,17 @@ md_el(:document,[
|
||||||
<p>\begin{equation} \gamma \end{equation}</p>
|
<p>\begin{equation} \gamma \end{equation}</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>[
|
<p>
|
||||||
\alpha
|
[ \alpha ]
|
||||||
]</p
|
</p>
|
||||||
><p>\begin{equation}
|
<p>
|
||||||
\alpha
|
\begin{equation} \alpha \end{equation}
|
||||||
\end{equation}</p
|
</p>
|
||||||
><p>\begin{equation} \beta
|
<p>
|
||||||
\end{equation}</p
|
\begin{equation} \beta \end{equation}
|
||||||
><p>\begin{equation} \gamma \end{equation}</p
|
</p>
|
||||||
></div
|
<p>
|
||||||
>
|
\begin{equation} \gamma \end{equation}
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -37,8 +37,11 @@ This is not $math$.[ \alpha ]
|
||||||
<p>[ \alpha ]</p>
|
<p>[ \alpha ]</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>This is not $math$.</p
|
<p>
|
||||||
><p>[ \alpha ]</p
|
This is not $math$.
|
||||||
></div
|
</p>
|
||||||
>
|
<p>
|
||||||
|
[ \alpha ]
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -27,9 +27,24 @@ md_el(:document,[
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
OK!
|
|
||||||
|
|
||||||
|
Failed tests: [:to_html]
|
||||||
|
|
||||||
|
*** Output of inspect ***
|
||||||
|
md_el(:document,[
|
||||||
|
md_html("<table markdown='1'>\n\t$\\alpha$\n\t<thead>\n\t\t<td>$\\beta$</td>\n\t</thead>\n</table>")
|
||||||
|
],{},[])
|
||||||
|
*** Output of to_html ***
|
||||||
|
-----| WARNING | -----
|
||||||
|
<table><code class='maruku-mathml'>\alpha</code><thead>
|
||||||
|
<td><code class='maruku-mathml'>\beta</code></td>
|
||||||
|
</thead>
|
||||||
|
</table>
|
||||||
|
*** Output of to_latex ***
|
||||||
|
|
||||||
|
*** Output of to_md ***
|
||||||
|
|
||||||
|
*** Output of to_s ***
|
||||||
|
|
||||||
*** Output of Markdown.pl ***
|
*** Output of Markdown.pl ***
|
||||||
<table markdown='1'>
|
<table markdown='1'>
|
||||||
|
@ -40,14 +55,13 @@ md_el(:document,[
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><table markdown='1'>
|
<table markdown='1'>
|
||||||
$\alpha$
|
$\alpha$
|
||||||
<thead>
|
<thead>
|
||||||
<td>$\beta$</td
|
<td>
|
||||||
>
|
$\beta$
|
||||||
</thead
|
</td>
|
||||||
>
|
</thead>
|
||||||
</table
|
</table>
|
||||||
></div
|
</div>
|
||||||
>
|
|
|
@ -57,11 +57,12 @@ SymbolMeaningcomments The firstI like it. The firstI like it.
|
||||||
<p>{:r: scope='row'}</p>
|
<p>{:r: scope='row'}</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Symbol | Meaning | comments
|
<p>
|
||||||
------------|---------|---------
|
Symbol | Meaning | comments ------------|---------|--------- {:r} α |
|
||||||
{:r} α | The first | I like it.
|
The first | I like it. {:r} ℵ | The first | I like it.
|
||||||
{:r} ℵ | The first | I like it.</p
|
</p>
|
||||||
><p>{:r: scope='row'}</p
|
<p>
|
||||||
></div
|
{:r: scope='row'}
|
||||||
>
|
</p>
|
||||||
|
</div>
|
513
vendor/plugins/maruku/tests/unittest/misc_sw.md
vendored
513
vendor/plugins/maruku/tests/unittest/misc_sw.md
vendored
|
@ -612,193 +612,326 @@ the alternative is PowerPoint with the <a href="http://texpoint.necula.org/">Tex
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Subject: Software not painful to use
|
<p>
|
||||||
Subject_short: painless software
|
Subject: Software not painful to use Subject_short: painless software Topic:
|
||||||
Topic: /misc/coolsw
|
/misc/coolsw Archive: no Date: Nov 20 2006 Order: -9.5 inMenu: true
|
||||||
Archive: no
|
</p>
|
||||||
Date: Nov 20 2006
|
<h3>
|
||||||
Order: -9.5
|
General
|
||||||
inMenu: true</p
|
</h3>
|
||||||
><h3>General</h3
|
<ul>
|
||||||
><ul>
|
<li>
|
||||||
<li
|
<em>
|
||||||
><em>Operating System</em
|
Operating System
|
||||||
> : <a href='http://www.apple.com/getamac/'>Mac OS X</a
|
</em>
|
||||||
>: heaven, after the purgatory of Linux
|
:
|
||||||
and the hell of Windows.</li
|
<a href='http://www.apple.com/getamac/'>
|
||||||
>
|
Mac OS X
|
||||||
<li
|
</a>
|
||||||
><em>Browser</em
|
: heaven, after the purgatory of Linux and the hell of Windows.
|
||||||
>: <a href='http://getfirefox.com/'>Firefox</a
|
</li>
|
||||||
>. On a Mac, <a href='http://www.caminobrowser.org/'>Camino</a
|
<li>
|
||||||
>.</li
|
<em>
|
||||||
>
|
Browser
|
||||||
<li
|
</em>
|
||||||
><em>Email</em
|
:
|
||||||
>: <a href='http://gmail.com/'>GMail</a
|
<a href='http://getfirefox.com/'>
|
||||||
>, "search, don't sort" really works.</li
|
Firefox
|
||||||
>
|
</a>
|
||||||
<li
|
. On a Mac,
|
||||||
><em>Text Editor</em
|
<a href='http://www.caminobrowser.org/'>
|
||||||
>: <a href='http://www.apple.com/getamac/'>TextMate</a
|
Camino
|
||||||
>, you have to buy it, but it's worth every
|
</a>
|
||||||
penny. There are rumours that it's been converting (recovering) Emacs
|
.
|
||||||
users (addicts). Unfortunately, it's Mac only. An alternative is
|
</li>
|
||||||
<a href='http://www.jedit.org/'>jedit</a
|
<li>
|
||||||
> (GPL, Java).</li
|
<em>
|
||||||
>
|
Email
|
||||||
</ul
|
</em>
|
||||||
><h3>Development</h3
|
:
|
||||||
><ul>
|
<a href='http://gmail.com/'>
|
||||||
<li
|
GMail
|
||||||
><em>Build system</em
|
</a>
|
||||||
>: <a href='http://www.cmake.org/'>cmake</a
|
, "search, don't sort" really works.
|
||||||
>, throw the <a href='http://sources.redhat.com/autobook/'>autotools</a
|
</li>
|
||||||
> away.</li
|
<li>
|
||||||
>
|
<em>
|
||||||
<li
|
Text Editor
|
||||||
><em>Source code control system</em
|
</em>
|
||||||
>: ditch CVS for <a href='http://subversion.tigris.org'>subversion</a
|
:
|
||||||
>.</li
|
<a href='http://www.apple.com/getamac/'>
|
||||||
>
|
TextMate
|
||||||
<li
|
</a>
|
||||||
><em>Project management</em
|
, you have to buy it, but it's worth every penny. There are rumours that it's
|
||||||
>: <a href='http://trac.edgewall.org/'>Trac</a
|
been converting (recovering) Emacs users (addicts). Unfortunately, it's Mac
|
||||||
> tracks everything.</li
|
only. An alternative is
|
||||||
>
|
<a href='http://www.jedit.org/'>
|
||||||
<li
|
jedit
|
||||||
><p
|
</a>
|
||||||
><em>Scripting language</em
|
(GPL, Java).
|
||||||
>: <a href='http://www.ruby-lang.org/'>Ruby</a
|
</li>
|
||||||
> is Japanese pragmatism (and has a <a href='http://poignantguide.net/ruby/'>poignant</a
|
</ul>
|
||||||
> guide).
|
<h3>
|
||||||
Python, you say? Python is too academic and snob:</p
|
Development
|
||||||
>
|
</h3>
|
||||||
<p>$ python <br
|
<ul>
|
||||||
/>
|
<li>
|
||||||
Python 2.4.1 (#1, Jun 4 2005, 00:54:33)
|
<em>
|
||||||
Type "help", "copyright", "credits" or "license" for more information.</p
|
Build system
|
||||||
>
|
</em>
|
||||||
<blockquote>
|
:
|
||||||
<blockquote>
|
<a href='http://www.cmake.org/'>
|
||||||
<blockquote>
|
cmake
|
||||||
<p>exit
|
</a>
|
||||||
'Use Ctrl-D (i.e. EOF) to exit.'
|
, throw the
|
||||||
quit
|
<a href='http://sources.redhat.com/autobook/'>
|
||||||
'Use Ctrl-D (i.e. EOF) to exit.'</p
|
autotools
|
||||||
>
|
</a>
|
||||||
</blockquote
|
away.
|
||||||
>
|
</li>
|
||||||
</blockquote
|
<li>
|
||||||
>
|
<em>
|
||||||
</blockquote
|
Source code control system
|
||||||
></li
|
</em>
|
||||||
>
|
: ditch CVS for
|
||||||
<li
|
<a href='http://subversion.tigris.org'>
|
||||||
><p
|
subversion
|
||||||
><em>Java IDE</em
|
</a>
|
||||||
>: <a href='http://www.borland.com/us/products/jbuilder/index.html'>JBuilder</a
|
.
|
||||||
> is great software and has a free version (IMHO better than Eclipse). Java
|
</li>
|
||||||
is not a pain anymore since it gained <a href='http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html'>generics</a
|
<li>
|
||||||
> and got opensourced.</p
|
<em>
|
||||||
></li
|
Project management
|
||||||
>
|
</em>
|
||||||
<li
|
:
|
||||||
><em>Mark-up language</em
|
<a href='http://trac.edgewall.org/'>
|
||||||
>: HTML is so 2001, why don't you take at look at <a href='http://en.wikipedia.org/wiki/Markdown'>Markdown</a
|
Trac
|
||||||
>? <a href='data/misc_markdown.png'>Look at the source of this page</a
|
</a>
|
||||||
>.</li
|
tracks everything.
|
||||||
>
|
</li>
|
||||||
<li
|
<li>
|
||||||
><em>C++ libraries</em
|
<p>
|
||||||
>:
|
<em>
|
||||||
<ul>
|
Scripting language
|
||||||
<li
|
</em>
|
||||||
><a href='http://www.trolltech.no/'>QT</a
|
:
|
||||||
> for GUIs.</li
|
<a href='http://www.ruby-lang.org/'>
|
||||||
>
|
Ruby
|
||||||
<li
|
</a>
|
||||||
><a href='http://www.gnu.org/software/gsl/'>GSL</a
|
is Japanese pragmatism (and has a
|
||||||
> for math.</li
|
<a href='http://poignantguide.net/ruby/'>
|
||||||
>
|
poignant
|
||||||
<li
|
</a>
|
||||||
><a href='http://www.imagemagick.org/Magick++/'>Magick++</a
|
guide). Python, you say? Python is too academic and snob:
|
||||||
> for manipulating images.</li
|
</p>
|
||||||
>
|
<p>
|
||||||
<li
|
$ python
|
||||||
><a href='http://cairographics.org/'>Cairo</a
|
<br/>
|
||||||
> for creating PDFs.</li
|
Python 2.4.1 (#1, Jun 4 2005, 00:54:33) Type "help", "copyright", "credits"
|
||||||
>
|
or "license" for more information.
|
||||||
<li
|
</p>
|
||||||
><a href='http://www.boost.org/'>Boost</a
|
<blockquote>
|
||||||
> for just about everything else.</li
|
<blockquote>
|
||||||
>
|
<blockquote>
|
||||||
</ul
|
<p>
|
||||||
></li
|
exit 'Use Ctrl-D (i.e. EOF) to exit.' quit 'Use Ctrl-D (i.e. EOF) to
|
||||||
>
|
exit.'
|
||||||
</ul
|
</p>
|
||||||
><h3>Research</h3
|
</blockquote>
|
||||||
><ul>
|
</blockquote>
|
||||||
<li
|
</blockquote>
|
||||||
><em>Writing papers</em
|
</li>
|
||||||
>: <a href='http://en.wikipedia.org/wiki/LaTeX'>LaTeX</a
|
<li>
|
||||||
></li
|
<p>
|
||||||
>
|
<em>
|
||||||
<li
|
Java IDE
|
||||||
><em>Writing papers & enjoying the process</em
|
</em>
|
||||||
>: <a href='http://www.lyx.org'>LyX</a
|
:
|
||||||
></li
|
<a href='http://www.borland.com/us/products/jbuilder/index.html'>
|
||||||
>
|
JBuilder
|
||||||
<li
|
</a>
|
||||||
><em>Handsome figures in your papers</em
|
is great software and has a free version (IMHO better than Eclipse). Java
|
||||||
>: <a href='http://www.xfig.org/'>xfig</a
|
is not a pain anymore since it gained
|
||||||
> or, better, <a href='http://tams-www.informatik.uni-hamburg.de/applets/jfig/'>jfig</a
|
<a href='http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html'>
|
||||||
>.</li
|
generics
|
||||||
>
|
</a>
|
||||||
<li
|
and got opensourced.
|
||||||
><em>The occasional presentation with many graphical content</em
|
</p>
|
||||||
>:
|
</li>
|
||||||
<a href='http://www.openoffice.org/product/impress.html'>OpenOffice Impress</a
|
<li>
|
||||||
> (using the <a href='http://ooolatex.sourceforge.net/'>OOOlatex plugin</a
|
<em>
|
||||||
>);
|
Mark-up language
|
||||||
the alternative is PowerPoint with the <a href='http://texpoint.necula.org/'>TexPoint</a
|
</em>
|
||||||
> plugin.</li
|
: HTML is so 2001, why don't you take at look at
|
||||||
>
|
<a href='http://en.wikipedia.org/wiki/Markdown'>
|
||||||
<li
|
Markdown
|
||||||
><em>Managing BibTeX</em
|
</a>
|
||||||
>: <a href='http://jabref.sourceforge.net/'>jabref</a
|
?
|
||||||
>: multi-platform, for all your bibtex needs.</li
|
<a href='data/misc_markdown.png'>
|
||||||
>
|
Look at the source of this page
|
||||||
<li
|
</a>
|
||||||
><em>IEEExplore and BibTeX</em
|
.
|
||||||
>: convert citations using <a href='http://www.bibconverter.net/ieeexplore/'>BibConverter</a
|
</li>
|
||||||
>.</li
|
<li>
|
||||||
>
|
<em>
|
||||||
</ul
|
C++ libraries
|
||||||
><h3>Cool websites</h3
|
</em>
|
||||||
><ul>
|
:
|
||||||
<li
|
<ul>
|
||||||
><em>Best site in the wwworld</em
|
<li>
|
||||||
>: <a href='http://en.wikipedia.org/'>Wikipedia</a
|
<a href='http://www.trolltech.no/'>
|
||||||
></li
|
QT
|
||||||
>
|
</a>
|
||||||
<li
|
for GUIs.
|
||||||
><a href='http://www.mutopiaproject.org/'>Mutopia</a
|
</li>
|
||||||
> for sheet music; <a href='http://www.gutenberg.org/'>the Gutenberg Project</a
|
<li>
|
||||||
> for books; <a href='http://www.liberliber.it/'>LiberLiber</a
|
<a href='http://www.gnu.org/software/gsl/'>
|
||||||
> for books in italian.</li
|
GSL
|
||||||
>
|
</a>
|
||||||
<li
|
for math.
|
||||||
><em>Blogs</em
|
</li>
|
||||||
>: <a href='http://bloglines.com/'>Bloglines</a
|
<li>
|
||||||
></li
|
<a href='http://www.imagemagick.org/Magick++/'>
|
||||||
>
|
Magick++
|
||||||
<li
|
</a>
|
||||||
><em>Sharing photos</em
|
for manipulating images.
|
||||||
>: <a href='http://www.flickr.com/'>flickr</a
|
</li>
|
||||||
> exposes an API you can use.</li
|
<li>
|
||||||
>
|
<a href='http://cairographics.org/'>
|
||||||
</ul
|
Cairo
|
||||||
></div
|
</a>
|
||||||
>
|
for creating PDFs.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href='http://www.boost.org/'>
|
||||||
|
Boost
|
||||||
|
</a>
|
||||||
|
for just about everything else.
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<h3>
|
||||||
|
Research
|
||||||
|
</h3>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<em>
|
||||||
|
Writing papers
|
||||||
|
</em>
|
||||||
|
:
|
||||||
|
<a href='http://en.wikipedia.org/wiki/LaTeX'>
|
||||||
|
LaTeX
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<em>
|
||||||
|
Writing papers & enjoying the process
|
||||||
|
</em>
|
||||||
|
:
|
||||||
|
<a href='http://www.lyx.org'>
|
||||||
|
LyX
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<em>
|
||||||
|
Handsome figures in your papers
|
||||||
|
</em>
|
||||||
|
:
|
||||||
|
<a href='http://www.xfig.org/'>
|
||||||
|
xfig
|
||||||
|
</a>
|
||||||
|
or, better,
|
||||||
|
<a href='http://tams-www.informatik.uni-hamburg.de/applets/jfig/'>
|
||||||
|
jfig
|
||||||
|
</a>
|
||||||
|
.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<em>
|
||||||
|
The occasional presentation with many graphical content
|
||||||
|
</em>
|
||||||
|
:
|
||||||
|
<a href='http://www.openoffice.org/product/impress.html'>
|
||||||
|
OpenOffice Impress
|
||||||
|
</a>
|
||||||
|
(using the
|
||||||
|
<a href='http://ooolatex.sourceforge.net/'>
|
||||||
|
OOOlatex plugin
|
||||||
|
</a>
|
||||||
|
); the alternative is PowerPoint with the
|
||||||
|
<a href='http://texpoint.necula.org/'>
|
||||||
|
TexPoint
|
||||||
|
</a>
|
||||||
|
plugin.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<em>
|
||||||
|
Managing BibTeX
|
||||||
|
</em>
|
||||||
|
:
|
||||||
|
<a href='http://jabref.sourceforge.net/'>
|
||||||
|
jabref
|
||||||
|
</a>
|
||||||
|
: multi-platform, for all your bibtex needs.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<em>
|
||||||
|
IEEExplore and BibTeX
|
||||||
|
</em>
|
||||||
|
: convert citations using
|
||||||
|
<a href='http://www.bibconverter.net/ieeexplore/'>
|
||||||
|
BibConverter
|
||||||
|
</a>
|
||||||
|
.
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<h3>
|
||||||
|
Cool websites
|
||||||
|
</h3>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<em>
|
||||||
|
Best site in the wwworld
|
||||||
|
</em>
|
||||||
|
:
|
||||||
|
<a href='http://en.wikipedia.org/'>
|
||||||
|
Wikipedia
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href='http://www.mutopiaproject.org/'>
|
||||||
|
Mutopia
|
||||||
|
</a>
|
||||||
|
for sheet music;
|
||||||
|
<a href='http://www.gutenberg.org/'>
|
||||||
|
the Gutenberg Project
|
||||||
|
</a>
|
||||||
|
for books;
|
||||||
|
<a href='http://www.liberliber.it/'>
|
||||||
|
LiberLiber
|
||||||
|
</a>
|
||||||
|
for books in italian.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<em>
|
||||||
|
Blogs
|
||||||
|
</em>
|
||||||
|
:
|
||||||
|
<a href='http://bloglines.com/'>
|
||||||
|
Bloglines
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<em>
|
||||||
|
Sharing photos
|
||||||
|
</em>
|
||||||
|
:
|
||||||
|
<a href='http://www.flickr.com/'>
|
||||||
|
flickr
|
||||||
|
</a>
|
||||||
|
exposes an API you can use.
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
|
@ -33,12 +33,15 @@ md_el(:document,[md_par([md_code("\\\\")]), md_par([md_code("\\")])],{},[])
|
||||||
<p><code>\</code></p>
|
<p><code>\</code></p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p
|
<p>
|
||||||
><code>\\</code
|
<code>
|
||||||
></p
|
\\
|
||||||
><p
|
</code>
|
||||||
><code>\</code
|
</p>
|
||||||
></p
|
<p>
|
||||||
></div
|
<code>
|
||||||
>
|
\
|
||||||
|
</code>
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -78,12 +78,23 @@ ParagraphheaderParagraphheaderParagraphheader
|
||||||
<h1>header</h1>
|
<h1>header</h1>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Paragraph</p
|
<p>
|
||||||
><h3>header</h3
|
Paragraph
|
||||||
><p>Paragraph</p
|
</p>
|
||||||
><h2>header</h2
|
<h3>
|
||||||
><p>Paragraph</p
|
header
|
||||||
><h1>header</h1
|
</h3>
|
||||||
></div
|
<p>
|
||||||
>
|
Paragraph
|
||||||
|
</p>
|
||||||
|
<h2>
|
||||||
|
header
|
||||||
|
</h2>
|
||||||
|
<p>
|
||||||
|
Paragraph
|
||||||
|
</p>
|
||||||
|
<h1>
|
||||||
|
header
|
||||||
|
</h1>
|
||||||
|
</div>
|
|
@ -28,9 +28,10 @@ md_el(:document,[md_par([md_code("There is a literal backtick (`) here.")])],{},
|
||||||
<p><code>There is a literal backtick (`) here.</code></p>
|
<p><code>There is a literal backtick (`) here.</code></p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p
|
<p>
|
||||||
><code>There is a literal backtick (`) here.</code
|
<code>
|
||||||
></p
|
There is a literal backtick (`) here.
|
||||||
></div
|
</code>
|
||||||
>
|
</p>
|
||||||
|
</div>
|
|
@ -203,33 +203,53 @@ Paragraph, list with no space: * ciaoParagraph, list with 1 space: * ciaoParagra
|
||||||
<h2>header</h2>
|
<h2>header</h2>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Paragraph, list with no space:
|
<p>
|
||||||
* ciao</p
|
Paragraph, list with no space: * ciao
|
||||||
><p>Paragraph, list with 1 space:
|
</p>
|
||||||
* ciao</p
|
<p>
|
||||||
><p>Paragraph, list with 3 space:
|
Paragraph, list with 1 space: * ciao
|
||||||
* ciao</p
|
</p>
|
||||||
><p>Paragraph, list with 4 spaces:
|
<p>
|
||||||
* ciao</p
|
Paragraph, list with 3 space: * ciao
|
||||||
><p>Paragraph, list with 1 tab:
|
</p>
|
||||||
* ciao</p
|
<p>
|
||||||
><p>Paragraph (1 space after), list with no space:
|
Paragraph, list with 4 spaces: * ciao
|
||||||
* ciao</p
|
</p>
|
||||||
><p>Paragraph (2 spaces after), list with no space: <br
|
<p>
|
||||||
/>
|
Paragraph, list with 1 tab: * ciao
|
||||||
* ciao</p
|
</p>
|
||||||
><p>Paragraph (3 spaces after), list with no space: <br
|
<p>
|
||||||
/>
|
Paragraph (1 space after), list with no space: * ciao
|
||||||
* ciao</p
|
</p>
|
||||||
><p>Paragraph with block quote:</p
|
<p>
|
||||||
><blockquote>
|
Paragraph (2 spaces after), list with no space:
|
||||||
<p>Quoted</p
|
<br/>
|
||||||
>
|
* ciao
|
||||||
</blockquote
|
</p>
|
||||||
><p>Paragraph with header:</p
|
<p>
|
||||||
><h3>header</h3
|
Paragraph (3 spaces after), list with no space:
|
||||||
><p>Paragraph with header on two lines:</p
|
<br/>
|
||||||
><h2>header</h2
|
* ciao
|
||||||
></div
|
</p>
|
||||||
>
|
<p>
|
||||||
|
Paragraph with block quote:
|
||||||
|
</p>
|
||||||
|
<blockquote>
|
||||||
|
<p>
|
||||||
|
Quoted
|
||||||
|
</p>
|
||||||
|
</blockquote>
|
||||||
|
<p>
|
||||||
|
Paragraph with header:
|
||||||
|
</p>
|
||||||
|
<h3>
|
||||||
|
header
|
||||||
|
</h3>
|
||||||
|
<p>
|
||||||
|
Paragraph with header on two lines:
|
||||||
|
</p>
|
||||||
|
<h2>
|
||||||
|
header
|
||||||
|
</h2>
|
||||||
|
</div>
|
28
vendor/plugins/maruku/tests/unittest/olist.md
vendored
28
vendor/plugins/maruku/tests/unittest/olist.md
vendored
|
@ -61,15 +61,19 @@ This is a list:onetwothree
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>This is a list:</p
|
<p>
|
||||||
><ol>
|
This is a list:
|
||||||
<li>one</li
|
</p>
|
||||||
>
|
<ol>
|
||||||
<li>two</li
|
<li>
|
||||||
>
|
one
|
||||||
<li>three</li
|
</li>
|
||||||
>
|
<li>
|
||||||
</ol
|
two
|
||||||
></div
|
</li>
|
||||||
>
|
<li>
|
||||||
|
three
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</div>
|
9
vendor/plugins/maruku/tests/unittest/one.md
vendored
9
vendor/plugins/maruku/tests/unittest/one.md
vendored
|
@ -25,7 +25,8 @@ One line
|
||||||
<p>One line</p>
|
<p>One line</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>One line</p
|
<p>
|
||||||
></div
|
One line
|
||||||
>
|
</p>
|
||||||
|
</div>
|
|
@ -26,7 +26,8 @@ Paragraph
|
||||||
<p>Paragraph</p>
|
<p>Paragraph</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Paragraph</p
|
<p>
|
||||||
></div
|
Paragraph
|
||||||
>
|
</p>
|
||||||
|
</div>
|
|
@ -54,9 +54,8 @@ Paragraph
|
||||||
Paragraph</p>
|
Paragraph</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Paragraph
|
<p>
|
||||||
Paragraph
|
Paragraph Paragraph Paragraph
|
||||||
Paragraph</p
|
</p>
|
||||||
></div
|
</div>
|
||||||
>
|
|
|
@ -36,8 +36,11 @@ Paragraph1Paragraph2
|
||||||
<p>Paragraph2</p>
|
<p>Paragraph2</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Paragraph1</p
|
<p>
|
||||||
><p>Paragraph2</p
|
Paragraph1
|
||||||
></div
|
</p>
|
||||||
>
|
<p>
|
||||||
|
Paragraph2
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -63,13 +63,16 @@ Paragraph Br-> <br />
|
||||||
Paragraph 5</p>
|
Paragraph 5</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Paragraph 1</p
|
<p>
|
||||||
><p>Paragraph 2</p
|
Paragraph 1
|
||||||
><p>Paragraph 3
|
</p>
|
||||||
Paragraph 4
|
<p>
|
||||||
Paragraph Br-> <br
|
Paragraph 2
|
||||||
/>
|
</p>
|
||||||
Paragraph 5</p
|
<p>
|
||||||
></div
|
Paragraph 3 Paragraph 4 Paragraph Br->
|
||||||
>
|
<br/>
|
||||||
|
Paragraph 5
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -25,7 +25,8 @@ Search on Google imagesGoOgle search ]
|
||||||
<p>Search on [Google images][ GoOgle search ]</p>
|
<p>Search on [Google images][ GoOgle search ]</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Search on [Google images][ GoOgle search ]</p
|
<p>
|
||||||
></div
|
Search on [Google images][ GoOgle search ]
|
||||||
>
|
</p>
|
||||||
|
</div>
|
|
@ -85,16 +85,36 @@ inspiration for Markdown's syntax is the format of plain text email.</p>
|
||||||
<p>To this end, Markdown's syntax is comprised entirely of punctuation</p>
|
<p>To this end, Markdown's syntax is comprised entirely of punctuation</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>filters -- including <a href='http://docutils.sourceforge.net/mirror/setext.html'>Setext</a
|
<p>
|
||||||
>, <a href='http://www.aaronsw.com/2002/atx/'>atx</a
|
filters -- including
|
||||||
>, <a href='http://textism.com/tools/textile/'>Textile</a
|
<a href='http://docutils.sourceforge.net/mirror/setext.html'>
|
||||||
>, <a href='http://docutils.sourceforge.net/rst.html'>reStructuredText</a
|
Setext
|
||||||
>,
|
</a>
|
||||||
<a href='http://www.triptico.com/software/grutatxt.html'>Grutatext</a
|
,
|
||||||
>, and <a href='http://ettext.taint.org/doc/'>EtText</a
|
<a href='http://www.aaronsw.com/2002/atx/'>
|
||||||
> -- the single biggest source of
|
atx
|
||||||
inspiration for Markdown's syntax is the format of plain text email.</p
|
</a>
|
||||||
><p>To this end, Markdown's syntax is comprised entirely of punctuation</p
|
,
|
||||||
></div
|
<a href='http://textism.com/tools/textile/'>
|
||||||
>
|
Textile
|
||||||
|
</a>
|
||||||
|
,
|
||||||
|
<a href='http://docutils.sourceforge.net/rst.html'>
|
||||||
|
reStructuredText
|
||||||
|
</a>
|
||||||
|
,
|
||||||
|
<a href='http://www.triptico.com/software/grutatxt.html'>
|
||||||
|
Grutatext
|
||||||
|
</a>
|
||||||
|
, and
|
||||||
|
<a href='http://ettext.taint.org/doc/'>
|
||||||
|
EtText
|
||||||
|
</a>
|
||||||
|
-- the single biggest source of inspiration for Markdown's syntax is the
|
||||||
|
format of plain text email.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
To this end, Markdown's syntax is comprised entirely of punctuation
|
||||||
|
</p>
|
||||||
|
</div>
|
|
@ -25,5 +25,4 @@ md_el(:document,[md_ref_def("6", "http://ettext.taint.org/doc/", {:title=>nil})]
|
||||||
|
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div/>
|
||||||
/>
|
|
|
@ -149,10 +149,10 @@ Line:
|
||||||
Position:
|
Position:
|
||||||
Last 80 unconsumed characters:
|
Last 80 unconsumed characters:
|
||||||
<pre><code>She was 6\"12\'. </code></pre> <blockquote> <p>She was 6\"12\'.</>
|
<pre><code>She was 6\"12\'. </code></pre> <blockquote> <p>She was 6\"12\'.</>
|
||||||
/sw/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:320:in `pull'
|
||||||
/sw/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
|
||||||
/sw/lib/ruby/1.8/rexml/document.rb:190:in `build'
|
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:204:in `build'
|
||||||
/sw/lib/ruby/1.8/rexml/document.rb:45:in `initialize'
|
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:42:in `initialize'
|
||||||
bin/marutest:200:in `new'
|
bin/marutest:200:in `new'
|
||||||
bin/marutest:200:in `run_test'
|
bin/marutest:200:in `run_test'
|
||||||
bin/marutest:274:in `marutest'
|
bin/marutest:274:in `marutest'
|
||||||
|
|
|
@ -77,24 +77,33 @@ puts Maruku.new($stdin).to_html
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>This is ruby code:</p
|
<p>
|
||||||
><pre
|
This is ruby code:
|
||||||
><code>require 'maruku'
|
</p>
|
||||||
|
<pre>
|
||||||
puts Maruku.new($stdin).to_html
|
<code>
|
||||||
</code
|
require 'maruku' puts Maruku.new($stdin).to_html
|
||||||
></pre
|
</code>
|
||||||
><p>This is ruby code:</p
|
</pre>
|
||||||
><pre
|
<p>
|
||||||
><code>require 'maruku'
|
This is ruby code:
|
||||||
</code
|
</p>
|
||||||
></pre
|
<pre>
|
||||||
><p>{: lang=ruby html<em>use</em
|
<code>
|
||||||
>syntax}</p
|
require 'maruku'
|
||||||
><pre
|
</code>
|
||||||
><code>puts Maruku.new($stdin).to_html
|
</pre>
|
||||||
</code
|
<p>
|
||||||
></pre
|
{: lang=ruby html
|
||||||
></div
|
<em>
|
||||||
>
|
use
|
||||||
|
</em>
|
||||||
|
syntax}
|
||||||
|
</p>
|
||||||
|
<pre>
|
||||||
|
<code>
|
||||||
|
puts Maruku.new($stdin).to_html
|
||||||
|
</code>
|
||||||
|
</pre>
|
||||||
|
</div>
|
|
@ -49,11 +49,13 @@ hh c1c2
|
||||||
<p>{:t: scope="row"}</p>
|
<p>{:t: scope="row"}</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>h | h
|
<p>
|
||||||
----------|--
|
h | h ----------|-- {:t} c1 | c2 {: summary="Table summary" .class1
|
||||||
{:t} c1 | c2
|
style="color:red" border=3 width="50%" frame=lhs rules=cols cellspacing=2em
|
||||||
{: summary="Table summary" .class1 style="color:red" border=3 width="50%" frame=lhs rules=cols cellspacing=2em cellpadding=4px}</p
|
cellpadding=4px}
|
||||||
><p>{:t: scope="row"}</p
|
</p>
|
||||||
></div
|
<p>
|
||||||
>
|
{:t: scope="row"}
|
||||||
|
</p>
|
||||||
|
</div>
|
9
vendor/plugins/maruku/tests/unittest/test.md
vendored
9
vendor/plugins/maruku/tests/unittest/test.md
vendored
|
@ -29,7 +29,8 @@ md_el(:document,[md_el(:code,[],{:raw_code=>" $ python "},[])],{},[]
|
||||||
<p>$ python </p>
|
<p>$ python </p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>$ python </p
|
<p>
|
||||||
></div
|
$ python
|
||||||
>
|
</p>
|
||||||
|
</div>
|
37
vendor/plugins/maruku/tests/unittest/wrapping.md
vendored
37
vendor/plugins/maruku/tests/unittest/wrapping.md
vendored
|
@ -85,18 +85,25 @@ Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p>Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Break: <br
|
<p>
|
||||||
/>
|
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem
|
||||||
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. </p
|
ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum
|
||||||
><ul>
|
dolor amet. Break:
|
||||||
<li>Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet
|
<br/>
|
||||||
Lorem ipsum Break: <br
|
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem
|
||||||
/>
|
ipsum dolor amet.
|
||||||
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet</li
|
</p>
|
||||||
>
|
<ul>
|
||||||
<li>Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet</li
|
<li>
|
||||||
>
|
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem
|
||||||
</ul
|
ipsum dolor amet Lorem ipsum Break:
|
||||||
></div
|
<br/>
|
||||||
>
|
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem
|
||||||
|
ipsum dolor amet
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
30
vendor/plugins/maruku/tests/unittest/xml.md
vendored
30
vendor/plugins/maruku/tests/unittest/xml.md
vendored
|
@ -51,20 +51,16 @@ width="600px" height="400px">
|
||||||
</svg:svg></p>
|
</svg:svg></p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p
|
<p>
|
||||||
><svg:svg
|
<svg:svg/>
|
||||||
/></p
|
</p>
|
||||||
><p
|
<p>
|
||||||
><svg:svg height='400px' width='600px'>
|
<svg:svg height='400px' width='600px'>
|
||||||
<svg:g id='group'>
|
<svg:g id='group'>
|
||||||
<svg:circle cy='3cm' id='circ1' r='1cm' cx='3cm' style='fill:red;'
|
<svg:circle cy='3cm' id='circ1' r='1cm' cx='3cm' style='fill:red;'/>
|
||||||
/>
|
<svg:circle cy='3cm' id='circ2' r='1cm' cx='7cm' style='fill:red;'/>
|
||||||
<svg:circle cy='3cm' id='circ2' r='1cm' cx='7cm' style='fill:red;'
|
</svg:g>
|
||||||
/>
|
</svg:svg>
|
||||||
</svg:g
|
</p>
|
||||||
>
|
</div>
|
||||||
</svg:svg
|
|
||||||
></p
|
|
||||||
></div
|
|
||||||
>
|
|
8
vendor/plugins/maruku/tests/unittest/xml2.md
vendored
8
vendor/plugins/maruku/tests/unittest/xml2.md
vendored
|
@ -31,8 +31,8 @@ md_el(:document,[md_html("<!--\n<\n-->")],{},[])
|
||||||
-->
|
-->
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
> <!--
|
<!--
|
||||||
<
|
<
|
||||||
--></div
|
-->
|
||||||
>
|
</div>
|
21
vendor/plugins/maruku/tests/unittest/xml3.md
vendored
21
vendor/plugins/maruku/tests/unittest/xml3.md
vendored
|
@ -41,14 +41,13 @@ md_el(:document,[
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><table markdown='1'>
|
<table markdown='1'>
|
||||||
Blah
|
Blah
|
||||||
<thead>
|
<thead>
|
||||||
<td>*em*</td
|
<td>
|
||||||
>
|
*em*
|
||||||
</thead
|
</td>
|
||||||
>
|
</thead>
|
||||||
</table
|
</table>
|
||||||
></div
|
</div>
|
||||||
>
|
|
|
@ -69,10 +69,23 @@ Targets Inside: last
|
||||||
<p>Inside: <?mrk puts "Inside: Hello" ?> last</p>
|
<p>Inside: <?mrk puts "Inside: Hello" ?> last</p>
|
||||||
|
|
||||||
*** Output of Markdown.pl (parsed) ***
|
*** Output of Markdown.pl (parsed) ***
|
||||||
<div
|
<div>
|
||||||
><p
|
<p>
|
||||||
> <? noTarget?> <?php ?> <?xml ?> <?mrk ?></p
|
<? noTarget?>
|
||||||
><p>Targets <? noTarget?> <?php ?> <?xml ?> <?mrk ?></p
|
<?php ?>
|
||||||
><p>Inside: <?mrk puts "Inside: Hello"?> last</p
|
<?xml ?>
|
||||||
></div
|
<?mrk ?>
|
||||||
>
|
</p>
|
||||||
|
<p>
|
||||||
|
Targets
|
||||||
|
<? noTarget?>
|
||||||
|
<?php ?>
|
||||||
|
<?xml ?>
|
||||||
|
<?mrk ?>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Inside:
|
||||||
|
<?mrk puts "Inside: Hello"?>
|
||||||
|
last
|
||||||
|
</p>
|
||||||
|
</div>
|
Loading…
Add table
Reference in a new issue