kramdown 0.1.0 → 0.2.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/COPYING +1 -1
- data/ChangeLog +423 -1
- data/Rakefile +5 -5
- data/VERSION +1 -1
- data/doc/default.template +4 -4
- data/doc/index.page +5 -4
- data/doc/news.feed +1 -1
- data/doc/quickref.page +72 -25
- data/doc/syntax.page +238 -66
- data/doc/tests.page +2 -3
- data/lib/kramdown/converter.rb +41 -10
- data/lib/kramdown/deprecated.rb +41 -0
- data/lib/kramdown/document.rb +17 -8
- data/lib/kramdown/extension.rb +13 -7
- data/lib/kramdown/parser.rb +263 -95
- data/lib/kramdown/version.rb +28 -0
- data/test/run_tests.rb +1 -1
- data/test/test_files.rb +1 -1
- data/test/testcases/block/02_eob/middle.html +1 -0
- data/test/testcases/block/04_header/atx_header.html +8 -0
- data/test/testcases/block/04_header/atx_header.text +8 -0
- data/test/testcases/block/04_header/setext_header.html +6 -0
- data/test/testcases/block/04_header/setext_header.text +9 -0
- data/test/testcases/block/07_horizontal_rule/sepspaces.html +3 -0
- data/test/testcases/block/07_horizontal_rule/sepspaces.text +3 -0
- data/test/testcases/block/07_horizontal_rule/septabs.html +3 -0
- data/test/testcases/block/07_horizontal_rule/septabs.text +3 -0
- data/test/testcases/block/09_html/content_model/deflists.html +6 -0
- data/test/testcases/block/09_html/content_model/deflists.options +1 -0
- data/test/testcases/block/09_html/content_model/deflists.text +6 -0
- data/test/testcases/block/09_html/content_model/tables.html +14 -0
- data/test/testcases/block/09_html/content_model/tables.options +1 -0
- data/test/testcases/block/09_html/content_model/tables.text +14 -0
- data/test/testcases/block/09_html/html_and_codeblocks.options +1 -1
- data/test/testcases/block/09_html/invalid_html_1.html +0 -2
- data/test/testcases/block/09_html/invalid_html_2.html +2 -3
- data/test/testcases/block/09_html/markdown_attr.html +38 -0
- data/test/testcases/block/09_html/markdown_attr.text +38 -0
- data/test/testcases/block/09_html/not_parsed.html +14 -0
- data/test/testcases/block/09_html/not_parsed.text +15 -0
- data/test/testcases/block/09_html/parse_as_raw.html +16 -14
- data/test/testcases/block/09_html/parse_as_raw.options +1 -0
- data/test/testcases/block/09_html/parse_as_raw.text +13 -1
- data/test/testcases/block/09_html/parse_as_span.html +2 -5
- data/test/testcases/block/09_html/parse_as_span.options +1 -0
- data/test/testcases/block/09_html/{auto_parse_block_html.html → parse_block_html.html} +0 -0
- data/test/testcases/block/09_html/parse_block_html.options +1 -0
- data/test/testcases/block/09_html/{auto_parse_block_html.text → parse_block_html.text} +0 -0
- data/test/testcases/block/09_html/simple.html +21 -30
- data/test/testcases/block/09_html/simple.options +1 -0
- data/test/testcases/block/09_html/simple.text +13 -2
- data/test/testcases/block/11_ial/auto_id_and_ial.html +1 -0
- data/test/testcases/block/11_ial/auto_id_and_ial.options +1 -0
- data/test/testcases/block/11_ial/auto_id_and_ial.text +2 -0
- data/test/testcases/block/12_extension/{nokramdown.html → nomarkdown.html} +0 -0
- data/test/testcases/block/12_extension/{nokramdown.text → nomarkdown.text} +4 -4
- data/test/testcases/block/12_extension/{kdoptions.html → options.html} +9 -0
- data/test/testcases/block/12_extension/options.text +28 -0
- data/test/testcases/block/12_extension/{kdoptions2.html → options2.html} +0 -0
- data/test/testcases/block/12_extension/{kdoptions2.text → options2.text} +1 -1
- data/test/testcases/block/13_definition_list/definition_at_beginning.html +1 -0
- data/test/testcases/block/13_definition_list/definition_at_beginning.text +1 -0
- data/test/testcases/block/13_definition_list/multiple_terms.html +13 -0
- data/test/testcases/block/13_definition_list/multiple_terms.text +10 -0
- data/test/testcases/block/13_definition_list/para_wrapping.html +10 -0
- data/test/testcases/block/13_definition_list/para_wrapping.text +6 -0
- data/test/testcases/block/13_definition_list/separated_by_eob.html +8 -0
- data/test/testcases/block/13_definition_list/separated_by_eob.text +5 -0
- data/test/testcases/block/13_definition_list/simple.html +8 -0
- data/test/testcases/block/13_definition_list/simple.text +7 -0
- data/test/testcases/block/13_definition_list/styled_terms.html +4 -0
- data/test/testcases/block/13_definition_list/styled_terms.text +2 -0
- data/test/testcases/block/13_definition_list/too_much_space.html +3 -0
- data/test/testcases/block/13_definition_list/too_much_space.text +4 -0
- data/test/testcases/block/13_definition_list/with_blocks.html +38 -0
- data/test/testcases/block/13_definition_list/with_blocks.text +24 -0
- data/test/testcases/span/05_html/across_lines.html +1 -0
- data/test/testcases/span/05_html/across_lines.text +2 -0
- data/test/testcases/span/05_html/link_with_mailto.html +1 -0
- data/test/testcases/span/05_html/link_with_mailto.text +1 -0
- data/test/testcases/span/05_html/markdown_attr.html +5 -0
- data/test/testcases/span/05_html/markdown_attr.text +5 -0
- data/test/testcases/span/05_html/normal.html +7 -0
- data/test/testcases/span/05_html/normal.text +7 -0
- metadata +56 -12
- data/test/testcases/block/09_html/auto_parse_block_html.options +0 -1
- data/test/testcases/block/12_extension/kdoptions.text +0 -18
@@ -1 +0,0 @@
|
|
1
|
-
:auto_parse_block_html: true
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# No header id
|
2
|
-
|
3
|
-
{::kdoptions:: unusedvar="val"}
|
4
|
-
{::kdoptions:: auto_ids="true"}
|
5
|
-
|
6
|
-
# with header id
|
7
|
-
|
8
|
-
{::kdoptions:: auto_ids="false" filter_html="p em"}
|
9
|
-
|
10
|
-
<p>
|
11
|
-
This is <em>some</em> text.
|
12
|
-
</p>
|
13
|
-
|
14
|
-
{::kdoptions:: footnote_nr="10"}
|
15
|
-
|
16
|
-
Some text[^ab].
|
17
|
-
|
18
|
-
[^ab]: Some text.
|