Sync with latest Maruku
Contains Ari Stern's additions for Blahtex support.
This commit is contained in:
parent
e1c7d035c9
commit
37aff87d71
100 changed files with 715 additions and 2848 deletions
2
vendor/plugins/maruku/AUTHORS
vendored
2
vendor/plugins/maruku/AUTHORS
vendored
|
@ -1,6 +1,7 @@
|
|||
Authors:
|
||||
|
||||
* [Andrea Censi](http://www.dis.uniroma1.it/~acensi)
|
||||
* [Ari Stern](http://www.acm.caltech.edu/~astern)
|
||||
|
||||
Bug reporting, feature requests and praise:
|
||||
|
||||
|
@ -8,4 +9,5 @@ Bug reporting, feature requests and praise:
|
|||
* Snowman
|
||||
* Sander Bouwhuis
|
||||
* Aggelos Orfanakos
|
||||
* Louis Marascio
|
||||
|
||||
|
|
28
vendor/plugins/maruku/Rakefile
vendored
28
vendor/plugins/maruku/Rakefile
vendored
|
@ -2,23 +2,23 @@ require 'rubygems'
|
|||
Gem::manage_gems
|
||||
require 'rake/gempackagetask'
|
||||
|
||||
#require 'maruku_gem'
|
||||
require 'maruku_gem'
|
||||
|
||||
task :default => [:package]
|
||||
|
||||
#Rake::GemPackageTask.new($spec) do |pkg|
|
||||
# pkg.need_zip = true
|
||||
# pkg.need_tar = true
|
||||
#end
|
||||
Rake::GemPackageTask.new($spec) do |pkg|
|
||||
pkg.need_zip = true
|
||||
pkg.need_tar = true
|
||||
end
|
||||
|
||||
#PKG_NAME = 'maruku'
|
||||
#PKG_FILE_NAME = "#{PKG_NAME}-#{MaRuKu::Version}"
|
||||
#RUBY_FORGE_PROJECT = PKG_NAME
|
||||
#RUBY_FORGE_USER = 'andrea'
|
||||
PKG_NAME = 'maruku'
|
||||
PKG_FILE_NAME = "#{PKG_NAME}-#{MaRuKu::Version}"
|
||||
RUBY_FORGE_PROJECT = PKG_NAME
|
||||
RUBY_FORGE_USER = 'andrea'
|
||||
|
||||
#RELEASE_NAME = MaRuKu::Version
|
||||
#RUBY_FORGE_GROUPID = '2795'
|
||||
#RUBY_FORGE_PACKAGEID = '3292'
|
||||
RELEASE_NAME = MaRuKu::Version
|
||||
RUBY_FORGE_GROUPID = '2795'
|
||||
RUBY_FORGE_PACKAGEID = '3292'
|
||||
|
||||
desc "Publish the release files to RubyForge."
|
||||
task :release => [:gem, :package] do
|
||||
|
@ -45,12 +45,12 @@ task :markdown_block_tests do
|
|||
tests = Dir['tests/unittest/**/*.md'].join(' ')
|
||||
puts "Executing tests #{tests}"
|
||||
# ok = marutest(tests)
|
||||
ok = system "ruby -I../syntax/lib -Ilib bin/marutest #{tests}"
|
||||
ok = system "ruby -Ilib bin/marutest #{tests}"
|
||||
raise "Failed block unittest" if not ok
|
||||
end
|
||||
|
||||
task :markdown_span_tests do
|
||||
ok = system( "ruby -Ilib -I.. lib/maruku/tests/new_parser.rb v b")
|
||||
ok = system( "ruby -Ilib lib/maruku/tests/new_parser.rb v b")
|
||||
raise "Failed span unittest" if not ok
|
||||
end
|
||||
|
||||
|
|
29
vendor/plugins/maruku/bin/marudown
vendored
Normal file
29
vendor/plugins/maruku/bin/marudown
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
require 'maruku'
|
||||
|
||||
# If we are given filenames, convert each file
|
||||
if not ARGV.empty?
|
||||
ARGV.each do |f|
|
||||
puts "Opening #{f}"
|
||||
|
||||
# read file content
|
||||
input = File.open(f,'r').read
|
||||
|
||||
# create Maruku
|
||||
doc = Maruku.new(input, {:on_error=>:warning})
|
||||
# convert to a complete html document
|
||||
output = doc.to_md
|
||||
|
||||
# write to file
|
||||
dir = File.dirname(f)
|
||||
filename = File.basename(f, File.extname(f)) + ".txt"
|
||||
|
||||
output = File.join(dir, filename)
|
||||
File.open(output,'w') do |f| f.puts html end
|
||||
end
|
||||
else
|
||||
# else, act as a filter
|
||||
data = $stdin.read
|
||||
puts Maruku.new(data, {:on_error=>:warning}).to_md
|
||||
end
|
|
@ -10,23 +10,24 @@ module MaRuKu; module Out; module HTML
|
|||
|
||||
def convert_to_png_blahtex(kind, tex)
|
||||
begin
|
||||
FileUtils::mkdir_p MaRuKu::Globals[:html_png_dir]
|
||||
FileUtils::mkdir_p get_setting(:html_png_dir)
|
||||
|
||||
# first, we check whether this image has already been processed
|
||||
md5sum = Digest::MD5.hexdigest(tex+" params: ")
|
||||
result_file = File.join(MaRuKu::Globals[:html_png_dir], md5sum+".txt")
|
||||
result_file = File.join(get_setting(:html_png_dir), md5sum+".txt")
|
||||
|
||||
if not File.exists?(result_file)
|
||||
tmp_in = Tempfile.new('maruku_blahtex')
|
||||
f = tmp_in.open
|
||||
f = tmp_in.open
|
||||
f.write tex
|
||||
f.close
|
||||
|
||||
resolution = get_setting(:html_png_resolution)
|
||||
|
||||
options = "--png --use-preview-package --shell-dvipng '/usr/bin/dvipng -D #{resolution}' "
|
||||
options += ("--temp-directory '%s' " % MaRuKu::Globals[:html_png_dir])
|
||||
options += ("--png-directory '%s'" % MaRuKu::Globals[:html_png_dir])
|
||||
options = "--png --use-preview-package --shell-dvipng 'dvipng -D #{resolution}' "
|
||||
options += "--displaymath " if kind == :equation
|
||||
options += ("--temp-directory '%s' " % get_setting(:html_png_dir))
|
||||
options += ("--png-directory '%s'" % get_setting(:html_png_dir))
|
||||
|
||||
cmd = "blahtex #{options} < #{tmp_in.path} > #{result_file}"
|
||||
#$stderr.puts "$ #{cmd}"
|
||||
|
@ -52,7 +53,7 @@ module MaRuKu; module Out; module HTML
|
|||
height = height.text.to_f # XXX check != 0
|
||||
md5 = md5.text
|
||||
|
||||
dir_url = MaRuKu::Globals[:html_png_url]
|
||||
dir_url = get_setting(:html_png_url)
|
||||
return PNG.new("#{dir_url}#{md5}.png", depth, height)
|
||||
rescue Exception => e
|
||||
maruku_error "Error: #{e}"
|
||||
|
@ -62,7 +63,7 @@ module MaRuKu; module Out; module HTML
|
|||
|
||||
|
||||
def convert_to_mathml_blahtex(kind, tex)
|
||||
@@BlahtexCache = PStore.new(MaRuKu::Globals[:latex_cache_file])
|
||||
@@BlahtexCache = PStore.new(get_setting(:latex_cache_file))
|
||||
|
||||
begin
|
||||
@@BlahtexCache.transaction do
|
||||
|
|
|
@ -90,7 +90,7 @@ module MaRuKu; module Out; module HTML
|
|||
img = Element.new 'img'
|
||||
img.attributes['src'] = src
|
||||
img.attributes['style'] = style
|
||||
img.attributes['alt'] = "equation"
|
||||
img.attributes['alt'] = "$#{self.math.strip}$"
|
||||
img
|
||||
end
|
||||
|
||||
|
@ -144,7 +144,7 @@ module MaRuKu; module Out; module HTML
|
|||
|
||||
source_div = Element.new 'div'
|
||||
add_class_to(source_div, 'maruku-eq-tex')
|
||||
code = convert_to_mathml_none(:equation, self.math)
|
||||
code = convert_to_mathml_none(:equation, self.math.strip)
|
||||
code.attributes['style'] = 'display: none'
|
||||
source_div << code
|
||||
div << source_div
|
||||
|
|
|
@ -185,15 +185,27 @@ module MaRuKu; module In; module Markdown; module SpanLevelParser
|
|||
maruku_recover "Threating as literal", src, con
|
||||
con.push_char src.shift_char
|
||||
else
|
||||
follows = src.cur_chars(4)
|
||||
if follows =~ /^\_\_\_[^\s\_]/
|
||||
con.push_element read_emstrong(src,'___')
|
||||
elsif follows =~ /^\_\_[^\s\_]/
|
||||
con.push_element read_strong(src,'__')
|
||||
elsif follows =~ /^\_[^\s\_]/
|
||||
con.push_element read_em(src,'_')
|
||||
else # _ is just a normal char
|
||||
con.push_char src.shift_char
|
||||
# we don't want "mod_ruby" to start an emphasis
|
||||
# so we start one only if
|
||||
# 1) there's nothing else in the span (first char)
|
||||
# or 2) the last char was a space
|
||||
# or 3) the current string is empty
|
||||
#if con.elements.empty? ||
|
||||
if (con.cur_string =~ /\s\Z/) || (con.cur_string.size == 0)
|
||||
# also, we check the next characters
|
||||
follows = src.cur_chars(4)
|
||||
if follows =~ /^\_\_\_[^\s\_]/
|
||||
con.push_element read_emstrong(src,'___')
|
||||
elsif follows =~ /^\_\_[^\s\_]/
|
||||
con.push_element read_strong(src,'__')
|
||||
elsif follows =~ /^\_[^\s\_]/
|
||||
con.push_element read_em(src,'_')
|
||||
else # _ is just a normal char
|
||||
con.push_char src.shift_char
|
||||
end
|
||||
else
|
||||
# _ is just a normal char
|
||||
con.push_char src.shift_char
|
||||
end
|
||||
end
|
||||
when ?{ # extension
|
||||
|
@ -696,6 +708,7 @@ module MaRuKu; module In; module Markdown; module SpanLevelParser
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
def push_string_if_present
|
||||
if @cur_string.size > 0
|
||||
@elements << @cur_string
|
||||
|
|
|
@ -106,6 +106,8 @@ module MaRuKu; module Tests
|
|||
["_b_", [md_em('b')], 'Emphasis 7'],
|
||||
["_b_ _c_", [md_em('b'),' ',md_em('c')], 'Emphasis 8'],
|
||||
["_b__c_", [md_em('b'),md_em('c')], 'Emphasis 9'],
|
||||
# underscores in word
|
||||
["mod_ruby", ['mod_ruby'], 'Word with underscore'],
|
||||
# strong
|
||||
["**a*", :throw, 'Unclosed double ** 2'],
|
||||
["\\**a*", ['*', md_em('a')], 'Escaping of *'],
|
||||
|
@ -116,7 +118,8 @@ module MaRuKu; module Tests
|
|||
["**b****c**", [md_strong('b'),md_strong('c')], 'Emphasis 9'],
|
||||
# strong (with underscore)
|
||||
["__a_", :throw, 'Unclosed double __ 2'],
|
||||
["\\__a_", ['_', md_em('a')], 'Escaping of _'],
|
||||
|
||||
# ["\\__a_", ['_', md_em('a')], 'Escaping of _'],
|
||||
["a __b__ ", ['a ', md_strong('b')], 'Emphasis 1'],
|
||||
["a __b__", ['a ', md_strong('b')], 'Emphasis 2'],
|
||||
["a __ b", ['a __ b'], 'Emphasis 3'],
|
||||
|
@ -133,7 +136,7 @@ module MaRuKu; module Tests
|
|||
["a *** b***", :throw, 'Unclosed emphasis'],
|
||||
# same with underscores
|
||||
["___a__", :throw, 'Unclosed triple *** '],
|
||||
["\\___a__", ['_', md_strong('a')], 'Escaping of *'],
|
||||
# ["\\___a__", ['_', md_strong('a')], 'Escaping of _'],
|
||||
["a ___b___ ", ['a ', md_emstrong('b')], 'Strong elements'],
|
||||
["a ___b___", ['a ', md_emstrong('b')]],
|
||||
["a ___ b", ['a ___ b']],
|
||||
|
|
|
@ -59,27 +59,6 @@ The HTML specification is maintained by the W3C.Operation Tigra Genesis is going
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>The HTML specification is maintained by the W3C.</p>
|
||||
|
||||
<p>*[HTML]: Hyper Text Markup Language
|
||||
*[W3C]: World Wide Web Consortium</p>
|
||||
|
||||
<p>Operation Tigra Genesis is going well.</p>
|
||||
|
||||
<p>*[Tigra Genesis]:</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
The HTML specification is maintained by the W3C.
|
||||
</p>
|
||||
<p>
|
||||
*[HTML]: Hyper Text Markup Language *[W3C]: World Wide Web Consortium
|
||||
</p>
|
||||
<p>
|
||||
Operation Tigra Genesis is going well.
|
||||
</p>
|
||||
<p>
|
||||
*[Tigra Genesis]:
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
9
vendor/plugins/maruku/tests/unittest/alt.md
vendored
9
vendor/plugins/maruku/tests/unittest/alt.md
vendored
|
@ -24,11 +24,6 @@ bar
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p><img src="/foo.jpg" alt="bar" title="" /></p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
<img title='' src='/foo.jpg' alt='bar'/>
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -27,12 +27,6 @@ md_el(:document,[
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>{a}: a
|
||||
{:b: a}</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
{a}: a {:b: a}
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -35,18 +35,6 @@ Paragraph1Paragraph2
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Paragraph1
|
||||
{:#par1}</p>
|
||||
|
||||
<p>{:#par2}
|
||||
Paragraph2</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Paragraph1 {:#par1}
|
||||
</p>
|
||||
<p>
|
||||
{:#par2} Paragraph2
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -64,42 +64,6 @@ Header with attributesHeader with attributesHeader no attributesParagraph with a
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<h2>Header with attributes {#header1} </h2>
|
||||
|
||||
<h3>Header with attributes ### {#header2}</h3>
|
||||
|
||||
<h3>Header no attributes</h3>
|
||||
|
||||
<p>{:warn2}Paragraph with a.
|
||||
{#par1}</p>
|
||||
|
||||
<p>Paragraph with <em>emphasis</em>{:hello notfound}
|
||||
{#par2}</p>
|
||||
|
||||
<p>{:hello: .chello}</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<h2>
|
||||
Header with attributes {#header1}
|
||||
</h2>
|
||||
<h3>
|
||||
Header with attributes ### {#header2}
|
||||
</h3>
|
||||
<h3>
|
||||
Header no attributes
|
||||
</h3>
|
||||
<p>
|
||||
{:warn2}Paragraph with a. {#par1}
|
||||
</p>
|
||||
<p>
|
||||
Paragraph with
|
||||
<em>
|
||||
emphasis
|
||||
</em>
|
||||
{:hello notfound} {#par2}
|
||||
</p>
|
||||
<p>
|
||||
{:hello: .chello}
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -33,18 +33,6 @@ Paragraph
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Paragraph
|
||||
{:a}</p>
|
||||
|
||||
<p>{:a: b}
|
||||
{:b: a}</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Paragraph {:a}
|
||||
</p>
|
||||
<p>
|
||||
{:a: b} {:b: a}
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -29,17 +29,6 @@ Paragraph2
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Paragraph2
|
||||
{#2}</p>
|
||||
|
||||
<p>{paragraph}: .maruku-par</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Paragraph2 {#2}
|
||||
</p>
|
||||
<p>
|
||||
{paragraph}: .maruku-par
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
14
vendor/plugins/maruku/tests/unittest/blank.md
vendored
14
vendor/plugins/maruku/tests/unittest/blank.md
vendored
|
@ -31,16 +31,6 @@ Linea 1Linea 2
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Linea 1</p>
|
||||
|
||||
<p>Linea 2</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Linea 1
|
||||
</p>
|
||||
<p>
|
||||
Linea 2
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -82,50 +82,6 @@ This block is composed of three lines:This block is composed of 5This block is c
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>This block is composed of three lines:</p>
|
||||
|
||||
<pre><code>one
|
||||
|
||||
three
|
||||
</code></pre>
|
||||
|
||||
<p>This block is composed of 5</p>
|
||||
|
||||
<pre><code>one
|
||||
|
||||
|
||||
four
|
||||
</code></pre>
|
||||
|
||||
<p>This block is composed of 2</p>
|
||||
|
||||
<pre><code>two
|
||||
</code></pre>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
This block is composed of three lines:
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
one three
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
This block is composed of 5
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
one four
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
This block is composed of 2
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
two
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -23,11 +23,6 @@ test:
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>[test][]:</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
[test][]:
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -53,26 +53,6 @@ hellohh c1c2
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>hello
|
||||
{: summary="Table summary" .class1 style="color:red"}</p>
|
||||
|
||||
<p>h | h
|
||||
----------|--
|
||||
{:t} c1 | c2
|
||||
{: summary="Table summary" .class1 style="color:red"}</p>
|
||||
|
||||
<p>{:t: scope="row"}</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
hello {: summary="Table summary" .class1 style="color:red"}
|
||||
</p>
|
||||
<p>
|
||||
h | h ----------|-- {:t} c1 | c2 {: summary="Table summary" .class1
|
||||
style="color:red"}
|
||||
</p>
|
||||
<p>
|
||||
{:t: scope="row"}
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
20
vendor/plugins/maruku/tests/unittest/code.md
vendored
20
vendor/plugins/maruku/tests/unittest/code.md
vendored
|
@ -41,22 +41,6 @@ Here is an example of AppleScript:
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Here is an example of AppleScript:</p>
|
||||
|
||||
<pre><code>tell application "Foo"
|
||||
beep
|
||||
end tell
|
||||
tab
|
||||
</code></pre>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Here is an example of AppleScript:
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
tell application "Foo" beep end tell tab
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
||||
(not used anymore)
|
21
vendor/plugins/maruku/tests/unittest/code2.md
vendored
21
vendor/plugins/maruku/tests/unittest/code2.md
vendored
|
@ -35,23 +35,6 @@ Code
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<blockquote>
|
||||
<p>Code</p>
|
||||
|
||||
<pre><code>Ciao
|
||||
</code></pre>
|
||||
</blockquote>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<blockquote>
|
||||
<p>
|
||||
Code
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
Ciao
|
||||
</code>
|
||||
</pre>
|
||||
</blockquote>
|
||||
</div>
|
||||
(not used anymore)
|
56
vendor/plugins/maruku/tests/unittest/code3.md
vendored
56
vendor/plugins/maruku/tests/unittest/code3.md
vendored
|
@ -78,58 +78,6 @@ This is code (4 spaces):This is not codeThis is code (1 tab):This is not code
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>This is code (4 spaces):</p>
|
||||
|
||||
<pre><code>Code
|
||||
</code></pre>
|
||||
|
||||
<p>This is not code</p>
|
||||
|
||||
<pre><code>Code
|
||||
</code></pre>
|
||||
|
||||
<p>This is code (1 tab):</p>
|
||||
|
||||
<pre><code>Code
|
||||
</code></pre>
|
||||
|
||||
<p>This is not code</p>
|
||||
|
||||
<pre><code>Code
|
||||
</code></pre>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
This is code (4 spaces):
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
Code
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
This is not code
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
Code
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
This is code (1 tab):
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
Code
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
This is not code
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
Code
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -32,17 +32,6 @@ abcd efgh ijkl
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<ol>
|
||||
<li>abcd
|
||||
efgh
|
||||
ijkl</li>
|
||||
</ol>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<ol>
|
||||
<li>
|
||||
abcd efgh ijkl
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
(not used anymore)
|
100
vendor/plugins/maruku/tests/unittest/divs/div1.md
vendored
100
vendor/plugins/maruku/tests/unittest/divs/div1.md
vendored
|
@ -152,102 +152,6 @@ texttexttexttexttexttexttexttexttexttexttexttext
|
|||
|
||||
|
||||
*** 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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<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>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -26,13 +26,6 @@ ciao
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>+--
|
||||
ciao
|
||||
=--</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
+-- ciao =--
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -48,23 +48,6 @@ this is the last warning!please, go away!or else terrible things will happen
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>+-----------------------------------{.warning}------
|
||||
| this is the last warning!
|
||||
|
|
||||
| please, go away!
|
||||
|
|
||||
| +------------------------------------- {.menace} --
|
||||
| | or else terrible things will happen
|
||||
| +--------------------------------------------------
|
||||
+---------------------------------------------------</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
+-----------------------------------{.warning}------ | this is the last
|
||||
warning! | | please, go away! | | +-------------------------------------
|
||||
{.menace} -- | | or else terrible things will happen |
|
||||
+--------------------------------------------------
|
||||
+---------------------------------------------------
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
16
vendor/plugins/maruku/tests/unittest/easy.md
vendored
16
vendor/plugins/maruku/tests/unittest/easy.md
vendored
|
@ -22,18 +22,6 @@ Hello! how are you?
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p><em>Hello!</em> how are <strong>you</strong>?</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
<em>
|
||||
Hello!
|
||||
</em>
|
||||
how are
|
||||
<strong>
|
||||
you
|
||||
</strong>
|
||||
?
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -27,7 +27,6 @@ This is an email address:
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>This is an email address: <a href="mailto:andrea@invalid.it">andrea@invalid.it</a></p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<TypeError: no implicit conversion from nil to integer>
|
||||
(not used anymore)
|
|
@ -30,16 +30,6 @@ This is iso-8859-1: à èìà ù.
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Encoding: iso-8859-1</p>
|
||||
|
||||
<p>This is iso-8859-1: àèìàù.</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Encoding: iso-8859-1
|
||||
</p>
|
||||
<p>
|
||||
This is iso-8859-1: àèìàù.
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -25,16 +25,6 @@ Japanese: マルク
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Italian: àèìòù.</p>
|
||||
|
||||
<p>Japanese: マルク</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Italian: àèìòù.
|
||||
</p>
|
||||
<p>
|
||||
Japanese: マルク
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
67
vendor/plugins/maruku/tests/unittest/entities.md
vendored
67
vendor/plugins/maruku/tests/unittest/entities.md
vendored
|
@ -101,69 +101,6 @@ Maruku translates HTML entities to the equivalent in LaTeX:EntityResultabEntity-
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Maruku translates HTML entities to the equivalent in LaTeX:</p>
|
||||
|
||||
<p>Entity | Result
|
||||
------------|----------
|
||||
<code>&copy;</code> | ©
|
||||
<code>&pound;</code> | £
|
||||
<code>a&nbsp;b</code> | a b
|
||||
<code>&lambda;</code> | λ
|
||||
<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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Maruku translates HTML entities to the equivalent in LaTeX:
|
||||
</p>
|
||||
<p>
|
||||
Entity | Result ------------|----------
|
||||
<code>
|
||||
&copy;
|
||||
</code>
|
||||
| ©
|
||||
<code>
|
||||
&pound;
|
||||
</code>
|
||||
| £
|
||||
<code>
|
||||
a&nbsp;b
|
||||
</code>
|
||||
| a b
|
||||
<code>
|
||||
&lambda;
|
||||
</code>
|
||||
| λ
|
||||
<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>
|
||||
(not used anymore)
|
56
vendor/plugins/maruku/tests/unittest/escaping.md
vendored
56
vendor/plugins/maruku/tests/unittest/escaping.md
vendored
|
@ -74,58 +74,6 @@ Hello: ! ! ` { } [ ] ( ) # . ! * * *Ora, emphasis, bold, * <- due asterischi-> *
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Hello: ! ! ` { } [ ] ( ) # . ! * * *</p>
|
||||
|
||||
<p>Ora, <em>emphasis</em>, <strong>bold</strong>, * <- due asterischi-> * , un underscore-> _ , <em>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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Hello: ! ! ` { } [ ] ( ) # . ! * * *
|
||||
</p>
|
||||
<p>
|
||||
Ora,
|
||||
<em>
|
||||
emphasis
|
||||
</em>
|
||||
,
|
||||
<strong>
|
||||
bold
|
||||
</strong>
|
||||
, * <- due asterischi-> * , un underscore-> _ ,
|
||||
<em>
|
||||
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>
|
||||
(not used anymore)
|
22
vendor/plugins/maruku/tests/unittest/extra_dl.md
vendored
22
vendor/plugins/maruku/tests/unittest/extra_dl.md
vendored
|
@ -59,24 +59,6 @@ ApplePomaceous fruit of plants of the genus Malus in the family Rosaceae.OrangeT
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>CSS: style.css</p>
|
||||
|
||||
<p>Apple
|
||||
: Pomaceous fruit of plants of the genus Malus in
|
||||
the family Rosaceae.</p>
|
||||
|
||||
<p>Orange
|
||||
: The fruit of an evergreen tree of the genus Citrus.</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
CSS: style.css
|
||||
</p>
|
||||
<p>
|
||||
Apple : Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
|
||||
</p>
|
||||
<p>
|
||||
Orange : The fruit of an evergreen tree of the genus Citrus.
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -70,43 +70,6 @@ Header 1Header 2Header 3Then you can create links to different parts of the same
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<h1>Header 1 {#header1}</h1>
|
||||
|
||||
<h2>Header 2 {#header2}</h2>
|
||||
|
||||
<h3>Header 3 ### {#header3}</h3>
|
||||
|
||||
<p>Then you can create links to different parts of the same document like this:</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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<h1>
|
||||
Header 1 {#header1}
|
||||
</h1>
|
||||
<h2>
|
||||
Header 2 {#header2}
|
||||
</h2>
|
||||
<h3>
|
||||
Header 3 ### {#header3}
|
||||
</h3>
|
||||
<p>
|
||||
Then you can create links to different parts of the same document like this:
|
||||
</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>
|
||||
(not used anymore)
|
|
@ -44,20 +44,6 @@ First HeaderSecond HeaderContent CellContent CellContent CellContent Cell
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>CSS: style.css</p>
|
||||
|
||||
<p>First Header | Second Header
|
||||
------------- | -------------
|
||||
Content Cell | Content Cell
|
||||
Content Cell | Content Cell</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
CSS: style.css
|
||||
</p>
|
||||
<p>
|
||||
First Header | Second Header ------------- | ------------- Content Cell |
|
||||
Content Cell Content Cell | Content Cell
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -104,49 +104,6 @@ Thats some text with a footnote and another and another .And thats the footnot
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>That's some text with a footnote [^b] and another [^c] and another [^a].</p>
|
||||
|
||||
<p>[^a]: And that's the footnote.</p>
|
||||
|
||||
<pre><code>That's the second paragraph of the footnote.
|
||||
</code></pre>
|
||||
|
||||
<p>[^b]: And that's the footnote.
|
||||
This is second sentence (same paragraph).</p>
|
||||
|
||||
<p>[^c]:
|
||||
This is the very long one.</p>
|
||||
|
||||
<pre><code>That's the second paragraph.
|
||||
</code></pre>
|
||||
|
||||
<p>This is not a footnote.</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
That's some text with a footnote [^b] and another [^c] and another [^a].
|
||||
</p>
|
||||
<p>
|
||||
[^a]: And that's the footnote.
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
That's the second paragraph of the footnote.
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
[^b]: And that's the footnote. This is second sentence (same paragraph).
|
||||
</p>
|
||||
<p>
|
||||
[^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>
|
||||
(not used anymore)
|
28
vendor/plugins/maruku/tests/unittest/headers.md
vendored
28
vendor/plugins/maruku/tests/unittest/headers.md
vendored
|
@ -44,30 +44,6 @@ A title with emphasisA title with emphasisA title with emphasis
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<h1>A title with <em>emphasis</em></h1>
|
||||
|
||||
<h2>A title with <em>emphasis</em></h2>
|
||||
|
||||
<h4>A title with <em>emphasis</em></h4>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<h1>
|
||||
A title with
|
||||
<em>
|
||||
emphasis
|
||||
</em>
|
||||
</h1>
|
||||
<h2>
|
||||
A title with
|
||||
<em>
|
||||
emphasis
|
||||
</em>
|
||||
</h2>
|
||||
<h4>
|
||||
A title with
|
||||
<em>
|
||||
emphasis
|
||||
</em>
|
||||
</h4>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -44,13 +44,6 @@ Examples of numeric character references include or for the copyright symbol,
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<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>
|
||||
</div>
|
||||
(not used anymore)
|
19
vendor/plugins/maruku/tests/unittest/hrule.md
vendored
19
vendor/plugins/maruku/tests/unittest/hrule.md
vendored
|
@ -46,21 +46,6 @@ md_el(:document,[
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<hr />
|
||||
|
||||
<hr />
|
||||
|
||||
<hr />
|
||||
|
||||
<hr />
|
||||
|
||||
<hr />
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<hr/>
|
||||
<hr/>
|
||||
<hr/>
|
||||
<hr/>
|
||||
<hr/>
|
||||
</div>
|
||||
(not used anymore)
|
18
vendor/plugins/maruku/tests/unittest/html2.md
vendored
18
vendor/plugins/maruku/tests/unittest/html2.md
vendored
|
@ -29,20 +29,6 @@ One 123
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>One
|
||||
<div></div>123</p>
|
||||
|
||||
<p><div></div>123</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
One
|
||||
<div/>
|
||||
123
|
||||
</p>
|
||||
<p>
|
||||
<div/>
|
||||
123
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
28
vendor/plugins/maruku/tests/unittest/html3.md
vendored
28
vendor/plugins/maruku/tests/unittest/html3.md
vendored
|
@ -38,30 +38,6 @@ taking part in which involve , , ,
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>taking part in <a href="http://sied.dis.uniroma1.it/">some arcane conspirations</a> which
|
||||
involve <b href="http://www.flickr.com/photos/censi/70893277/">coffee</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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
taking part in
|
||||
<a href='http://sied.dis.uniroma1.it/'>
|
||||
some arcane conspirations
|
||||
</a>
|
||||
which involve
|
||||
<b href='http://www.flickr.com/photos/censi/70893277/'>
|
||||
coffee
|
||||
</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>
|
||||
(not used anymore)
|
15
vendor/plugins/maruku/tests/unittest/html4.md
vendored
15
vendor/plugins/maruku/tests/unittest/html4.md
vendored
|
@ -32,17 +32,6 @@ md_el(:document,[
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<div class="frame">
|
||||
<a class="photo" href="http://www.flickr.com/photos/censi/54757256/"><img alt=""
|
||||
moz-do-not-send="true"
|
||||
src="http://static.flickr.com/27/54757256_1a2c1d2a95_m.jpg" /></a>
|
||||
</div>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<div class='frame'>
|
||||
<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=''/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
(not used anymore)
|
15
vendor/plugins/maruku/tests/unittest/html5.md
vendored
15
vendor/plugins/maruku/tests/unittest/html5.md
vendored
|
@ -30,17 +30,6 @@ md_el(:document,[
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p><div class="frame">
|
||||
<a class="photo" href="http://www.flickr.com/photos/censi/88561568/" ><img moz-do-not-send="true" src="http://static.flickr.com/28/88561568_ab84d28245_m.jpg" width="240" height="180" alt="Aperitif" /></a>
|
||||
</div></p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
<div class='frame'>
|
||||
<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'/>
|
||||
</a>
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
71
vendor/plugins/maruku/tests/unittest/ie.md
vendored
71
vendor/plugins/maruku/tests/unittest/ie.md
vendored
|
@ -56,73 +56,6 @@ md_el(:document,[
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p><code><p>here's an apostrophe & a quote "</p></code></p>
|
||||
|
||||
<pre><code><p>here's an apostrophe & a quote "</p>
|
||||
</code></pre>
|
||||
|
||||
<p>{:}</p>
|
||||
|
||||
<pre><code><p>here's an apostrophe & a quote "</p>
|
||||
</code></pre>
|
||||
|
||||
<p>{:lang=xml}</p>
|
||||
|
||||
<pre><code><p>here's an apostrophe & a quote "</p>
|
||||
</code></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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
<code>
|
||||
<p>here's an apostrophe & a quote "</p>
|
||||
</code>
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
<p>here's an apostrophe & a quote "</p>
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
{:}
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
<p>here's an apostrophe & a quote "</p>
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
{:lang=xml}
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
<p>here's an apostrophe & a quote "</p>
|
||||
</code>
|
||||
</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>
|
||||
(not used anymore)
|
40
vendor/plugins/maruku/tests/unittest/images.md
vendored
40
vendor/plugins/maruku/tests/unittest/images.md
vendored
|
@ -97,42 +97,6 @@ This page does not uilizes Cascading Style SheetsPlease mouseover to see the tit
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>This page does not uilizes <img src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Cascading Style Sheets" title="" /></p>
|
||||
|
||||
<p>Please mouseover to see the title: <img src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Cascading Style Sheets" title="Title ok!" /></p>
|
||||
|
||||
<p>Please mouseover to see the title: <img src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Cascading Style Sheets" title="Title ok!" /></p>
|
||||
|
||||
<p>I'll say it one more time: this page does not use <img src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Cascading Style Sheets" title="Optional title attribute" /></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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
This page does not uilizes
|
||||
<img title='' src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Cascading Style Sheets'/>
|
||||
</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:
|
||||
<img title='Title ok!' src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Cascading Style Sheets'/>
|
||||
</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>
|
||||
(not used anymore)
|
16
vendor/plugins/maruku/tests/unittest/images2.md
vendored
16
vendor/plugins/maruku/tests/unittest/images2.md
vendored
|
@ -38,18 +38,6 @@ This is an image.This is an image.
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>This is an <img src="image.jpg" alt="image" />.</p>
|
||||
|
||||
<p>This is an ![image].</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
This is an
|
||||
<img src='image.jpg' alt='image'/>
|
||||
.
|
||||
</p>
|
||||
<p>
|
||||
This is an ![image].
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -182,79 +182,6 @@ Input:Result: Input:Result on span: Result alone:Without closing:The following i
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>CSS: style.css</p>
|
||||
|
||||
<p>Input:</p>
|
||||
|
||||
<pre><code><em>Emphasis</em>
|
||||
</code></pre>
|
||||
|
||||
<p>Result: <em>Emphasis</em></p>
|
||||
|
||||
<p>Input:</p>
|
||||
|
||||
<pre><code><img src="http://jigsaw.w3.org/css-validator/images/vcss"/>
|
||||
</code></pre>
|
||||
|
||||
<p>Result on span: <img src="http://jigsaw.w3.org/css-validator/images/vcss"/></p>
|
||||
|
||||
<p>Result alone: </p>
|
||||
|
||||
<p><img src="http://jigsaw.w3.org/css-validator/images/vcss"/></p>
|
||||
|
||||
<p>Without closing:</p>
|
||||
|
||||
<p><img src="http://jigsaw.w3.org/css-validator/images/vcss"></p>
|
||||
|
||||
<div markdown="1">
|
||||
This is *true* markdown text (paragraph)
|
||||
|
||||
<p markdown="1">
|
||||
This is *true* markdown text (no paragraph)
|
||||
</p>
|
||||
<p markdown="block">
|
||||
This is *true* markdown text (block paragraph)
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td markdown="1">This is *true* markdown text. (no par)</td>
|
||||
<td markdown="block">This is *true* markdown text. (par)</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p>The following is invalid HTML, and will generate an error:</p>
|
||||
|
||||
<table>
|
||||
<td markdown="1">This is *true* markdown text. (no par)</td>
|
||||
<td markdown="block">This is *true* markdown text. (par)</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<REXML::ParseException: #<REXML::ParseException: Missing end tag for 'img' (got "p")
|
||||
Line:
|
||||
Position:
|
||||
Last 80 unconsumed characters:
|
||||
<div markdown="1"> This is *true* markdown text (paragraph) <p markdow>
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:330:in `pull'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:22:in `parse'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:205:in `build'
|
||||
/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 `run_test'
|
||||
bin/marutest:274:in `marutest'
|
||||
bin/marutest:271:in `each'
|
||||
bin/marutest:271:in `marutest'
|
||||
bin/marutest:346
|
||||
...
|
||||
Missing end tag for 'img' (got "p")
|
||||
Line:
|
||||
Position:
|
||||
Last 80 unconsumed characters:
|
||||
<div markdown="1"> This is *true* markdown text (paragraph) <p markdow
|
||||
Line:
|
||||
Position:
|
||||
Last 80 unconsumed characters:
|
||||
<div markdown="1"> This is *true* markdown text (paragraph) <p markdow>
|
||||
(not used anymore)
|
|
@ -28,16 +28,6 @@ md_el(:document,[
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<div markdown="1">Test **bold**</div>
|
||||
|
||||
<p markdown="1">Test **bold**</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<div markdown='1'>
|
||||
Test **bold**
|
||||
</div>
|
||||
<p markdown='1'>
|
||||
Test **bold**
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
50
vendor/plugins/maruku/tests/unittest/links.md
vendored
50
vendor/plugins/maruku/tests/unittest/links.md
vendored
|
@ -146,52 +146,6 @@ Search on GoogleSearch on GoogleSearch on GoogleSearch on GoogleSearch on Google
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Search on <a href="http://www.google.com">Google</a></p>
|
||||
|
||||
<p>Search on <a href="http://www.google.com">Google</a></p>
|
||||
|
||||
<p>Search on <a href="http://www.google.com">Google</a></p>
|
||||
|
||||
<p>Search on <a href="http://www.google.com">Google</a></p>
|
||||
|
||||
<p>Search on <a href="http://images.google.com" title="Google images">Google images</a></p>
|
||||
|
||||
<p>Inline: <a href="http://google.com">Google images</a></p>
|
||||
|
||||
<p>Inline with title: <a href="http://google.com" title="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>
|
||||
or you might ask bill@google.com.</p>
|
||||
|
||||
<p>If all else fails, ask <a href="http://www.google.com">Google</a></p>
|
||||
|
||||
<p>[google2]: http://www.google.com 'Single quotes'</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<REXML::ParseException: #<REXML::ParseException: Missing end tag for 'p' (got "div")
|
||||
Line:
|
||||
Position:
|
||||
Last 80 unconsumed characters:
|
||||
>
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:330:in `pull'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:22:in `parse'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:205:in `build'
|
||||
/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 `run_test'
|
||||
bin/marutest:274:in `marutest'
|
||||
bin/marutest:271:in `each'
|
||||
bin/marutest:271:in `marutest'
|
||||
bin/marutest:346
|
||||
...
|
||||
Missing end tag for 'p' (got "div")
|
||||
Line:
|
||||
Position:
|
||||
Last 80 unconsumed characters:
|
||||
|
||||
Line:
|
||||
Position:
|
||||
Last 80 unconsumed characters:
|
||||
>
|
||||
(not used anymore)
|
34
vendor/plugins/maruku/tests/unittest/links2.md
vendored
Normal file
34
vendor/plugins/maruku/tests/unittest/links2.md
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
Write a comment here
|
||||
*** Parameters: ***
|
||||
{} # params
|
||||
*** Markdown input: ***
|
||||
See [foo' bar]
|
||||
|
||||
[foo' bar]: http://agorf.gr/
|
||||
|
||||
|
||||
*** Output of inspect ***
|
||||
md_el(:document,[
|
||||
md_par(["See ", md_link(["foo", md_entity("rsquo"), " bar"],"foo_bar")]),
|
||||
md_ref_def("foo_bar", "http://agorf.gr/", {:title=>nil})
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
<p>See <a href='http://agorf.gr/'>foo’ bar</a></p>
|
||||
*** Output of to_latex ***
|
||||
See \href{http://agorf.gr/}{foo'{} bar}
|
||||
*** Output of to_md ***
|
||||
See foo bar
|
||||
*** Output of to_s ***
|
||||
See foo bar
|
||||
*** EOF ***
|
||||
|
||||
|
||||
|
||||
OK!
|
||||
|
||||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
(not used anymore)
|
25
vendor/plugins/maruku/tests/unittest/list1.md
vendored
25
vendor/plugins/maruku/tests/unittest/list1.md
vendored
|
@ -53,27 +53,6 @@ A list item with a blockquote:This is a blockquote inside a list item.
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<ul>
|
||||
<li><p>A list item with a blockquote:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>This is a blockquote
|
||||
inside a list item.</p>
|
||||
</blockquote></li>
|
||||
</ul>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
A list item with a blockquote:
|
||||
</p>
|
||||
<blockquote>
|
||||
<p>
|
||||
This is a blockquote inside a list item.
|
||||
</p>
|
||||
</blockquote>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
(not used anymore)
|
40
vendor/plugins/maruku/tests/unittest/list12.md
vendored
Normal file
40
vendor/plugins/maruku/tests/unittest/list12.md
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
Write a comment here
|
||||
*** Parameters: ***
|
||||
{} # params
|
||||
*** Markdown input: ***
|
||||
* [Maruku]: good.
|
||||
|
||||
[maruku]: http://maruku.org/
|
||||
|
||||
*** Output of inspect ***
|
||||
md_el(:document,[
|
||||
md_el(:ul,[
|
||||
md_el(:li_span,[md_link(["Maruku"],"maruku"), ": good."],{:want_my_paragraph=>false},[])
|
||||
],{},[]),
|
||||
md_ref_def("maruku", "http://maruku.org/", {:title=>nil})
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
<ul>
|
||||
<li><a href='http://maruku.org/'>Maruku</a>: good.</li>
|
||||
</ul>
|
||||
*** Output of to_latex ***
|
||||
\begin{itemize}%
|
||||
\item \href{http://maruku.org/}{Maruku}: good.
|
||||
|
||||
\end{itemize}
|
||||
*** Output of to_md ***
|
||||
-aruku: good.
|
||||
*** Output of to_s ***
|
||||
Maruku: good.
|
||||
*** EOF ***
|
||||
|
||||
|
||||
|
||||
OK!
|
||||
|
||||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
(not used anymore)
|
30
vendor/plugins/maruku/tests/unittest/list2.md
vendored
30
vendor/plugins/maruku/tests/unittest/list2.md
vendored
|
@ -63,32 +63,6 @@ This is a list item with two paragraphs.This is the second paragraph in the list
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<ul>
|
||||
<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>other</p></li>
|
||||
</ul>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<ul>
|
||||
<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>
|
||||
other
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
(not used anymore)
|
39
vendor/plugins/maruku/tests/unittest/list3.md
vendored
39
vendor/plugins/maruku/tests/unittest/list3.md
vendored
|
@ -71,41 +71,6 @@ A list item with a blockquote:This is a blockquote inside a list item.A list ite
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<ul>
|
||||
<li><p>A list item with a blockquote:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>This is a blockquote
|
||||
inside a list item.</p>
|
||||
</blockquote></li>
|
||||
<li><p>A list item with a code block:</p>
|
||||
|
||||
<pre><code><code goes here>
|
||||
</code></pre></li>
|
||||
</ul>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
A list item with a blockquote:
|
||||
</p>
|
||||
<blockquote>
|
||||
<p>
|
||||
This is a blockquote inside a list item.
|
||||
</p>
|
||||
</blockquote>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
A list item with a code block:
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
<code goes here>
|
||||
</code>
|
||||
</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
(not used anymore)
|
32
vendor/plugins/maruku/tests/unittest/list4.md
vendored
32
vendor/plugins/maruku/tests/unittest/list4.md
vendored
|
@ -96,34 +96,6 @@ This is a list:onetwoThis is not a list: * one ciaoThis is a list:onetwoThis is
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>This is a list:
|
||||
* one
|
||||
* two</p>
|
||||
|
||||
<p>This is not a list:
|
||||
* one
|
||||
ciao</p>
|
||||
|
||||
<p>This is a list:
|
||||
1. one
|
||||
1. two</p>
|
||||
|
||||
<p>This is not a list:
|
||||
1987. one
|
||||
ciao</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
This is a list: * one * two
|
||||
</p>
|
||||
<p>
|
||||
This is not a list: * one ciao
|
||||
</p>
|
||||
<p>
|
||||
This is a list: 1. one 1. two
|
||||
</p>
|
||||
<p>
|
||||
This is not a list: 1987. one ciao
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
106
vendor/plugins/maruku/tests/unittest/lists.md
vendored
106
vendor/plugins/maruku/tests/unittest/lists.md
vendored
|
@ -199,108 +199,6 @@ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi p
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<ul>
|
||||
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
|
||||
viverra nec, fringilla in, laoreet vitae, risus.</li>
|
||||
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
||||
Suspendisse id sem consectetuer libero luctus adipiscing.</li>
|
||||
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
||||
Suspendisse id sem consectetuer libero luctus adipiscing.
|
||||
<ul>
|
||||
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
||||
Suspendisse id sem consectetuer libero luctus adipiscing.</li>
|
||||
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
||||
Suspendisse id sem consectetuer libero luctus adipiscing.</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
|
||||
<p>Ancora</p>
|
||||
|
||||
<ul>
|
||||
<li><p>This is a list item with two paragraphs. Lorem ipsum dolor
|
||||
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
|
||||
mi posuere lectus.</p>
|
||||
|
||||
<p>ATTENZIONE!</p></li>
|
||||
<li><p>Suspendisse id sem consectetuer libero luctus adipiscing.</p></li>
|
||||
</ul>
|
||||
|
||||
<p>Ancora</p>
|
||||
|
||||
<ul>
|
||||
<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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<ul>
|
||||
<li>
|
||||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit
|
||||
mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
||||
vitae, risus.
|
||||
</li>
|
||||
<li>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem
|
||||
consectetuer libero luctus adipiscing.
|
||||
</li>
|
||||
<li>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem
|
||||
consectetuer libero luctus adipiscing.
|
||||
<ul>
|
||||
<li>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||
sem consectetuer libero luctus adipiscing.
|
||||
</li>
|
||||
<li>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||
sem consectetuer libero luctus adipiscing.
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Ancora
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<p>
|
||||
This is a list item with two paragraphs. Lorem ipsum dolor sit amet,
|
||||
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
|
||||
</p>
|
||||
<p>
|
||||
ATTENZIONE!
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
Suspendisse id sem consectetuer libero luctus adipiscing.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Ancora
|
||||
</p>
|
||||
<ul>
|
||||
<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>
|
||||
(not used anymore)
|
46
vendor/plugins/maruku/tests/unittest/lists10.md
vendored
Normal file
46
vendor/plugins/maruku/tests/unittest/lists10.md
vendored
Normal file
|
@ -0,0 +1,46 @@
|
|||
Write a comment here
|
||||
*** Parameters: ***
|
||||
{} # params
|
||||
*** Markdown input: ***
|
||||
List:
|
||||
|
||||
- è`gcc`
|
||||
|
||||
*** Output of inspect ***
|
||||
md_el(:document,[
|
||||
md_par(["List:"]),
|
||||
md_el(:ul,[
|
||||
md_el(:li_span,["\303\250", md_code("gcc")],{:want_my_paragraph=>false},[])
|
||||
],{},[])
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
<p>List:</p>
|
||||
|
||||
<ul>
|
||||
<li>è<code>gcc</code></li>
|
||||
</ul>
|
||||
*** Output of to_latex ***
|
||||
List:
|
||||
|
||||
\begin{itemize}%
|
||||
\item è{\colorbox[rgb]{1.00,0.93,1.00}{\tt gcc}}
|
||||
|
||||
\end{itemize}
|
||||
*** Output of to_md ***
|
||||
List:
|
||||
|
||||
-¨
|
||||
*** Output of to_s ***
|
||||
List:è
|
||||
*** EOF ***
|
||||
|
||||
|
||||
|
||||
OK!
|
||||
|
||||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
(not used anymore)
|
13
vendor/plugins/maruku/tests/unittest/lists11.md
vendored
13
vendor/plugins/maruku/tests/unittest/lists11.md
vendored
|
@ -23,15 +23,6 @@ md_el(:document,[md_par(["- \316\255\316\275\316\261"])],{},[])
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<ul>
|
||||
<li>ένα</li>
|
||||
</ul>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<ul>
|
||||
<li>
|
||||
ένα
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -48,7 +48,6 @@ md_el(:document,[],{},[])
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div/>
|
||||
(not used anymore)
|
33
vendor/plugins/maruku/tests/unittest/lists9.md
vendored
33
vendor/plugins/maruku/tests/unittest/lists9.md
vendored
|
@ -71,35 +71,6 @@ DuetretretreDue
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<ul>
|
||||
<li>Due
|
||||
<ol>
|
||||
<li>tre</li>
|
||||
<li>tre</li>
|
||||
<li>tre</li>
|
||||
</ol></li>
|
||||
<li>Due</li>
|
||||
</ul>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<ul>
|
||||
<li>
|
||||
Due
|
||||
<ol>
|
||||
<li>
|
||||
tre
|
||||
</li>
|
||||
<li>
|
||||
tre
|
||||
</li>
|
||||
<li>
|
||||
tre
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
Due
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -215,135 +215,6 @@ Paragraph, list with no space: * ciaoParagraph, list with 1 space: * ciaoParagra
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Paragraph, list with no space:
|
||||
* ciao</p>
|
||||
|
||||
<p>Paragraph, list with 1 space:
|
||||
* ciao</p>
|
||||
|
||||
<p>Paragraph, list with 3 space:
|
||||
* ciao</p>
|
||||
|
||||
<p>Paragraph, list with 4 spaces:
|
||||
* ciao</p>
|
||||
|
||||
<p>Paragraph, list with 1 tab:
|
||||
* ciao</p>
|
||||
|
||||
<p>Paragraph (1 space after), list with no space:
|
||||
* ciao</p>
|
||||
|
||||
<p>Paragraph (2 spaces after), list with no space: <br />
|
||||
* ciao</p>
|
||||
|
||||
<p>Paragraph (3 spaces after), list with no space: <br />
|
||||
* ciao</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>
|
||||
|
||||
<p>Paragraph with html after</p>
|
||||
|
||||
<div></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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Paragraph, list with no space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 1 space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 3 space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 4 spaces: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 1 tab: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph (1 space after), list with no space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph (2 spaces after), list with no space:
|
||||
<br/>
|
||||
* ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph (3 spaces after), list with no space:
|
||||
<br/>
|
||||
* ciao
|
||||
</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>
|
||||
<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>
|
||||
(not used anymore)
|
143
vendor/plugins/maruku/tests/unittest/lists_ol.md
vendored
143
vendor/plugins/maruku/tests/unittest/lists_ol.md
vendored
|
@ -269,145 +269,6 @@ Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi p
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<ol>
|
||||
<li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi,
|
||||
viverra nec, fringilla in, laoreet vitae, risus.
|
||||
<ol>
|
||||
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
||||
Suspendisse id 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>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
||||
Suspendisse id sem consectetuer libero luctus adipiscing.</li>
|
||||
<li>Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
|
||||
Suspendisse id sem consectetuer libero luctus adipiscing.</li>
|
||||
</ol></li>
|
||||
</ol>
|
||||
|
||||
<p>Ancora</p>
|
||||
|
||||
<ol>
|
||||
<li><p>This is a list item with two paragraphs. Lorem ipsum dolor
|
||||
sit amet, consectetuer adipiscing elit. Aliquam hendrerit
|
||||
mi posuere lectus.</p>
|
||||
|
||||
<p>ATTENZIONE!</p>
|
||||
|
||||
<ul>
|
||||
<li>Uno</li>
|
||||
<li>Due
|
||||
<ol>
|
||||
<li>tre</li>
|
||||
<li>tre</li>
|
||||
<li>tre</li>
|
||||
</ol></li>
|
||||
<li>Due</li>
|
||||
</ul></li>
|
||||
<li><p>Suspendisse id sem consectetuer libero luctus adipiscing.</p></li>
|
||||
</ol>
|
||||
|
||||
<p>Ancora</p>
|
||||
|
||||
<ul>
|
||||
<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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<ol>
|
||||
<li>
|
||||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit
|
||||
mi posuere lectus. Vestibulum enim wisi, viverra nec, fringilla in, laoreet
|
||||
vitae, risus.
|
||||
<ol>
|
||||
<li>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||
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>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||
sem consectetuer libero luctus adipiscing.
|
||||
</li>
|
||||
<li>
|
||||
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id
|
||||
sem consectetuer libero luctus adipiscing.
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
</ol>
|
||||
<p>
|
||||
Ancora
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
<p>
|
||||
This is a list item with two paragraphs. Lorem ipsum dolor sit amet,
|
||||
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
|
||||
</p>
|
||||
<p>
|
||||
ATTENZIONE!
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Uno
|
||||
</li>
|
||||
<li>
|
||||
Due
|
||||
<ol>
|
||||
<li>
|
||||
tre
|
||||
</li>
|
||||
<li>
|
||||
tre
|
||||
</li>
|
||||
<li>
|
||||
tre
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
Due
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
Suspendisse id sem consectetuer libero luctus adipiscing.
|
||||
</p>
|
||||
</li>
|
||||
</ol>
|
||||
<p>
|
||||
Ancora
|
||||
</p>
|
||||
<ul>
|
||||
<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>
|
||||
(not used anymore)
|
10
vendor/plugins/maruku/tests/unittest/loss.md
vendored
10
vendor/plugins/maruku/tests/unittest/loss.md
vendored
|
@ -23,12 +23,6 @@ md_el(:document,[md_html("<br />")],{},[])
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p><br/>123</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
<br/>
|
||||
123
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -54,29 +54,6 @@ $$ x = y $$$$ x$$ x = y $$$$ x = y $$
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>$$ x = y $$</p>
|
||||
|
||||
<p>$$ x
|
||||
= y $$</p>
|
||||
|
||||
<p>$$
|
||||
x = y $$</p>
|
||||
|
||||
<p>$$ x = y
|
||||
$$</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
$$ x = y $$
|
||||
</p>
|
||||
<p>
|
||||
$$ x = y $$
|
||||
</p>
|
||||
<p>
|
||||
$$ x = y $$
|
||||
</p>
|
||||
<p>
|
||||
$$ x = y $$
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -48,69 +48,11 @@ 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 ***
|
||||
<p>Here are some formulas:</p>
|
||||
|
||||
<ul>
|
||||
<li>$\alpha$</li>
|
||||
<li>$x^{n}+y^{n} \neq z^{n}$</li>
|
||||
</ul>
|
||||
|
||||
<p>That's it, nothing else is supported.</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Here are some formulas:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
$\alpha$
|
||||
</li>
|
||||
<li>
|
||||
$x^{n}+y^{n} \neq z^{n}$
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
That's it, nothing else is supported.
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -93,31 +93,6 @@ md_el(:document,[
|
|||
*** Output of to_s ***
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>[
|
||||
\alpha
|
||||
]</p>
|
||||
|
||||
<p>\begin{equation}
|
||||
\alpha
|
||||
\end{equation}</p>
|
||||
|
||||
<p>\begin{equation} \beta
|
||||
\end{equation}</p>
|
||||
|
||||
<p>\begin{equation} \gamma \end{equation}</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
[ \alpha ]
|
||||
</p>
|
||||
<p>
|
||||
\begin{equation} \alpha \end{equation}
|
||||
</p>
|
||||
<p>
|
||||
\begin{equation} \beta \end{equation}
|
||||
</p>
|
||||
<p>
|
||||
\begin{equation} \gamma \end{equation}
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -32,16 +32,6 @@ This is not $math$.[ \alpha ]
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>This is not $math$.</p>
|
||||
|
||||
<p>[ \alpha ]</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
This is not $math$.
|
||||
</p>
|
||||
<p>
|
||||
[ \alpha ]
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -27,41 +27,11 @@ 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 ***
|
||||
<table markdown='1'>
|
||||
$\alpha$
|
||||
<thead>
|
||||
<td>$\beta$</td>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<table markdown='1'>
|
||||
$\alpha$
|
||||
<thead>
|
||||
<td>
|
||||
$\beta$
|
||||
</td>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -49,20 +49,6 @@ SymbolMeaningcomments The firstI like it. The firstI like it.
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Symbol | Meaning | comments
|
||||
------------|---------|---------
|
||||
{:r} α | The first | I like it.
|
||||
{:r} ℵ | The first | I like it.</p>
|
||||
|
||||
<p>{:r: scope='row'}</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Symbol | Meaning | comments ------------|---------|--------- {:r} α |
|
||||
The first | I like it. {:r} ℵ | The first | I like it.
|
||||
</p>
|
||||
<p>
|
||||
{:r: scope='row'}
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
404
vendor/plugins/maruku/tests/unittest/misc_sw.md
vendored
404
vendor/plugins/maruku/tests/unittest/misc_sw.md
vendored
|
@ -532,406 +532,6 @@ GeneralOperating System : Mac OS X: heaven, after the purgatory of Linux and the
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Subject: Software not painful to use
|
||||
Subject_short: painless software
|
||||
Topic: /misc/coolsw
|
||||
Archive: no
|
||||
Date: Nov 20 2006
|
||||
Order: -9.5
|
||||
inMenu: true</p>
|
||||
|
||||
<h3>General</h3>
|
||||
|
||||
<ul>
|
||||
<li><em>Operating System</em> : <a href="http://www.apple.com/getamac/">Mac OS X</a>: heaven, after the purgatory of Linux
|
||||
and the hell of Windows.</li>
|
||||
<li><em>Browser</em>: <a href="http://getfirefox.com/">Firefox</a>. On a Mac, <a href="http://www.caminobrowser.org/">Camino</a>.</li>
|
||||
<li><em>Email</em>: <a href="http://gmail.com/">GMail</a>, "search, don't sort" really works.</li>
|
||||
<li><em>Text Editor</em>: <a href="http://www.apple.com/getamac/">TextMate</a>, you have to buy it, but it's worth every
|
||||
penny. There are rumours that it's been converting (recovering) Emacs
|
||||
users (addicts). Unfortunately, it's Mac only. An alternative is
|
||||
<a href="http://www.jedit.org/">jedit</a> (GPL, Java).</li>
|
||||
</ul>
|
||||
|
||||
<h3>Development</h3>
|
||||
|
||||
<ul>
|
||||
<li><em>Build system</em>: <a href="http://www.cmake.org/">cmake</a>, throw the <a href="http://sources.redhat.com/autobook/">autotools</a> away.</li>
|
||||
<li><em>Source code control system</em>: ditch CVS for <a href="http://subversion.tigris.org">subversion</a>.</li>
|
||||
<li><em>Project management</em>: <a href="http://trac.edgewall.org/">Trac</a> tracks everything.</li>
|
||||
<li><p><em>Scripting language</em>: <a href="http://www.ruby-lang.org/">Ruby</a> is Japanese pragmatism (and has a <a href="http://poignantguide.net/ruby/">poignant</a> guide).
|
||||
Python, you say? Python is too academic and snob:</p>
|
||||
|
||||
<p>$ python <br />
|
||||
Python 2.4.1 (#1, Jun 4 2005, 00:54:33)
|
||||
Type "help", "copyright", "credits" or "license" for more information.</p>
|
||||
|
||||
<blockquote>
|
||||
<blockquote>
|
||||
<blockquote>
|
||||
<p>exit
|
||||
'Use Ctrl-D (i.e. EOF) to exit.'
|
||||
quit
|
||||
'Use Ctrl-D (i.e. EOF) to exit.'</p>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
</blockquote></li>
|
||||
<li><p><em>Java IDE</em>: <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
|
||||
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> and got opensourced.</p></li>
|
||||
<li><em>Mark-up language</em>: HTML is so 2001, why don't you take at look at <a href="http://en.wikipedia.org/wiki/Markdown">Markdown</a>? <a href="data/misc_markdown.png">Look at the source of this page</a>.</li>
|
||||
<li><em>C++ libraries</em>:
|
||||
<ul>
|
||||
<li><a href="http://www.trolltech.no/">QT</a> for GUIs.</li>
|
||||
<li><a href="http://www.gnu.org/software/gsl/">GSL</a> for math.</li>
|
||||
<li><a href="http://www.imagemagick.org/Magick++/">Magick++</a> for manipulating images.</li>
|
||||
<li><a href="http://cairographics.org/">Cairo</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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Subject: Software not painful to use Subject_short: painless software Topic:
|
||||
/misc/coolsw Archive: no Date: Nov 20 2006 Order: -9.5 inMenu: true
|
||||
</p>
|
||||
<h3>
|
||||
General
|
||||
</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<em>
|
||||
Operating System
|
||||
</em>
|
||||
:
|
||||
<a href='http://www.apple.com/getamac/'>
|
||||
Mac OS X
|
||||
</a>
|
||||
: heaven, after the purgatory of Linux and the hell of Windows.
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
Browser
|
||||
</em>
|
||||
:
|
||||
<a href='http://getfirefox.com/'>
|
||||
Firefox
|
||||
</a>
|
||||
. On a Mac,
|
||||
<a href='http://www.caminobrowser.org/'>
|
||||
Camino
|
||||
</a>
|
||||
.
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
Email
|
||||
</em>
|
||||
:
|
||||
<a href='http://gmail.com/'>
|
||||
GMail
|
||||
</a>
|
||||
, "search, don't sort" really works.
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
Text Editor
|
||||
</em>
|
||||
:
|
||||
<a href='http://www.apple.com/getamac/'>
|
||||
TextMate
|
||||
</a>
|
||||
, you have to buy it, but it's worth every penny. There are rumours that it's
|
||||
been converting (recovering) Emacs users (addicts). Unfortunately, it's Mac
|
||||
only. An alternative is
|
||||
<a href='http://www.jedit.org/'>
|
||||
jedit
|
||||
</a>
|
||||
(GPL, Java).
|
||||
</li>
|
||||
</ul>
|
||||
<h3>
|
||||
Development
|
||||
</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<em>
|
||||
Build system
|
||||
</em>
|
||||
:
|
||||
<a href='http://www.cmake.org/'>
|
||||
cmake
|
||||
</a>
|
||||
, throw the
|
||||
<a href='http://sources.redhat.com/autobook/'>
|
||||
autotools
|
||||
</a>
|
||||
away.
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
Source code control system
|
||||
</em>
|
||||
: ditch CVS for
|
||||
<a href='http://subversion.tigris.org'>
|
||||
subversion
|
||||
</a>
|
||||
.
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
Project management
|
||||
</em>
|
||||
:
|
||||
<a href='http://trac.edgewall.org/'>
|
||||
Trac
|
||||
</a>
|
||||
tracks everything.
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<em>
|
||||
Scripting language
|
||||
</em>
|
||||
:
|
||||
<a href='http://www.ruby-lang.org/'>
|
||||
Ruby
|
||||
</a>
|
||||
is Japanese pragmatism (and has a
|
||||
<a href='http://poignantguide.net/ruby/'>
|
||||
poignant
|
||||
</a>
|
||||
guide). Python, you say? Python is too academic and snob:
|
||||
</p>
|
||||
<p>
|
||||
$ python
|
||||
<br/>
|
||||
Python 2.4.1 (#1, Jun 4 2005, 00:54:33) Type "help", "copyright", "credits"
|
||||
or "license" for more information.
|
||||
</p>
|
||||
<blockquote>
|
||||
<blockquote>
|
||||
<blockquote>
|
||||
<p>
|
||||
exit 'Use Ctrl-D (i.e. EOF) to exit.' quit 'Use Ctrl-D (i.e. EOF) to
|
||||
exit.'
|
||||
</p>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
</blockquote>
|
||||
</li>
|
||||
<li>
|
||||
<p>
|
||||
<em>
|
||||
Java IDE
|
||||
</em>
|
||||
:
|
||||
<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
|
||||
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>
|
||||
and got opensourced.
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
Mark-up language
|
||||
</em>
|
||||
: HTML is so 2001, why don't you take at look at
|
||||
<a href='http://en.wikipedia.org/wiki/Markdown'>
|
||||
Markdown
|
||||
</a>
|
||||
?
|
||||
<a href='data/misc_markdown.png'>
|
||||
Look at the source of this page
|
||||
</a>
|
||||
.
|
||||
</li>
|
||||
<li>
|
||||
<em>
|
||||
C++ libraries
|
||||
</em>
|
||||
:
|
||||
<ul>
|
||||
<li>
|
||||
<a href='http://www.trolltech.no/'>
|
||||
QT
|
||||
</a>
|
||||
for GUIs.
|
||||
</li>
|
||||
<li>
|
||||
<a href='http://www.gnu.org/software/gsl/'>
|
||||
GSL
|
||||
</a>
|
||||
for math.
|
||||
</li>
|
||||
<li>
|
||||
<a href='http://www.imagemagick.org/Magick++/'>
|
||||
Magick++
|
||||
</a>
|
||||
for manipulating images.
|
||||
</li>
|
||||
<li>
|
||||
<a href='http://cairographics.org/'>
|
||||
Cairo
|
||||
</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>
|
||||
(not used anymore)
|
|
@ -28,20 +28,6 @@ md_el(:document,[md_par([md_code("\\\\")]), md_par([md_code("\\")])],{},[])
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p><code>\\</code></p>
|
||||
|
||||
<p><code>\</code></p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
<code>
|
||||
\\
|
||||
</code>
|
||||
</p>
|
||||
<p>
|
||||
<code>
|
||||
\
|
||||
</code>
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -65,36 +65,6 @@ ParagraphheaderParagraphheaderParagraphheader
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Paragraph</p>
|
||||
|
||||
<h3>header</h3>
|
||||
|
||||
<p>Paragraph</p>
|
||||
|
||||
<h2>header</h2>
|
||||
|
||||
<p>Paragraph</p>
|
||||
|
||||
<h1>header</h1>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Paragraph
|
||||
</p>
|
||||
<h3>
|
||||
header
|
||||
</h3>
|
||||
<p>
|
||||
Paragraph
|
||||
</p>
|
||||
<h2>
|
||||
header
|
||||
</h2>
|
||||
<p>
|
||||
Paragraph
|
||||
</p>
|
||||
<h1>
|
||||
header
|
||||
</h1>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -25,13 +25,6 @@ md_el(:document,[md_par([md_code("There is a literal backtick (`) here.")])],{},
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p><code>There is a literal backtick (`) here.</code></p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
<code>
|
||||
There is a literal backtick (`) here.
|
||||
</code>
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -164,92 +164,6 @@ Paragraph, list with no space: * ciaoParagraph, list with 1 space: * ciaoParagra
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Paragraph, list with no space:
|
||||
* ciao</p>
|
||||
|
||||
<p>Paragraph, list with 1 space:
|
||||
* ciao</p>
|
||||
|
||||
<p>Paragraph, list with 3 space:
|
||||
* ciao</p>
|
||||
|
||||
<p>Paragraph, list with 4 spaces:
|
||||
* ciao</p>
|
||||
|
||||
<p>Paragraph, list with 1 tab:
|
||||
* ciao</p>
|
||||
|
||||
<p>Paragraph (1 space after), list with no space:
|
||||
* ciao</p>
|
||||
|
||||
<p>Paragraph (2 spaces after), list with no space: <br />
|
||||
* ciao</p>
|
||||
|
||||
<p>Paragraph (3 spaces after), list with no space: <br />
|
||||
* ciao</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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Paragraph, list with no space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 1 space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 3 space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 4 spaces: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph, list with 1 tab: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph (1 space after), list with no space: * ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph (2 spaces after), list with no space:
|
||||
<br/>
|
||||
* ciao
|
||||
</p>
|
||||
<p>
|
||||
Paragraph (3 spaces after), list with no space:
|
||||
<br/>
|
||||
* ciao
|
||||
</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>
|
||||
(not used anymore)
|
26
vendor/plugins/maruku/tests/unittest/olist.md
vendored
26
vendor/plugins/maruku/tests/unittest/olist.md
vendored
|
@ -52,28 +52,6 @@ This is a list:onetwothree
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>This is a list:</p>
|
||||
|
||||
<ol>
|
||||
<li>one</li>
|
||||
<li>two</li>
|
||||
<li>three</li>
|
||||
</ol>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
This is a list:
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
one
|
||||
</li>
|
||||
<li>
|
||||
two
|
||||
</li>
|
||||
<li>
|
||||
three
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
(not used anymore)
|
9
vendor/plugins/maruku/tests/unittest/one.md
vendored
9
vendor/plugins/maruku/tests/unittest/one.md
vendored
|
@ -22,11 +22,6 @@ One line
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>One line</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
One line
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -23,11 +23,6 @@ Paragraph
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Paragraph</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Paragraph
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -49,13 +49,6 @@ ParagraphParagraphParagraph
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Paragraph
|
||||
Paragraph
|
||||
Paragraph</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Paragraph Paragraph Paragraph
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -31,16 +31,6 @@ Paragraph1Paragraph2
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Paragraph1</p>
|
||||
|
||||
<p>Paragraph2</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Paragraph1
|
||||
</p>
|
||||
<p>
|
||||
Paragraph2
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -53,26 +53,6 @@ Paragraph 1Paragraph 2Paragraph 3 Paragraph 4 Paragraph Br->Paragraph 5
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Paragraph 1</p>
|
||||
|
||||
<p>Paragraph 2</p>
|
||||
|
||||
<p>Paragraph 3
|
||||
Paragraph 4
|
||||
Paragraph Br-> <br />
|
||||
Paragraph 5</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Paragraph 1
|
||||
</p>
|
||||
<p>
|
||||
Paragraph 2
|
||||
</p>
|
||||
<p>
|
||||
Paragraph 3 Paragraph 4 Paragraph Br->
|
||||
<br/>
|
||||
Paragraph 5
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -22,14 +22,6 @@ md_el(:document,[md_el(:code,[],{:raw_code=>"@articles.map(&:title)"},[])],{},[]
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<pre><code>@articles.map(&:title)
|
||||
</code></pre>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<pre>
|
||||
<code>
|
||||
@articles.map(&:title)
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -44,14 +44,6 @@ B&&X\\
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>| | 1 | 2 |
|
||||
|----|----|----|
|
||||
| A | X | |
|
||||
| B | | X |</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
| | 1 | 2 | |----|----|----| | A | X | | | B | | X |
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -79,71 +79,6 @@ md_el(:document,[
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p><a href="http://www.aa.com">http://www.aa.com</a></p>
|
||||
|
||||
<p><a href="http://www.bb.com">http://www.bb.com</a></p>
|
||||
|
||||
<p><a href="http://www.cc.com">http://www.cc.com</a></p>
|
||||
|
||||
<p><a href="http://www.dd.com">http://www.dd.com</a></p>
|
||||
|
||||
<pre><code><http://www.dd.com>
|
||||
</code></pre>
|
||||
|
||||
<p><a href="mailto:a@invalid.it">a@invalid.it</a></p>
|
||||
|
||||
<p><a href="mailto:a@invalid.it">a@invalid.it</a></p>
|
||||
|
||||
<p><a href="mailto:a@invalid.it">a@invalid.it</a></p>
|
||||
|
||||
<pre><code><a@invalid.it>
|
||||
</code></pre>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
<a href='http://www.aa.com'>
|
||||
http://www.aa.com
|
||||
</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href='http://www.bb.com'>
|
||||
http://www.bb.com
|
||||
</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href='http://www.cc.com'>
|
||||
http://www.cc.com
|
||||
</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href='http://www.dd.com'>
|
||||
http://www.dd.com
|
||||
</a>
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
<http://www.dd.com>
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
<a href='mailto:a@invalid.it'>
|
||||
a@invalid.it
|
||||
</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href='mailto:a@invalid.it'>
|
||||
a@invalid.it
|
||||
</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href='mailto:a@invalid.it'>
|
||||
a@invalid.it
|
||||
</a>
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
<a@invalid.it>
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
||||
(not used anymore)
|
33
vendor/plugins/maruku/tests/unittest/pending/ref.md
vendored
Normal file
33
vendor/plugins/maruku/tests/unittest/pending/ref.md
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
Write a comment here
|
||||
*** Parameters: ***
|
||||
{} # params
|
||||
*** Markdown input: ***
|
||||
[a. b] is a link.
|
||||
|
||||
[a. b]: http://site.com/
|
||||
|
||||
*** Output of inspect ***
|
||||
md_el(:document,[
|
||||
md_par([md_link(["a. b"],"a_b"), " is a link."]),
|
||||
md_ref_def("a_b", "http://site.com/", {:title=>nil})
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
<p><a href='http://site.com/'>a. b</a> is a link.</p>
|
||||
*** Output of to_latex ***
|
||||
\href{http://site.com/}{a. b} is a link.
|
||||
*** Output of to_md ***
|
||||
a. bis a link.
|
||||
*** Output of to_s ***
|
||||
a. b is a link.
|
||||
*** EOF ***
|
||||
|
||||
|
||||
|
||||
OK!
|
||||
|
||||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
(not used anymore)
|
|
@ -22,11 +22,6 @@ Search on Google imagesGoOgle search ]
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>Search on [Google images][ GoOgle search ]</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
Search on [Google images][ GoOgle search ]
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
68
vendor/plugins/maruku/tests/unittest/red_tests/lists7.md
vendored
Normal file
68
vendor/plugins/maruku/tests/unittest/red_tests/lists7.md
vendored
Normal file
|
@ -0,0 +1,68 @@
|
|||
I'm not sure if this should work at all...
|
||||
|
||||
*** Parameters: ***
|
||||
{} # params
|
||||
*** Markdown input: ***
|
||||
Ciao
|
||||
|
||||
* Tab
|
||||
* Tab
|
||||
* Tab
|
||||
|
||||
*** Output of inspect ***
|
||||
nil
|
||||
*** Output of to_html ***
|
||||
<p>Ciao</p>
|
||||
|
||||
<ul>
|
||||
<li>Tab * Tab * Tab</li>
|
||||
</ul>
|
||||
*** Output of to_latex ***
|
||||
Ciao
|
||||
|
||||
\begin{itemize}%
|
||||
\item Tab * Tab * Tab
|
||||
|
||||
\end{itemize}
|
||||
*** Output of to_md ***
|
||||
Ciao
|
||||
|
||||
-ab * Tab * Tab
|
||||
*** Output of to_s ***
|
||||
CiaoTab * Tab * Tab
|
||||
*** EOF ***
|
||||
|
||||
|
||||
|
||||
|
||||
Failed tests: [:inspect]
|
||||
|
||||
*** Output of inspect ***
|
||||
-----| WARNING | -----
|
||||
md_el(:document,[
|
||||
md_par(["Ciao"]),
|
||||
md_el(:ul,[md_el(:li_span,["Tab * Tab * Tab"],{:want_my_paragraph=>false},[])],{},[])
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
<p>Ciao</p>
|
||||
|
||||
<ul>
|
||||
<li>Tab * Tab * Tab</li>
|
||||
</ul>
|
||||
*** Output of to_latex ***
|
||||
Ciao
|
||||
|
||||
\begin{itemize}%
|
||||
\item Tab * Tab * Tab
|
||||
|
||||
\end{itemize}
|
||||
*** Output of to_md ***
|
||||
Ciao
|
||||
|
||||
-ab * Tab * Tab
|
||||
*** Output of to_s ***
|
||||
CiaoTab * Tab * Tab
|
||||
*** Output of Markdown.pl ***
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
(not used anymore)
|
128
vendor/plugins/maruku/tests/unittest/red_tests/lists7b.md
vendored
Normal file
128
vendor/plugins/maruku/tests/unittest/red_tests/lists7b.md
vendored
Normal file
|
@ -0,0 +1,128 @@
|
|||
Test case given by Scott.
|
||||
|
||||
http://rubyforge.org/tracker/index.php?func=detail&aid=8862&group_id=2795&atid=10735
|
||||
|
||||
a should not be indented.
|
||||
|
||||
*** Parameters: ***
|
||||
{} # params
|
||||
*** Markdown input: ***
|
||||
* a
|
||||
* a1
|
||||
* a2
|
||||
* b
|
||||
|
||||
|
||||
*** Output of inspect ***
|
||||
md_el(:document,[
|
||||
md_el(:ul,[
|
||||
md_el(:li,[
|
||||
"a",
|
||||
md_el(:ul,[
|
||||
md_el(:li_span,["a1"],{:want_my_paragraph=>false},[]),
|
||||
md_el(:li_span,["a2"],{:want_my_paragraph=>false},[])
|
||||
],{},[])
|
||||
],{:want_my_paragraph=>true},[]),
|
||||
md_el(:li,[md_par(["b"])],{:want_my_paragraph=>false},[])
|
||||
],{},[])
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
<ul>
|
||||
<li>
|
||||
a
|
||||
|
||||
<ul>
|
||||
<li>a1</li>
|
||||
|
||||
<li>a2</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<p>b</p>
|
||||
</li>
|
||||
</ul>
|
||||
*** Output of to_latex ***
|
||||
\begin{itemize}%
|
||||
\item a
|
||||
|
||||
\begin{itemize}%
|
||||
\item a1
|
||||
\item a2
|
||||
|
||||
\end{itemize}
|
||||
|
||||
\item b
|
||||
|
||||
|
||||
|
||||
\end{itemize}
|
||||
*** Output of to_md ***
|
||||
-* a1
|
||||
* a2
|
||||
-
|
||||
*** Output of to_s ***
|
||||
aa1a2b
|
||||
*** EOF ***
|
||||
|
||||
|
||||
|
||||
|
||||
Failed tests: [:inspect, :to_html]
|
||||
|
||||
*** Output of inspect ***
|
||||
-----| WARNING | -----
|
||||
md_el(:document,[
|
||||
md_el(:ul,[
|
||||
md_el(:li,[
|
||||
md_par(["a"]),
|
||||
md_el(:ul,[
|
||||
md_el(:li_span,["a1"],{:want_my_paragraph=>false},[]),
|
||||
md_el(:li_span,["a2"],{:want_my_paragraph=>false},[])
|
||||
],{},[])
|
||||
],{:want_my_paragraph=>true},[]),
|
||||
md_el(:li,[md_par(["b"])],{:want_my_paragraph=>false},[])
|
||||
],{},[])
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
-----| WARNING | -----
|
||||
<ul>
|
||||
<li>
|
||||
<p>a</p>
|
||||
|
||||
<ul>
|
||||
<li>a1</li>
|
||||
|
||||
<li>a2</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<p>b</p>
|
||||
</li>
|
||||
</ul>
|
||||
*** Output of to_latex ***
|
||||
\begin{itemize}%
|
||||
\item a
|
||||
|
||||
\begin{itemize}%
|
||||
\item a1
|
||||
\item a2
|
||||
|
||||
\end{itemize}
|
||||
|
||||
\item b
|
||||
|
||||
|
||||
|
||||
\end{itemize}
|
||||
*** Output of to_md ***
|
||||
-* a1
|
||||
* a2
|
||||
-
|
||||
*** Output of to_s ***
|
||||
aa1a2b
|
||||
*** Output of Markdown.pl ***
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
(not used anymore)
|
76
vendor/plugins/maruku/tests/unittest/red_tests/lists8.md
vendored
Normal file
76
vendor/plugins/maruku/tests/unittest/red_tests/lists8.md
vendored
Normal file
|
@ -0,0 +1,76 @@
|
|||
Write a comment here
|
||||
*** Parameters: ***
|
||||
{} # params
|
||||
*** Markdown input: ***
|
||||
Here is a paragraph.
|
||||
|
||||
|
||||
* Item 1
|
||||
* Item 2
|
||||
* Item 3
|
||||
|
||||
*** Output of inspect ***
|
||||
md_el(:document,[
|
||||
md_par(["Here is a paragraph."]),
|
||||
md_el(:ul,[
|
||||
md_el(:li_span,["Item 1"],{:want_my_paragraph=>false},[]),
|
||||
md_el(:li_span,["Item 2"],{:want_my_paragraph=>false},[]),
|
||||
md_el(:li_span,["Item 3"],{:want_my_paragraph=>false},[])
|
||||
],{},[])
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
<p>Here is a paragraph.</p>
|
||||
|
||||
<ul>
|
||||
<li>Item 1</li>
|
||||
|
||||
<li>Item 2</li>
|
||||
|
||||
<li>Item 3</li>
|
||||
</ul>
|
||||
*** Output of to_latex ***
|
||||
Here is a paragraph.
|
||||
|
||||
* Item 1 * Item 2 * Item 3
|
||||
*** Output of to_md ***
|
||||
Here is a paragraph.
|
||||
|
||||
-tem 1
|
||||
-tem 2
|
||||
-tem 3
|
||||
*** Output of to_s ***
|
||||
Here is a paragraph.Item 1Item 2Item 3
|
||||
*** EOF ***
|
||||
|
||||
|
||||
|
||||
|
||||
Failed tests: [:inspect, :to_html, :to_md, :to_s]
|
||||
|
||||
*** Output of inspect ***
|
||||
-----| WARNING | -----
|
||||
md_el(:document,[
|
||||
md_par(["Here is a paragraph."]),
|
||||
md_par(["* Item 1 * Item 2 * Item 3"])
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
-----| WARNING | -----
|
||||
<p>Here is a paragraph.</p>
|
||||
|
||||
<p>* Item 1 * Item 2 * Item 3</p>
|
||||
*** Output of to_latex ***
|
||||
Here is a paragraph.
|
||||
|
||||
* Item 1 * Item 2 * Item 3
|
||||
*** Output of to_md ***
|
||||
-----| WARNING | -----
|
||||
Here is a paragraph.
|
||||
|
||||
* Item 1 * Item 2 * Item 3
|
||||
*** Output of to_s ***
|
||||
-----| WARNING | -----
|
||||
Here is a paragraph.* Item 1 * Item 2 * Item 3
|
||||
*** Output of Markdown.pl ***
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
(not used anymore)
|
|
@ -78,43 +78,6 @@ filters including Setext, atx, Textile, reStructuredText, Grutatext, and EtText
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>filters -- including <a href="http://docutils.sourceforge.net/mirror/setext.html">Setext</a>, <a href="http://www.aaronsw.com/2002/atx/">atx</a>, <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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
filters -- including
|
||||
<a href='http://docutils.sourceforge.net/mirror/setext.html'>
|
||||
Setext
|
||||
</a>
|
||||
,
|
||||
<a href='http://www.aaronsw.com/2002/atx/'>
|
||||
atx
|
||||
</a>
|
||||
,
|
||||
<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>
|
||||
(not used anymore)
|
|
@ -22,7 +22,6 @@ md_el(:document,[md_ref_def("6", "http://ettext.taint.org/doc/", {:title=>nil})]
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div/>
|
||||
(not used anymore)
|
|
@ -121,51 +121,6 @@ Twas a test to remember in the 90s.It was in a sense really interesting.I too
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<pre><code>'Twas a "test" to 'remember' in the '90s.
|
||||
</code></pre>
|
||||
|
||||
<p>'Twas a "test" to 'remember' in the '90s.</p>
|
||||
|
||||
<pre><code>It was --- in a sense --- really... interesting.
|
||||
</code></pre>
|
||||
|
||||
<p>It was --- in a sense --- really... interesting.</p>
|
||||
|
||||
<pre><code>I -- too -- met << some curly quotes >> there or <<here>>No space.
|
||||
</code></pre>
|
||||
|
||||
<p>I -- too -- met << some curly quotes >> there or <<here>>No space.</p>
|
||||
|
||||
<pre><code>She was 6\"12\'.
|
||||
</code></pre>
|
||||
|
||||
<blockquote>
|
||||
<p>She was 6\"12\'.</p>
|
||||
</blockquote>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<REXML::ParseException: #<REXML::ParseException: Missing end tag for 'here' (got "p")
|
||||
Line:
|
||||
Position:
|
||||
Last 80 unconsumed characters:
|
||||
<pre><code>She was 6\"12\'. </code></pre> <blockquote> <p>She was 6\"12\'.</>
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:330:in `pull'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/treeparser.rb:22:in `parse'
|
||||
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:205:in `build'
|
||||
/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 `run_test'
|
||||
bin/marutest:274:in `marutest'
|
||||
bin/marutest:271:in `each'
|
||||
bin/marutest:271:in `marutest'
|
||||
bin/marutest:346
|
||||
...
|
||||
Missing end tag for 'here' (got "p")
|
||||
Line:
|
||||
Position:
|
||||
Last 80 unconsumed characters:
|
||||
<pre><code>She was 6\"12\'. </code></pre> <blockquote> <p>She was 6\"12\'.</
|
||||
Line:
|
||||
Position:
|
||||
Last 80 unconsumed characters:
|
||||
<pre><code>She was 6\"12\'. </code></pre> <blockquote> <p>She was 6\"12\'.</>
|
||||
(not used anymore)
|
|
@ -59,51 +59,6 @@ This is ruby code:This is ruby code:
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>This is ruby code:</p>
|
||||
|
||||
<pre><code>require 'maruku'
|
||||
|
||||
puts Maruku.new($stdin).to_html
|
||||
</code></pre>
|
||||
|
||||
<p>This is ruby code:</p>
|
||||
|
||||
<pre><code>require 'maruku'
|
||||
</code></pre>
|
||||
|
||||
<p>{: lang=ruby html<em>use</em>syntax}</p>
|
||||
|
||||
<pre><code>puts Maruku.new($stdin).to_html
|
||||
</code></pre>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
This is ruby code:
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
require 'maruku' puts Maruku.new($stdin).to_html
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
This is ruby code:
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
require 'maruku'
|
||||
</code>
|
||||
</pre>
|
||||
<p>
|
||||
{: lang=ruby html
|
||||
<em>
|
||||
use
|
||||
</em>
|
||||
syntax}
|
||||
</p>
|
||||
<pre>
|
||||
<code>
|
||||
puts Maruku.new($stdin).to_html
|
||||
</code>
|
||||
</pre>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -41,21 +41,6 @@ hh c1c2
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>h | h
|
||||
----------|--
|
||||
{:t} c1 | c2
|
||||
{: summary="Table summary" .class1 style="color:red" border=3 width="50%" frame=lhs rules=cols cellspacing=2em cellpadding=4px}</p>
|
||||
|
||||
<p>{:t: scope="row"}</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
h | h ----------|-- {:t} c1 | c2 {: summary="Table summary" .class1
|
||||
style="color:red" border=3 width="50%" frame=lhs rules=cols cellspacing=2em
|
||||
cellpadding=4px}
|
||||
</p>
|
||||
<p>
|
||||
{:t: scope="row"}
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
9
vendor/plugins/maruku/tests/unittest/test.md
vendored
9
vendor/plugins/maruku/tests/unittest/test.md
vendored
|
@ -26,11 +26,6 @@ md_el(:document,[md_el(:code,[],{:raw_code=>" $ python "},[])],{},[]
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p>$ python </p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
$ python
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
9
vendor/plugins/maruku/tests/unittest/underscore_in_words.html
vendored
Normal file
9
vendor/plugins/maruku/tests/unittest/underscore_in_words.html
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC
|
||||
"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
|
||||
"http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
|
||||
<html xmlns:svg='http://www.w3.org/2000/svg' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
||||
<head><meta content='application/xhtml+xml;charset=utf-8' http-equiv='Content-type' /><title></title></head>
|
||||
<body>
|
||||
<p>Ok, this_was a_really_old bug</p>
|
||||
</body></html>
|
27
vendor/plugins/maruku/tests/unittest/underscore_in_words.md
vendored
Normal file
27
vendor/plugins/maruku/tests/unittest/underscore_in_words.md
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
Note that Markdown.pl gives incorrect result here.
|
||||
*** Parameters: ***
|
||||
{} # params
|
||||
*** Markdown input: ***
|
||||
Ok, this_was a_really_old bug
|
||||
*** Output of inspect ***
|
||||
md_el(:document,[md_par(["Ok, this_was a_really_old bug"])],{},[])
|
||||
*** Output of to_html ***
|
||||
<p>Ok, this_was a_really_old bug</p>
|
||||
*** Output of to_latex ***
|
||||
Ok, this\_was a\_really\_old bug
|
||||
*** Output of to_md ***
|
||||
Ok, this_was a_really_old bug
|
||||
*** Output of to_s ***
|
||||
Ok, this_was a_really_old bug
|
||||
*** EOF ***
|
||||
|
||||
|
||||
|
||||
OK!
|
||||
|
||||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
(not used anymore)
|
34
vendor/plugins/maruku/tests/unittest/wrapping.md
vendored
34
vendor/plugins/maruku/tests/unittest/wrapping.md
vendored
|
@ -74,36 +74,6 @@ Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ip
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<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 />
|
||||
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. </p>
|
||||
|
||||
<ul>
|
||||
<li>Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet
|
||||
Lorem ipsum Break: <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>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<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/>
|
||||
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem
|
||||
ipsum dolor amet.
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem ipsum dolor amet. Lorem
|
||||
ipsum dolor amet Lorem ipsum Break:
|
||||
<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>
|
||||
(not used anymore)
|
36
vendor/plugins/maruku/tests/unittest/xml.md
vendored
36
vendor/plugins/maruku/tests/unittest/xml.md
vendored
|
@ -35,41 +35,11 @@ md_el(:document,[
|
|||
|
||||
|
||||
|
||||
OK!
|
||||
|
||||
Failed tests: [:to_html]
|
||||
|
||||
*** Output of inspect ***
|
||||
md_el(:document,[
|
||||
md_html("<svg:svg/>"),
|
||||
md_html("<svg:svg \nwidth=\"600px\" height=\"400px\">\n <svg:g id=\"group\">\n\t<svg:circle id=\"circ1\" r=\"1cm\" cx=\"3cm\" cy=\"3cm\" style=\"fill:red;\"></svg:circle>\n\t<svg:circle id=\"circ2\" r=\"1cm\" cx=\"7cm\" cy=\"3cm\" style=\"fill:red;\" />\n </svg:g>\n</svg:svg>")
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
-----| WARNING | -----
|
||||
<pre class='markdown-html-error' style='border: solid 3px red; background-color: pink'>HTML parse error:
|
||||
<svg:svg/></pre><pre class='markdown-html-error' style='border: solid 3px red; background-color: pink'>HTML parse error:
|
||||
<svg:svg
|
||||
width="600px" height="400px">
|
||||
<svg:g id="group">
|
||||
<svg:circle id="circ1" r="1cm" cx="3cm" cy="3cm" style="fill:red;"></svg:circle>
|
||||
<svg:circle id="circ2" r="1cm" cx="7cm" cy="3cm" style="fill:red;" />
|
||||
</svg:g>
|
||||
</svg:svg></pre>
|
||||
*** Output of to_latex ***
|
||||
|
||||
*** Output of to_md ***
|
||||
|
||||
*** Output of to_s ***
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p><svg:svg/></p>
|
||||
|
||||
<p><svg:svg
|
||||
width="600px" height="400px">
|
||||
<svg:g id="group">
|
||||
<svg:circle id="circ1" r="1cm" cx="3cm" cy="3cm" style="fill:red;"></svg:circle>
|
||||
<svg:circle id="circ2" r="1cm" cx="7cm" cy="3cm" style="fill:red;" />
|
||||
</svg:g>
|
||||
</svg:svg></p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<REXML::UndefinedNamespaceException: Undefined prefix svg found>
|
||||
(not used anymore)
|
11
vendor/plugins/maruku/tests/unittest/xml2.md
vendored
11
vendor/plugins/maruku/tests/unittest/xml2.md
vendored
|
@ -26,13 +26,6 @@ md_el(:document,[md_html("<!--\n<\n-->")],{},[])
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<!--
|
||||
<
|
||||
-->
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<!--
|
||||
<
|
||||
-->
|
||||
</div>
|
||||
(not used anymore)
|
19
vendor/plugins/maruku/tests/unittest/xml3.md
vendored
19
vendor/plugins/maruku/tests/unittest/xml3.md
vendored
|
@ -33,21 +33,6 @@ md_el(:document,[
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<table markdown='1'>
|
||||
Blah
|
||||
<thead>
|
||||
<td>*em*</td>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<table markdown='1'>
|
||||
Blah
|
||||
<thead>
|
||||
<td>
|
||||
*em*
|
||||
</td>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
(not used anymore)
|
|
@ -59,33 +59,6 @@ Targets Inside: last
|
|||
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p><? noTarget?>
|
||||
<?php ?>
|
||||
<?xml ?>
|
||||
<?mrk ?></p>
|
||||
|
||||
<p>Targets <? noTarget?> <?php ?> <?xml ?> <?mrk ?></p>
|
||||
|
||||
<p>Inside: <?mrk puts "Inside: Hello" ?> last</p>
|
||||
|
||||
(not used anymore)
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
<? noTarget?>
|
||||
<?php ?>
|
||||
<?xml ?>
|
||||
<?mrk ?>
|
||||
</p>
|
||||
<p>
|
||||
Targets
|
||||
<? noTarget?>
|
||||
<?php ?>
|
||||
<?xml ?>
|
||||
<?mrk ?>
|
||||
</p>
|
||||
<p>
|
||||
Inside:
|
||||
<?mrk puts "Inside: Hello"?>
|
||||
last
|
||||
</p>
|
||||
</div>
|
||||
(not used anymore)
|
Loading…
Reference in a new issue