maruku 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -70,9 +70,9 @@ Please mouseover to see the title:
70
70
 
71
71
  Please mouseover to see the title:
72
72
 
73
- I'll say it one more time: this page does not use {\bf Images not supported yet (http\char58\char47\char47jigsaw\char46w\char51\char46org\char47css\char45validator\char47images\char47vcss)}
73
+ I'll say it one more time: this page does not use
74
74
 
75
- This is double size: {\bf Images not supported yet (http\char58\char47\char47jigsaw\char46w\char51\char46org\char47css\char45validator\char47images\char47vcss)}
75
+ This is double size:
76
76
 
77
77
 
78
78
  *** Output of to_md ***
@@ -0,0 +1,55 @@
1
+ Write a comment here
2
+ *** Parameters: ***
3
+ {} # params
4
+ *** Markdown input: ***
5
+
6
+ This is an ![image][].
7
+
8
+ This is an ![image].
9
+
10
+ [image]: image.jpg
11
+
12
+ *** Output of inspect ***
13
+ md_el(:document,[
14
+ md_par(["This is an ", md_image(["image"], "image"), "."]),
15
+ md_par(["This is an ."]),
16
+ md_ref_def("image", "image.jpg", {:title=>nil})
17
+ ],{},[])
18
+ *** Output of to_html ***
19
+
20
+ <p>This is an <img src='image.jpg' alt='' />.</p>
21
+
22
+ <p>This is an .</p>
23
+
24
+ *** Output of to_latex ***
25
+ This is an .
26
+
27
+ This is an .
28
+
29
+
30
+ *** Output of to_md ***
31
+ This is an image.
32
+
33
+ This is an .
34
+
35
+
36
+ *** Output of to_s ***
37
+ This is an image.This is an .
38
+ *** EOF ***
39
+
40
+
41
+
42
+ OK!
43
+
44
+
45
+
46
+ *** Output of Markdown.pl ***
47
+ <p>This is an <img src="image.jpg" alt="image" />.</p>
48
+
49
+ <p>This is an ![image].</p>
50
+
51
+ *** Output of Markdown.pl (parsed) ***
52
+ <p>This is an <img src='image.jpg' alt='image'/
53
+ >.</p
54
+ ><p>This is an ![image].</p
55
+ >
@@ -76,13 +76,17 @@ md_el(:document,[
76
76
  *** Output of to_html ***
77
77
 
78
78
  <p>Input:</p>
79
+
79
80
  <pre><code>&lt;em&gt;Emphasis&lt;/em&gt;
80
81
  </code></pre>
82
+
81
83
  <p>Result: <em>Emphasis</em></p>
82
84
 
83
85
  <p>Input:</p>
86
+
84
87
  <pre><code>&lt;img src=&quot;http://jigsaw.w3.org/css-validator/images/vcss&quot;/&gt;
85
88
  </code></pre>
89
+
86
90
  <p>Result on span: <img src='http://jigsaw.w3.org/css-validator/images/vcss' /></p>
87
91
 
88
92
  <p>Result alone:</p>
@@ -168,7 +168,7 @@ Search on GoogleSearch on GoogleSearch on GoogleSearch on GoogleSearch on Google
168
168
 
169
169
  <p>Inline with title: <a href="http://google.com "Title"">Google images</a></p>
170
170
 
171
- <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="&#x6D;&#97;&#x69;&#108;&#116;&#x6F;:&#98;i&#108;&#x6C;&#64;&#103;o&#x6F;&#103;l&#x65;&#46;&#99;&#x6F;&#x6D;">&#98;i&#108;&#x6C;&#64;&#103;o&#x6F;&#103;l&#x65;&#46;&#99;&#x6F;&#x6D;</a>
171
+ <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="&#x6D;a&#x69;&#x6C;&#x74;&#111;:&#98;&#x69;&#108;&#108;&#64;&#103;&#x6F;&#111;&#x67;&#108;&#101;&#x2E;&#x63;&#x6F;&#x6D;">&#98;&#x69;&#108;&#108;&#64;&#103;&#x6F;&#111;&#x67;&#108;&#101;&#x2E;&#x63;&#x6F;&#x6D;</a>
172
172
  or you might ask bill@google.com.</p>
173
173
 
174
174
  <p>If all else fails, ask <a href="http://www.google.com">Google</a></p>
@@ -36,7 +36,9 @@ md_el(:document,[
36
36
 
37
37
  <li>
38
38
  <p>A list item with a code block:</p>
39
- <pre><code>&lt;code goes here&gt;</code></pre></li>
39
+
40
+ <pre><code>&lt;code goes here&gt;</code></pre>
41
+ </li>
40
42
  </ul>
41
43
 
42
44
  *** Output of to_latex ***
@@ -363,13 +363,15 @@ md_el(:document,[
363
363
 
364
364
  <li>
365
365
  <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>
366
+
366
367
  <pre><code>$ python
367
368
  Python 2.4.1 (\#1, Jun 4 2005, 00:54:33)
368
369
  Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
369
370
  &gt;&gt;&gt; exit
370
371
  &#39;Use Ctrl-D (i.e. EOF) to exit.&#39;
371
372
  &gt;&gt;&gt; quit
372
- &#39;Use Ctrl-D (i.e. EOF) to exit.&#39;</code></pre></li>
373
+ &#39;Use Ctrl-D (i.e. EOF) to exit.&#39;</code></pre>
374
+ </li>
373
375
 
374
376
  <li>
375
377
  <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>
@@ -68,13 +68,21 @@ md_el(:document,[
68
68
  ],{},[])
69
69
  ],{},[])
70
70
  *** Output of to_html ***
71
+
71
72
  <pre><code>&#39;Twas a &quot;test&quot; to &#39;remember&#39; in the &#39;90s.</code></pre>
73
+
72
74
  <p>&#8216;Twas a &#8220;test&#8221; to &#8216;remember&#8217; in the &#8217;90s.</p>
75
+
73
76
  <pre><code>It was --- in a sense --- really... interesting.</code></pre>
77
+
74
78
  <p>It was &#8212; in a sense &#8212; really&#8230; interesting.</p>
79
+
75
80
  <pre><code>I -- too -- met &lt;&lt; some curly quotes &gt;&gt; there or &lt;&lt;here&gt;&gt;No space.</code></pre>
81
+
76
82
  <p>I &#8211; too &#8211; met &#171;&#160;some curly quotes&#160;&#187; there or &#171;here&#187;No space.</p>
83
+
77
84
  <pre><code>She was 6\&quot;12\&#39;.</code></pre>
85
+
78
86
  <blockquote>
79
87
  <p>She was 6&#34;12&#39;.</p>
80
88
  </blockquote>
@@ -25,12 +25,18 @@ md_el(:document,[
25
25
  *** Output of to_html ***
26
26
 
27
27
  <p>This is ruby code:</p>
28
+
28
29
  <pre><code>require &#39;maruku&#39;
29
30
 
30
31
  puts Maruku.new($stdin).to_html
31
32
  </code></pre>
33
+
32
34
  <p>This is ruby code:</p>
33
- <pre class='ruby'><span class='ident'>require</span> <span class='punct'>'</span><span class='string'>maruku</span><span class='punct'>'</span></pre><pre><code>puts Maruku.new($stdin).to_html</code></pre>
35
+
36
+ <pre><code class='ruby' lang='ruby'><span class='ident'>require</span> <span class='punct'>&#39;</span><span class='string'>maruku</span><span class='punct'>&#39;</span></code></pre>
37
+
38
+ <pre><code>puts Maruku.new($stdin).to_html</code></pre>
39
+
34
40
  *** Output of to_latex ***
35
41
  This is ruby code:
36
42
 
@@ -10,7 +10,9 @@ Write a comment abouth the test here.
10
10
  *** Output of inspect ***
11
11
  md_el(:document,[md_el(:code,[],{:raw_code=>" $ python "},[])],{},[])
12
12
  *** Output of to_html ***
13
+
13
14
  <pre><code> $ python </code></pre>
15
+
14
16
  *** Output of to_latex ***
15
17
  \begin{verbatim} $ python \end{verbatim}
16
18
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.10
3
3
  specification_version: 1
4
4
  name: maruku
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.5.0
7
- date: 2007-01-23
6
+ version: 0.5.1
7
+ date: 2007-01-24
8
8
  summary: A Markdown interpreter in Ruby
9
9
  require_paths:
10
10
  - lib
@@ -77,7 +77,6 @@ files:
77
77
  - lib/maruku/tests/new_parser.rb
78
78
  - lib/maruku/tests/tests.rb
79
79
  - lib/maruku/usage/example1.rb
80
- - docs/a.md
81
80
  - docs/changelog.md
82
81
  - docs/entity_test.md
83
82
  - docs/markdown_syntax.md
@@ -140,7 +139,9 @@ files:
140
139
  - tests/unittest/footnotes.md
141
140
  - tests/unittest/headers.md
142
141
  - tests/unittest/hrule.md
142
+ - tests/unittest/ie.md
143
143
  - tests/unittest/images.md
144
+ - tests/unittest/images2.md
144
145
  - tests/unittest/inline_html.md
145
146
  - tests/unittest/inline_html2.md
146
147
  - tests/unittest/links.md
data/docs/a.md DELETED
@@ -1,4 +0,0 @@
1
- Maruku signature: true
2
-
3
- Caio
4
-