kramdown 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of kramdown might be problematic. Click here for more details.
- data/ChangeLog +243 -0
- data/Rakefile +0 -17
- data/VERSION +1 -1
- data/benchmark/historic-jruby-1.4.0.dat +7 -7
- data/benchmark/historic-ruby-1.8.6.dat +7 -7
- data/benchmark/historic-ruby-1.8.7.dat +7 -7
- data/benchmark/historic-ruby-1.9.1p243.dat +7 -7
- data/benchmark/historic-ruby-1.9.2dev.dat +7 -7
- data/benchmark/testing.sh +1 -1
- data/doc/index.page +4 -3
- data/doc/quickref.page +31 -1
- data/doc/syntax.page +166 -12
- data/lib/kramdown/converter.rb +107 -56
- data/lib/kramdown/document.rb +16 -1
- data/lib/kramdown/extension.rb +19 -0
- data/lib/kramdown/parser/kramdown.rb +2 -1
- data/lib/kramdown/parser/kramdown/attribute_list.rb +2 -2
- data/lib/kramdown/parser/kramdown/codeblock.rb +5 -9
- data/lib/kramdown/parser/kramdown/escaped_chars.rb +1 -1
- data/lib/kramdown/parser/kramdown/footnote.rb +2 -1
- data/lib/kramdown/parser/kramdown/table.rb +125 -0
- data/lib/kramdown/version.rb +1 -1
- data/test/testcases/block/06_codeblock/with_blank_line.text +1 -0
- data/test/testcases/block/09_html/parse_as_span.html +3 -0
- data/test/testcases/block/09_html/parse_as_span.text +2 -0
- data/test/testcases/block/11_ial/simple.html +3 -0
- data/test/testcases/block/11_ial/simple.text +4 -2
- data/test/testcases/block/12_extension/options.html +1 -1
- data/test/testcases/block/12_extension/options2.html +1 -1
- data/test/testcases/block/12_extension/options3.html +7 -0
- data/test/testcases/block/12_extension/options3.text +7 -0
- data/test/testcases/block/13_definition_list/no_def_list.html +2 -0
- data/test/testcases/block/13_definition_list/no_def_list.text +2 -0
- data/test/testcases/block/14_table/errors.html +3 -0
- data/test/testcases/block/14_table/errors.text +3 -0
- data/test/testcases/block/14_table/footer.html +65 -0
- data/test/testcases/block/14_table/footer.text +25 -0
- data/test/testcases/block/14_table/header.html +103 -0
- data/test/testcases/block/14_table/header.text +32 -0
- data/test/testcases/block/14_table/no_table.html +3 -0
- data/test/testcases/block/14_table/no_table.text +3 -0
- data/test/testcases/block/14_table/simple.html +61 -0
- data/test/testcases/block/14_table/simple.text +16 -0
- data/test/testcases/span/04_footnote/footnote_nr.html +1 -1
- data/test/testcases/span/04_footnote/markers.html +1 -1
- data/test/testcases/span/escaped_chars/normal.html +4 -0
- data/test/testcases/span/escaped_chars/normal.text +4 -0
- metadata +17 -2
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
<p>A marker <sup id="fnref:empty"><a href="#fn:empty" rel="footnote">5</a></sup> used twice[^fn].</p>
|
16
16
|
|
17
|
-
<div class="
|
17
|
+
<div class="footnotes">
|
18
18
|
<ol>
|
19
19
|
<li id="fn:fn">
|
20
20
|
<p>Some foot note text<a href="#fnref:fn" rev="footnote">↩</a></p>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kramdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Leitner
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-22 00:00:00 +01:00
|
13
13
|
default_executable: kramdown
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -74,6 +74,7 @@ files:
|
|
74
74
|
- lib/kramdown/parser/kramdown/link.rb
|
75
75
|
- lib/kramdown/parser/kramdown/list.rb
|
76
76
|
- lib/kramdown/parser/kramdown/paragraph.rb
|
77
|
+
- lib/kramdown/parser/kramdown/table.rb
|
77
78
|
- lib/kramdown/parser/kramdown/typographic_symbol.rb
|
78
79
|
- lib/kramdown/parser/kramdown.rb
|
79
80
|
- lib/kramdown/parser.rb
|
@@ -225,10 +226,14 @@ files:
|
|
225
226
|
- test/testcases/block/12_extension/options.text
|
226
227
|
- test/testcases/block/12_extension/options2.html
|
227
228
|
- test/testcases/block/12_extension/options2.text
|
229
|
+
- test/testcases/block/12_extension/options3.html
|
230
|
+
- test/testcases/block/12_extension/options3.text
|
228
231
|
- test/testcases/block/13_definition_list/definition_at_beginning.html
|
229
232
|
- test/testcases/block/13_definition_list/definition_at_beginning.text
|
230
233
|
- test/testcases/block/13_definition_list/multiple_terms.html
|
231
234
|
- test/testcases/block/13_definition_list/multiple_terms.text
|
235
|
+
- test/testcases/block/13_definition_list/no_def_list.html
|
236
|
+
- test/testcases/block/13_definition_list/no_def_list.text
|
232
237
|
- test/testcases/block/13_definition_list/para_wrapping.html
|
233
238
|
- test/testcases/block/13_definition_list/para_wrapping.text
|
234
239
|
- test/testcases/block/13_definition_list/separated_by_eob.html
|
@@ -241,6 +246,16 @@ files:
|
|
241
246
|
- test/testcases/block/13_definition_list/too_much_space.text
|
242
247
|
- test/testcases/block/13_definition_list/with_blocks.html
|
243
248
|
- test/testcases/block/13_definition_list/with_blocks.text
|
249
|
+
- test/testcases/block/14_table/errors.html
|
250
|
+
- test/testcases/block/14_table/errors.text
|
251
|
+
- test/testcases/block/14_table/footer.html
|
252
|
+
- test/testcases/block/14_table/footer.text
|
253
|
+
- test/testcases/block/14_table/header.html
|
254
|
+
- test/testcases/block/14_table/header.text
|
255
|
+
- test/testcases/block/14_table/no_table.html
|
256
|
+
- test/testcases/block/14_table/no_table.text
|
257
|
+
- test/testcases/block/14_table/simple.html
|
258
|
+
- test/testcases/block/14_table/simple.text
|
244
259
|
- test/testcases/span/01_link/empty.html
|
245
260
|
- test/testcases/span/01_link/empty.text
|
246
261
|
- test/testcases/span/01_link/image_in_a.html
|