kramdown 0.1.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/AUTHORS +1 -0
- data/COPYING +24 -0
- data/ChangeLog +1416 -0
- data/GPL +674 -0
- data/README +20 -0
- data/Rakefile +300 -0
- data/VERSION +1 -0
- data/benchmark/benchmark.rb +33 -0
- data/benchmark/mdbasics.text +306 -0
- data/benchmark/mdsyntax.text +888 -0
- data/benchmark/testing.sh +9 -0
- data/benchmark/timing.sh +10 -0
- data/bin/kramdown +26 -0
- data/doc/default.css +293 -0
- data/doc/default.template +78 -0
- data/doc/index.page +89 -0
- data/doc/installation.page +90 -0
- data/doc/news.feed +10 -0
- data/doc/news.page +27 -0
- data/doc/quickref.page +474 -0
- data/doc/syntax.page +1089 -0
- data/doc/tests.page +44 -0
- data/doc/virtual +2 -0
- data/lib/kramdown.rb +23 -0
- data/lib/kramdown/converter.rb +215 -0
- data/lib/kramdown/document.rb +150 -0
- data/lib/kramdown/error.rb +27 -0
- data/lib/kramdown/extension.rb +73 -0
- data/lib/kramdown/parser.rb +1056 -0
- data/lib/kramdown/parser/registry.rb +62 -0
- data/setup.rb +1585 -0
- data/test/run_tests.rb +58 -0
- data/test/test_files.rb +39 -0
- data/test/testcases/block/01_blank_line/spaces.html +1 -0
- data/test/testcases/block/01_blank_line/spaces.text +3 -0
- data/test/testcases/block/01_blank_line/tabs.html +1 -0
- data/test/testcases/block/01_blank_line/tabs.text +6 -0
- data/test/testcases/block/02_eob/beginning.html +1 -0
- data/test/testcases/block/02_eob/beginning.text +3 -0
- data/test/testcases/block/02_eob/end.html +1 -0
- data/test/testcases/block/02_eob/end.text +3 -0
- data/test/testcases/block/02_eob/middle.html +1 -0
- data/test/testcases/block/02_eob/middle.text +5 -0
- data/test/testcases/block/03_paragraph/indented.html +18 -0
- data/test/testcases/block/03_paragraph/indented.text +19 -0
- data/test/testcases/block/03_paragraph/no_newline_at_end.html +5 -0
- data/test/testcases/block/03_paragraph/no_newline_at_end.text +5 -0
- data/test/testcases/block/03_paragraph/one_para.html +1 -0
- data/test/testcases/block/03_paragraph/one_para.text +1 -0
- data/test/testcases/block/03_paragraph/two_para.html +4 -0
- data/test/testcases/block/03_paragraph/two_para.text +4 -0
- data/test/testcases/block/04_header/atx_header.html +26 -0
- data/test/testcases/block/04_header/atx_header.text +24 -0
- data/test/testcases/block/04_header/atx_header_no_newline_at_end.html +1 -0
- data/test/testcases/block/04_header/atx_header_no_newline_at_end.text +1 -0
- data/test/testcases/block/04_header/setext_header.html +25 -0
- data/test/testcases/block/04_header/setext_header.text +27 -0
- data/test/testcases/block/04_header/setext_header_no_newline_at_end.html +1 -0
- data/test/testcases/block/04_header/setext_header_no_newline_at_end.text +2 -0
- data/test/testcases/block/04_header/with_auto_ids.html +17 -0
- data/test/testcases/block/04_header/with_auto_ids.options +1 -0
- data/test/testcases/block/04_header/with_auto_ids.text +19 -0
- data/test/testcases/block/05_blockquote/indented.html +25 -0
- data/test/testcases/block/05_blockquote/indented.text +14 -0
- data/test/testcases/block/05_blockquote/nested.html +9 -0
- data/test/testcases/block/05_blockquote/nested.text +5 -0
- data/test/testcases/block/05_blockquote/no_newline_at_end.html +4 -0
- data/test/testcases/block/05_blockquote/no_newline_at_end.text +2 -0
- data/test/testcases/block/05_blockquote/only_first_quoted.html +8 -0
- data/test/testcases/block/05_blockquote/only_first_quoted.text +4 -0
- data/test/testcases/block/05_blockquote/with_code_blocks.html +15 -0
- data/test/testcases/block/05_blockquote/with_code_blocks.text +11 -0
- data/test/testcases/block/06_codeblock/error.html +4 -0
- data/test/testcases/block/06_codeblock/error.text +4 -0
- data/test/testcases/block/06_codeblock/no_newline_at_end.html +2 -0
- data/test/testcases/block/06_codeblock/no_newline_at_end.text +1 -0
- data/test/testcases/block/06_codeblock/normal.html +13 -0
- data/test/testcases/block/06_codeblock/normal.text +10 -0
- data/test/testcases/block/06_codeblock/tilde_syntax.html +7 -0
- data/test/testcases/block/06_codeblock/tilde_syntax.text +9 -0
- data/test/testcases/block/06_codeblock/whitespace.html +3 -0
- data/test/testcases/block/06_codeblock/whitespace.text +3 -0
- data/test/testcases/block/06_codeblock/with_blank_line.html +13 -0
- data/test/testcases/block/06_codeblock/with_blank_line.text +11 -0
- data/test/testcases/block/06_codeblock/with_eob_marker.html +6 -0
- data/test/testcases/block/06_codeblock/with_eob_marker.text +5 -0
- data/test/testcases/block/07_horizontal_rule/error.html +7 -0
- data/test/testcases/block/07_horizontal_rule/error.text +7 -0
- data/test/testcases/block/07_horizontal_rule/normal.html +19 -0
- data/test/testcases/block/07_horizontal_rule/normal.text +19 -0
- data/test/testcases/block/08_list/escaping.html +17 -0
- data/test/testcases/block/08_list/escaping.text +17 -0
- data/test/testcases/block/08_list/list_and_hr.html +9 -0
- data/test/testcases/block/08_list/list_and_hr.text +5 -0
- data/test/testcases/block/08_list/list_and_others.html +38 -0
- data/test/testcases/block/08_list/list_and_others.text +25 -0
- data/test/testcases/block/08_list/mixed.html +111 -0
- data/test/testcases/block/08_list/mixed.text +66 -0
- data/test/testcases/block/08_list/nested.html +17 -0
- data/test/testcases/block/08_list/nested.text +7 -0
- data/test/testcases/block/08_list/other_first_element.html +39 -0
- data/test/testcases/block/08_list/other_first_element.text +18 -0
- data/test/testcases/block/08_list/simple_ol.html +19 -0
- data/test/testcases/block/08_list/simple_ol.text +13 -0
- data/test/testcases/block/08_list/simple_ul.html +61 -0
- data/test/testcases/block/08_list/simple_ul.text +43 -0
- data/test/testcases/block/08_list/single_item.html +3 -0
- data/test/testcases/block/08_list/single_item.text +1 -0
- data/test/testcases/block/08_list/special_cases.html +29 -0
- data/test/testcases/block/08_list/special_cases.text +19 -0
- data/test/testcases/block/09_html/auto_parse_block_html.html +17 -0
- data/test/testcases/block/09_html/auto_parse_block_html.options +1 -0
- data/test/testcases/block/09_html/auto_parse_block_html.text +14 -0
- data/test/testcases/block/09_html/comment.html +12 -0
- data/test/testcases/block/09_html/comment.text +12 -0
- data/test/testcases/block/09_html/filtered_html.html +1 -0
- data/test/testcases/block/09_html/filtered_html.options +1 -0
- data/test/testcases/block/09_html/filtered_html.text +1 -0
- data/test/testcases/block/09_html/html_and_codeblocks.html +15 -0
- data/test/testcases/block/09_html/html_and_codeblocks.options +1 -0
- data/test/testcases/block/09_html/html_and_codeblocks.text +13 -0
- data/test/testcases/block/09_html/invalid_html_1.html +5 -0
- data/test/testcases/block/09_html/invalid_html_1.text +5 -0
- data/test/testcases/block/09_html/invalid_html_2.html +6 -0
- data/test/testcases/block/09_html/invalid_html_2.text +5 -0
- data/test/testcases/block/09_html/parse_as_raw.html +26 -0
- data/test/testcases/block/09_html/parse_as_raw.text +16 -0
- data/test/testcases/block/09_html/parse_as_span.html +12 -0
- data/test/testcases/block/09_html/parse_as_span.text +7 -0
- data/test/testcases/block/09_html/processing_instruction.html +12 -0
- data/test/testcases/block/09_html/processing_instruction.text +12 -0
- data/test/testcases/block/09_html/simple.html +78 -0
- data/test/testcases/block/09_html/simple.text +56 -0
- data/test/testcases/block/10_ald/simple.html +2 -0
- data/test/testcases/block/10_ald/simple.text +8 -0
- data/test/testcases/block/11_ial/simple.html +17 -0
- data/test/testcases/block/11_ial/simple.text +25 -0
- data/test/testcases/block/12_extension/comment.html +5 -0
- data/test/testcases/block/12_extension/comment.text +11 -0
- data/test/testcases/block/12_extension/ignored.html +6 -0
- data/test/testcases/block/12_extension/ignored.text +11 -0
- data/test/testcases/block/12_extension/kdoptions.html +15 -0
- data/test/testcases/block/12_extension/kdoptions.text +18 -0
- data/test/testcases/block/12_extension/kdoptions2.html +10 -0
- data/test/testcases/block/12_extension/kdoptions2.text +5 -0
- data/test/testcases/block/12_extension/nokramdown.html +6 -0
- data/test/testcases/block/12_extension/nokramdown.text +11 -0
- data/test/testcases/span/01_link/empty.html +3 -0
- data/test/testcases/span/01_link/empty.text +3 -0
- data/test/testcases/span/01_link/image_in_a.html +5 -0
- data/test/testcases/span/01_link/image_in_a.text +5 -0
- data/test/testcases/span/01_link/imagelinks.html +12 -0
- data/test/testcases/span/01_link/imagelinks.text +14 -0
- data/test/testcases/span/01_link/inline.html +40 -0
- data/test/testcases/span/01_link/inline.text +42 -0
- data/test/testcases/span/01_link/link_defs.html +8 -0
- data/test/testcases/span/01_link/link_defs.text +22 -0
- data/test/testcases/span/01_link/links_with_angle_brackets.html +3 -0
- data/test/testcases/span/01_link/links_with_angle_brackets.text +3 -0
- data/test/testcases/span/01_link/reference.html +32 -0
- data/test/testcases/span/01_link/reference.text +42 -0
- data/test/testcases/span/02_emphasis/empty.html +3 -0
- data/test/testcases/span/02_emphasis/empty.text +3 -0
- data/test/testcases/span/02_emphasis/errors.html +9 -0
- data/test/testcases/span/02_emphasis/errors.text +9 -0
- data/test/testcases/span/02_emphasis/nesting.html +34 -0
- data/test/testcases/span/02_emphasis/nesting.text +30 -0
- data/test/testcases/span/02_emphasis/normal.html +42 -0
- data/test/testcases/span/02_emphasis/normal.text +42 -0
- data/test/testcases/span/03_codespan/empty.html +5 -0
- data/test/testcases/span/03_codespan/empty.text +5 -0
- data/test/testcases/span/03_codespan/errors.html +1 -0
- data/test/testcases/span/03_codespan/errors.text +1 -0
- data/test/testcases/span/03_codespan/normal.html +16 -0
- data/test/testcases/span/03_codespan/normal.text +16 -0
- data/test/testcases/span/04_footnote/definitions.html +14 -0
- data/test/testcases/span/04_footnote/definitions.text +18 -0
- data/test/testcases/span/04_footnote/footnote_nr.html +12 -0
- data/test/testcases/span/04_footnote/footnote_nr.options +1 -0
- data/test/testcases/span/04_footnote/footnote_nr.text +4 -0
- data/test/testcases/span/04_footnote/markers.html +46 -0
- data/test/testcases/span/04_footnote/markers.text +26 -0
- data/test/testcases/span/05_html/normal.html +17 -0
- data/test/testcases/span/05_html/normal.text +17 -0
- data/test/testcases/span/autolinks/url_links.html +9 -0
- data/test/testcases/span/autolinks/url_links.text +9 -0
- data/test/testcases/span/escaped_chars/normal.html +33 -0
- data/test/testcases/span/escaped_chars/normal.text +33 -0
- data/test/testcases/span/ial/simple.html +5 -0
- data/test/testcases/span/ial/simple.text +5 -0
- data/test/testcases/span/line_breaks/normal.html +11 -0
- data/test/testcases/span/line_breaks/normal.text +11 -0
- data/test/testcases/span/text_substitutions/entities.html +4 -0
- data/test/testcases/span/text_substitutions/entities.text +4 -0
- data/test/testcases/span/text_substitutions/greaterthan.html +1 -0
- data/test/testcases/span/text_substitutions/greaterthan.text +1 -0
- data/test/testcases/span/text_substitutions/lowerthan.html +1 -0
- data/test/testcases/span/text_substitutions/lowerthan.text +1 -0
- data/test/testcases/span/text_substitutions/typography.html +3 -0
- data/test/testcases/span/text_substitutions/typography.text +3 -0
- metadata +259 -0
@@ -0,0 +1 @@
|
|
1
|
+
<p>Not ended `span.</p>
|
@@ -0,0 +1 @@
|
|
1
|
+
Not ended `span.
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<p>This is <code>a</code> simple span.</p>
|
2
|
+
|
3
|
+
<p>With <code>some<ht>&ml</code> in it.</p>
|
4
|
+
|
5
|
+
<p>And <code>`</code> backticks.</p>
|
6
|
+
|
7
|
+
<p>And <code>``some``</code> more.</p>
|
8
|
+
|
9
|
+
<p>With backslash <code>in\</code> it.</p>
|
10
|
+
|
11
|
+
<p>This is a ` literal backtick.
|
12
|
+
As `are` these!</p>
|
13
|
+
|
14
|
+
<p>No <code>literal backtick</code>.</p>
|
15
|
+
|
16
|
+
<p><code>something</code></p>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
Some para.
|
2
|
+
[^footnote]: ignored definition
|
3
|
+
[^footnote]: Some footnote text
|
4
|
+
> blockquote
|
5
|
+
[^other]: some
|
6
|
+
foot
|
7
|
+
|
8
|
+
note text
|
9
|
+
|
10
|
+
* a list
|
11
|
+
with some text
|
12
|
+
[^tnote]: foot note
|
13
|
+
* other list
|
14
|
+
^
|
15
|
+
code
|
16
|
+
[^1]:
|
17
|
+
> a blockquote
|
18
|
+
and some para
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<p>This is a footnote<sup id="fnref:ab"><a href="#fn:ab" rel="footnote">35</a></sup>. And another<sup id="fnref:bc"><a href="#fn:bc" rel="footnote">36</a></sup>.</p>
|
2
|
+
|
3
|
+
<div class="kramdown-footnotes">
|
4
|
+
<ol start="35">
|
5
|
+
<li id="fn:ab">
|
6
|
+
<p>Some text.<a href="#fnref:ab" rev="footnote">↩</a></p>
|
7
|
+
</li>
|
8
|
+
<li id="fn:bc">
|
9
|
+
<p>Some other text.<a href="#fnref:bc" rev="footnote">↩</a></p>
|
10
|
+
</li>
|
11
|
+
</ol>
|
12
|
+
</div>
|
@@ -0,0 +1 @@
|
|
1
|
+
:footnote_nr: 35
|
@@ -0,0 +1,46 @@
|
|
1
|
+
<p>This is some *ref.<sup id="fnref:fn"><a href="#fn:fn" rel="footnote">1</a></sup></p>
|
2
|
+
|
3
|
+
<blockquote>
|
4
|
+
<p>a blockquote <sup id="fnref:3"><a href="#fn:3" rel="footnote">2</a></sup></p>
|
5
|
+
</blockquote>
|
6
|
+
|
7
|
+
<ul>
|
8
|
+
<li>and a list item <sup id="fnref:1"><a href="#fn:1" rel="footnote">3</a></sup></li>
|
9
|
+
</ul>
|
10
|
+
|
11
|
+
<h1>And a header<sup id="fnref:now"><a href="#fn:now" rel="footnote">4</a></sup></h1>
|
12
|
+
|
13
|
+
<p>A marker without a definition [^without].</p>
|
14
|
+
|
15
|
+
<p>A marker <sup id="fnref:empty"><a href="#fn:empty" rel="footnote">5</a></sup> used twice[^fn].</p>
|
16
|
+
|
17
|
+
<div class="kramdown-footnotes">
|
18
|
+
<ol>
|
19
|
+
<li id="fn:fn">
|
20
|
+
<p>Some foot note text<a href="#fnref:fn" rev="footnote">↩</a></p>
|
21
|
+
</li>
|
22
|
+
<li id="fn:3">
|
23
|
+
<p>other text
|
24
|
+
with more lines</p>
|
25
|
+
|
26
|
+
<blockquote>
|
27
|
+
<p>and a quote</p>
|
28
|
+
</blockquote>
|
29
|
+
<p><a href="#fnref:3" rev="footnote">↩</a></p>
|
30
|
+
</li>
|
31
|
+
<li id="fn:1">
|
32
|
+
<p>some <em>text</em><a href="#fnref:1" rev="footnote">↩</a></p>
|
33
|
+
</li>
|
34
|
+
<li id="fn:now">
|
35
|
+
|
36
|
+
<pre><code>code block
|
37
|
+
continued here
|
38
|
+
</code></pre>
|
39
|
+
<p><a href="#fnref:now" rev="footnote">↩</a></p>
|
40
|
+
</li>
|
41
|
+
<li id="fn:empty">
|
42
|
+
|
43
|
+
<p><a href="#fnref:empty" rev="footnote">↩</a></p>
|
44
|
+
</li>
|
45
|
+
</ol>
|
46
|
+
</div>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
This is some *ref.[^fn]
|
2
|
+
|
3
|
+
[^fn]: Some foot note text
|
4
|
+
|
5
|
+
> a blockquote [^3]
|
6
|
+
|
7
|
+
* and a list item [^1]
|
8
|
+
|
9
|
+
# And a header[^now]
|
10
|
+
|
11
|
+
[^1]:some *text*
|
12
|
+
[^3]: other text
|
13
|
+
with more lines
|
14
|
+
|
15
|
+
> and a quote
|
16
|
+
|
17
|
+
A marker without a definition [^without].
|
18
|
+
|
19
|
+
A marker [^empty] used twice[^fn].
|
20
|
+
|
21
|
+
[^now]:
|
22
|
+
|
23
|
+
code block
|
24
|
+
continued here
|
25
|
+
|
26
|
+
[^empty]:
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<p><a href="test">title</a> is a title.</p>
|
2
|
+
|
3
|
+
<p>This is <? a PI ?>.</p>
|
4
|
+
|
5
|
+
<p>This is <!-- a --> comment.</p>
|
6
|
+
|
7
|
+
<p>This is <!-- a
|
8
|
+
--> multiline comment.</p>
|
9
|
+
|
10
|
+
<p>This is <span>tag
|
11
|
+
now </span>.</p>
|
12
|
+
|
13
|
+
<p>This is <em>something<span test="do_it" /> strange</em>.</p>
|
14
|
+
|
15
|
+
<p>An invalid tag: <hr></p>
|
16
|
+
|
17
|
+
<p>An invalid </closing> tag.</p>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<a href="test">title</a> is a title.
|
2
|
+
|
3
|
+
This is <? a PI ?>.
|
4
|
+
|
5
|
+
This is <!-- a --> comment.
|
6
|
+
|
7
|
+
This is <!-- a
|
8
|
+
--> multiline comment.
|
9
|
+
|
10
|
+
This is <span>tag
|
11
|
+
now </span>.
|
12
|
+
|
13
|
+
This is _something<span test="do_it" /> strange_.
|
14
|
+
|
15
|
+
An invalid tag: <hr>
|
16
|
+
|
17
|
+
An invalid </closing> tag.
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<p>This should be a <a href="http://www.example.com/">http://www.example.com/</a> link.
|
2
|
+
This should be a <a href="mailto:john.doe@example.com">john.doe@example.com</a> link.
|
3
|
+
As should <a href="mailto:john.doe@example.com">john.doe@example.com</a> this.
|
4
|
+
Another ampersand <a href="http://www.example.com/?doit&x=y">http://www.example.com/?doit&x=y</a> link.
|
5
|
+
More entities <a href="http://www.example.com/?doit&x="y&z=y">http://www.example.com/?doit&x="y&z=y</a>.</p>
|
6
|
+
|
7
|
+
<p>Autolink with underscore: <a href="http://www.example.com/with_under_score">http://www.example.com/with_under_score</a></p>
|
8
|
+
|
9
|
+
<p><a href="http://www.example.com/">http://www.example.com/</a></p>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
This should be a <http://www.example.com/> link.
|
2
|
+
This should be a <mailto:john.doe@example.com> link.
|
3
|
+
As should <john.doe@example.com> this.
|
4
|
+
Another ampersand <http://www.example.com/?doit&x=y> link.
|
5
|
+
More entities <http://www.example.com/?doit&x="y&z=y>.
|
6
|
+
|
7
|
+
Autolink with underscore: <http://www.example.com/with_under_score>
|
8
|
+
|
9
|
+
<http://www.example.com/>
|
@@ -0,0 +1,33 @@
|
|
1
|
+
<p>\</p>
|
2
|
+
|
3
|
+
<p>.</p>
|
4
|
+
|
5
|
+
<p>*</p>
|
6
|
+
|
7
|
+
<p>_</p>
|
8
|
+
|
9
|
+
<p>+</p>
|
10
|
+
|
11
|
+
<p>-</p>
|
12
|
+
|
13
|
+
<p>`</p>
|
14
|
+
|
15
|
+
<p>(</p>
|
16
|
+
|
17
|
+
<p>)</p>
|
18
|
+
|
19
|
+
<p>[</p>
|
20
|
+
|
21
|
+
<p>]</p>
|
22
|
+
|
23
|
+
<p>{</p>
|
24
|
+
|
25
|
+
<p>}</p>
|
26
|
+
|
27
|
+
<p>#</p>
|
28
|
+
|
29
|
+
<p>!</p>
|
30
|
+
|
31
|
+
<p><<</p>
|
32
|
+
|
33
|
+
<p>>></p>
|
@@ -0,0 +1 @@
|
|
1
|
+
<p>2 > 1 > 0</p>
|
@@ -0,0 +1 @@
|
|
1
|
+
2 > 1 > 0
|
@@ -0,0 +1 @@
|
|
1
|
+
<p>0 < 1 < 2</p>
|
@@ -0,0 +1 @@
|
|
1
|
+
0 < 1 < 2
|
metadata
ADDED
@@ -0,0 +1,259 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kramdown
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Thomas Leitner
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-11-21 00:00:00 +01:00
|
13
|
+
default_executable: kramdown
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: |
|
17
|
+
kramdown is yet-another-markdown-parser but fast, pure Ruby,
|
18
|
+
using a strict syntax definition and supporting several common extensions.
|
19
|
+
|
20
|
+
email: t_leitner@gmx.at
|
21
|
+
executables:
|
22
|
+
- kramdown
|
23
|
+
extensions: []
|
24
|
+
|
25
|
+
extra_rdoc_files: []
|
26
|
+
|
27
|
+
files:
|
28
|
+
- Rakefile
|
29
|
+
- setup.rb
|
30
|
+
- COPYING
|
31
|
+
- GPL
|
32
|
+
- README
|
33
|
+
- AUTHORS
|
34
|
+
- VERSION
|
35
|
+
- ChangeLog
|
36
|
+
- bin/kramdown
|
37
|
+
- benchmark/benchmark.rb
|
38
|
+
- benchmark/mdbasics.text
|
39
|
+
- benchmark/mdsyntax.text
|
40
|
+
- benchmark/testing.sh
|
41
|
+
- benchmark/timing.sh
|
42
|
+
- lib/kramdown/converter.rb
|
43
|
+
- lib/kramdown/document.rb
|
44
|
+
- lib/kramdown/error.rb
|
45
|
+
- lib/kramdown/extension.rb
|
46
|
+
- lib/kramdown/parser/registry.rb
|
47
|
+
- lib/kramdown/parser.rb
|
48
|
+
- lib/kramdown.rb
|
49
|
+
- doc/default.css
|
50
|
+
- doc/default.template
|
51
|
+
- doc/index.page
|
52
|
+
- doc/installation.page
|
53
|
+
- doc/news.feed
|
54
|
+
- doc/news.page
|
55
|
+
- doc/quickref.page
|
56
|
+
- doc/syntax.page
|
57
|
+
- doc/tests.page
|
58
|
+
- doc/virtual
|
59
|
+
- test/run_tests.rb
|
60
|
+
- test/test_files.rb
|
61
|
+
- test/testcases/block/01_blank_line/spaces.html
|
62
|
+
- test/testcases/block/01_blank_line/spaces.text
|
63
|
+
- test/testcases/block/01_blank_line/tabs.html
|
64
|
+
- test/testcases/block/01_blank_line/tabs.text
|
65
|
+
- test/testcases/block/02_eob/beginning.html
|
66
|
+
- test/testcases/block/02_eob/beginning.text
|
67
|
+
- test/testcases/block/02_eob/end.html
|
68
|
+
- test/testcases/block/02_eob/end.text
|
69
|
+
- test/testcases/block/02_eob/middle.html
|
70
|
+
- test/testcases/block/02_eob/middle.text
|
71
|
+
- test/testcases/block/03_paragraph/indented.html
|
72
|
+
- test/testcases/block/03_paragraph/indented.text
|
73
|
+
- test/testcases/block/03_paragraph/no_newline_at_end.html
|
74
|
+
- test/testcases/block/03_paragraph/no_newline_at_end.text
|
75
|
+
- test/testcases/block/03_paragraph/one_para.html
|
76
|
+
- test/testcases/block/03_paragraph/one_para.text
|
77
|
+
- test/testcases/block/03_paragraph/two_para.html
|
78
|
+
- test/testcases/block/03_paragraph/two_para.text
|
79
|
+
- test/testcases/block/04_header/atx_header.html
|
80
|
+
- test/testcases/block/04_header/atx_header.text
|
81
|
+
- test/testcases/block/04_header/atx_header_no_newline_at_end.html
|
82
|
+
- test/testcases/block/04_header/atx_header_no_newline_at_end.text
|
83
|
+
- test/testcases/block/04_header/setext_header.html
|
84
|
+
- test/testcases/block/04_header/setext_header.text
|
85
|
+
- test/testcases/block/04_header/setext_header_no_newline_at_end.html
|
86
|
+
- test/testcases/block/04_header/setext_header_no_newline_at_end.text
|
87
|
+
- test/testcases/block/04_header/with_auto_ids.html
|
88
|
+
- test/testcases/block/04_header/with_auto_ids.options
|
89
|
+
- test/testcases/block/04_header/with_auto_ids.text
|
90
|
+
- test/testcases/block/05_blockquote/indented.html
|
91
|
+
- test/testcases/block/05_blockquote/indented.text
|
92
|
+
- test/testcases/block/05_blockquote/nested.html
|
93
|
+
- test/testcases/block/05_blockquote/nested.text
|
94
|
+
- test/testcases/block/05_blockquote/no_newline_at_end.html
|
95
|
+
- test/testcases/block/05_blockquote/no_newline_at_end.text
|
96
|
+
- test/testcases/block/05_blockquote/only_first_quoted.html
|
97
|
+
- test/testcases/block/05_blockquote/only_first_quoted.text
|
98
|
+
- test/testcases/block/05_blockquote/with_code_blocks.html
|
99
|
+
- test/testcases/block/05_blockquote/with_code_blocks.text
|
100
|
+
- test/testcases/block/06_codeblock/error.html
|
101
|
+
- test/testcases/block/06_codeblock/error.text
|
102
|
+
- test/testcases/block/06_codeblock/no_newline_at_end.html
|
103
|
+
- test/testcases/block/06_codeblock/no_newline_at_end.text
|
104
|
+
- test/testcases/block/06_codeblock/normal.html
|
105
|
+
- test/testcases/block/06_codeblock/normal.text
|
106
|
+
- test/testcases/block/06_codeblock/tilde_syntax.html
|
107
|
+
- test/testcases/block/06_codeblock/tilde_syntax.text
|
108
|
+
- test/testcases/block/06_codeblock/whitespace.html
|
109
|
+
- test/testcases/block/06_codeblock/whitespace.text
|
110
|
+
- test/testcases/block/06_codeblock/with_blank_line.html
|
111
|
+
- test/testcases/block/06_codeblock/with_blank_line.text
|
112
|
+
- test/testcases/block/06_codeblock/with_eob_marker.html
|
113
|
+
- test/testcases/block/06_codeblock/with_eob_marker.text
|
114
|
+
- test/testcases/block/07_horizontal_rule/error.html
|
115
|
+
- test/testcases/block/07_horizontal_rule/error.text
|
116
|
+
- test/testcases/block/07_horizontal_rule/normal.html
|
117
|
+
- test/testcases/block/07_horizontal_rule/normal.text
|
118
|
+
- test/testcases/block/08_list/escaping.html
|
119
|
+
- test/testcases/block/08_list/escaping.text
|
120
|
+
- test/testcases/block/08_list/list_and_hr.html
|
121
|
+
- test/testcases/block/08_list/list_and_hr.text
|
122
|
+
- test/testcases/block/08_list/list_and_others.html
|
123
|
+
- test/testcases/block/08_list/list_and_others.text
|
124
|
+
- test/testcases/block/08_list/mixed.html
|
125
|
+
- test/testcases/block/08_list/mixed.text
|
126
|
+
- test/testcases/block/08_list/nested.html
|
127
|
+
- test/testcases/block/08_list/nested.text
|
128
|
+
- test/testcases/block/08_list/other_first_element.html
|
129
|
+
- test/testcases/block/08_list/other_first_element.text
|
130
|
+
- test/testcases/block/08_list/simple_ol.html
|
131
|
+
- test/testcases/block/08_list/simple_ol.text
|
132
|
+
- test/testcases/block/08_list/simple_ul.html
|
133
|
+
- test/testcases/block/08_list/simple_ul.text
|
134
|
+
- test/testcases/block/08_list/single_item.html
|
135
|
+
- test/testcases/block/08_list/single_item.text
|
136
|
+
- test/testcases/block/08_list/special_cases.html
|
137
|
+
- test/testcases/block/08_list/special_cases.text
|
138
|
+
- test/testcases/block/09_html/auto_parse_block_html.html
|
139
|
+
- test/testcases/block/09_html/auto_parse_block_html.options
|
140
|
+
- test/testcases/block/09_html/auto_parse_block_html.text
|
141
|
+
- test/testcases/block/09_html/comment.html
|
142
|
+
- test/testcases/block/09_html/comment.text
|
143
|
+
- test/testcases/block/09_html/filtered_html.html
|
144
|
+
- test/testcases/block/09_html/filtered_html.options
|
145
|
+
- test/testcases/block/09_html/filtered_html.text
|
146
|
+
- test/testcases/block/09_html/html_and_codeblocks.html
|
147
|
+
- test/testcases/block/09_html/html_and_codeblocks.options
|
148
|
+
- test/testcases/block/09_html/html_and_codeblocks.text
|
149
|
+
- test/testcases/block/09_html/invalid_html_1.html
|
150
|
+
- test/testcases/block/09_html/invalid_html_1.text
|
151
|
+
- test/testcases/block/09_html/invalid_html_2.html
|
152
|
+
- test/testcases/block/09_html/invalid_html_2.text
|
153
|
+
- test/testcases/block/09_html/parse_as_raw.html
|
154
|
+
- test/testcases/block/09_html/parse_as_raw.text
|
155
|
+
- test/testcases/block/09_html/parse_as_span.html
|
156
|
+
- test/testcases/block/09_html/parse_as_span.text
|
157
|
+
- test/testcases/block/09_html/processing_instruction.html
|
158
|
+
- test/testcases/block/09_html/processing_instruction.text
|
159
|
+
- test/testcases/block/09_html/simple.html
|
160
|
+
- test/testcases/block/09_html/simple.text
|
161
|
+
- test/testcases/block/10_ald/simple.html
|
162
|
+
- test/testcases/block/10_ald/simple.text
|
163
|
+
- test/testcases/block/11_ial/simple.html
|
164
|
+
- test/testcases/block/11_ial/simple.text
|
165
|
+
- test/testcases/block/12_extension/comment.html
|
166
|
+
- test/testcases/block/12_extension/comment.text
|
167
|
+
- test/testcases/block/12_extension/ignored.html
|
168
|
+
- test/testcases/block/12_extension/ignored.text
|
169
|
+
- test/testcases/block/12_extension/kdoptions.html
|
170
|
+
- test/testcases/block/12_extension/kdoptions.text
|
171
|
+
- test/testcases/block/12_extension/kdoptions2.html
|
172
|
+
- test/testcases/block/12_extension/kdoptions2.text
|
173
|
+
- test/testcases/block/12_extension/nokramdown.html
|
174
|
+
- test/testcases/block/12_extension/nokramdown.text
|
175
|
+
- test/testcases/span/01_link/empty.html
|
176
|
+
- test/testcases/span/01_link/empty.text
|
177
|
+
- test/testcases/span/01_link/image_in_a.html
|
178
|
+
- test/testcases/span/01_link/image_in_a.text
|
179
|
+
- test/testcases/span/01_link/imagelinks.html
|
180
|
+
- test/testcases/span/01_link/imagelinks.text
|
181
|
+
- test/testcases/span/01_link/inline.html
|
182
|
+
- test/testcases/span/01_link/inline.text
|
183
|
+
- test/testcases/span/01_link/link_defs.html
|
184
|
+
- test/testcases/span/01_link/link_defs.text
|
185
|
+
- test/testcases/span/01_link/links_with_angle_brackets.html
|
186
|
+
- test/testcases/span/01_link/links_with_angle_brackets.text
|
187
|
+
- test/testcases/span/01_link/reference.html
|
188
|
+
- test/testcases/span/01_link/reference.text
|
189
|
+
- test/testcases/span/02_emphasis/empty.html
|
190
|
+
- test/testcases/span/02_emphasis/empty.text
|
191
|
+
- test/testcases/span/02_emphasis/errors.html
|
192
|
+
- test/testcases/span/02_emphasis/errors.text
|
193
|
+
- test/testcases/span/02_emphasis/nesting.html
|
194
|
+
- test/testcases/span/02_emphasis/nesting.text
|
195
|
+
- test/testcases/span/02_emphasis/normal.html
|
196
|
+
- test/testcases/span/02_emphasis/normal.text
|
197
|
+
- test/testcases/span/03_codespan/empty.html
|
198
|
+
- test/testcases/span/03_codespan/empty.text
|
199
|
+
- test/testcases/span/03_codespan/errors.html
|
200
|
+
- test/testcases/span/03_codespan/errors.text
|
201
|
+
- test/testcases/span/03_codespan/normal.html
|
202
|
+
- test/testcases/span/03_codespan/normal.text
|
203
|
+
- test/testcases/span/04_footnote/definitions.html
|
204
|
+
- test/testcases/span/04_footnote/definitions.text
|
205
|
+
- test/testcases/span/04_footnote/footnote_nr.html
|
206
|
+
- test/testcases/span/04_footnote/footnote_nr.options
|
207
|
+
- test/testcases/span/04_footnote/footnote_nr.text
|
208
|
+
- test/testcases/span/04_footnote/markers.html
|
209
|
+
- test/testcases/span/04_footnote/markers.text
|
210
|
+
- test/testcases/span/05_html/normal.html
|
211
|
+
- test/testcases/span/05_html/normal.text
|
212
|
+
- test/testcases/span/autolinks/url_links.html
|
213
|
+
- test/testcases/span/autolinks/url_links.text
|
214
|
+
- test/testcases/span/escaped_chars/normal.html
|
215
|
+
- test/testcases/span/escaped_chars/normal.text
|
216
|
+
- test/testcases/span/ial/simple.html
|
217
|
+
- test/testcases/span/ial/simple.text
|
218
|
+
- test/testcases/span/line_breaks/normal.html
|
219
|
+
- test/testcases/span/line_breaks/normal.text
|
220
|
+
- test/testcases/span/text_substitutions/entities.html
|
221
|
+
- test/testcases/span/text_substitutions/entities.text
|
222
|
+
- test/testcases/span/text_substitutions/greaterthan.html
|
223
|
+
- test/testcases/span/text_substitutions/greaterthan.text
|
224
|
+
- test/testcases/span/text_substitutions/lowerthan.html
|
225
|
+
- test/testcases/span/text_substitutions/lowerthan.text
|
226
|
+
- test/testcases/span/text_substitutions/typography.html
|
227
|
+
- test/testcases/span/text_substitutions/typography.text
|
228
|
+
has_rdoc: true
|
229
|
+
homepage: http://kramdown.rubyforge.org
|
230
|
+
licenses: []
|
231
|
+
|
232
|
+
post_install_message:
|
233
|
+
rdoc_options:
|
234
|
+
- --line-numbers
|
235
|
+
- --main
|
236
|
+
- Kramdown
|
237
|
+
require_paths:
|
238
|
+
- lib
|
239
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: "0"
|
244
|
+
version:
|
245
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
246
|
+
requirements:
|
247
|
+
- - ">="
|
248
|
+
- !ruby/object:Gem::Version
|
249
|
+
version: "0"
|
250
|
+
version:
|
251
|
+
requirements: []
|
252
|
+
|
253
|
+
rubyforge_project: kramdown
|
254
|
+
rubygems_version: 1.3.5
|
255
|
+
signing_key:
|
256
|
+
specification_version: 3
|
257
|
+
summary: kramdown is a fast, pure-Ruby converter for Markdown-like markup.
|
258
|
+
test_files: []
|
259
|
+
|