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.

Files changed (87) hide show
  1. data/COPYING +1 -1
  2. data/ChangeLog +423 -1
  3. data/Rakefile +5 -5
  4. data/VERSION +1 -1
  5. data/doc/default.template +4 -4
  6. data/doc/index.page +5 -4
  7. data/doc/news.feed +1 -1
  8. data/doc/quickref.page +72 -25
  9. data/doc/syntax.page +238 -66
  10. data/doc/tests.page +2 -3
  11. data/lib/kramdown/converter.rb +41 -10
  12. data/lib/kramdown/deprecated.rb +41 -0
  13. data/lib/kramdown/document.rb +17 -8
  14. data/lib/kramdown/extension.rb +13 -7
  15. data/lib/kramdown/parser.rb +263 -95
  16. data/lib/kramdown/version.rb +28 -0
  17. data/test/run_tests.rb +1 -1
  18. data/test/test_files.rb +1 -1
  19. data/test/testcases/block/02_eob/middle.html +1 -0
  20. data/test/testcases/block/04_header/atx_header.html +8 -0
  21. data/test/testcases/block/04_header/atx_header.text +8 -0
  22. data/test/testcases/block/04_header/setext_header.html +6 -0
  23. data/test/testcases/block/04_header/setext_header.text +9 -0
  24. data/test/testcases/block/07_horizontal_rule/sepspaces.html +3 -0
  25. data/test/testcases/block/07_horizontal_rule/sepspaces.text +3 -0
  26. data/test/testcases/block/07_horizontal_rule/septabs.html +3 -0
  27. data/test/testcases/block/07_horizontal_rule/septabs.text +3 -0
  28. data/test/testcases/block/09_html/content_model/deflists.html +6 -0
  29. data/test/testcases/block/09_html/content_model/deflists.options +1 -0
  30. data/test/testcases/block/09_html/content_model/deflists.text +6 -0
  31. data/test/testcases/block/09_html/content_model/tables.html +14 -0
  32. data/test/testcases/block/09_html/content_model/tables.options +1 -0
  33. data/test/testcases/block/09_html/content_model/tables.text +14 -0
  34. data/test/testcases/block/09_html/html_and_codeblocks.options +1 -1
  35. data/test/testcases/block/09_html/invalid_html_1.html +0 -2
  36. data/test/testcases/block/09_html/invalid_html_2.html +2 -3
  37. data/test/testcases/block/09_html/markdown_attr.html +38 -0
  38. data/test/testcases/block/09_html/markdown_attr.text +38 -0
  39. data/test/testcases/block/09_html/not_parsed.html +14 -0
  40. data/test/testcases/block/09_html/not_parsed.text +15 -0
  41. data/test/testcases/block/09_html/parse_as_raw.html +16 -14
  42. data/test/testcases/block/09_html/parse_as_raw.options +1 -0
  43. data/test/testcases/block/09_html/parse_as_raw.text +13 -1
  44. data/test/testcases/block/09_html/parse_as_span.html +2 -5
  45. data/test/testcases/block/09_html/parse_as_span.options +1 -0
  46. data/test/testcases/block/09_html/{auto_parse_block_html.html → parse_block_html.html} +0 -0
  47. data/test/testcases/block/09_html/parse_block_html.options +1 -0
  48. data/test/testcases/block/09_html/{auto_parse_block_html.text → parse_block_html.text} +0 -0
  49. data/test/testcases/block/09_html/simple.html +21 -30
  50. data/test/testcases/block/09_html/simple.options +1 -0
  51. data/test/testcases/block/09_html/simple.text +13 -2
  52. data/test/testcases/block/11_ial/auto_id_and_ial.html +1 -0
  53. data/test/testcases/block/11_ial/auto_id_and_ial.options +1 -0
  54. data/test/testcases/block/11_ial/auto_id_and_ial.text +2 -0
  55. data/test/testcases/block/12_extension/{nokramdown.html → nomarkdown.html} +0 -0
  56. data/test/testcases/block/12_extension/{nokramdown.text → nomarkdown.text} +4 -4
  57. data/test/testcases/block/12_extension/{kdoptions.html → options.html} +9 -0
  58. data/test/testcases/block/12_extension/options.text +28 -0
  59. data/test/testcases/block/12_extension/{kdoptions2.html → options2.html} +0 -0
  60. data/test/testcases/block/12_extension/{kdoptions2.text → options2.text} +1 -1
  61. data/test/testcases/block/13_definition_list/definition_at_beginning.html +1 -0
  62. data/test/testcases/block/13_definition_list/definition_at_beginning.text +1 -0
  63. data/test/testcases/block/13_definition_list/multiple_terms.html +13 -0
  64. data/test/testcases/block/13_definition_list/multiple_terms.text +10 -0
  65. data/test/testcases/block/13_definition_list/para_wrapping.html +10 -0
  66. data/test/testcases/block/13_definition_list/para_wrapping.text +6 -0
  67. data/test/testcases/block/13_definition_list/separated_by_eob.html +8 -0
  68. data/test/testcases/block/13_definition_list/separated_by_eob.text +5 -0
  69. data/test/testcases/block/13_definition_list/simple.html +8 -0
  70. data/test/testcases/block/13_definition_list/simple.text +7 -0
  71. data/test/testcases/block/13_definition_list/styled_terms.html +4 -0
  72. data/test/testcases/block/13_definition_list/styled_terms.text +2 -0
  73. data/test/testcases/block/13_definition_list/too_much_space.html +3 -0
  74. data/test/testcases/block/13_definition_list/too_much_space.text +4 -0
  75. data/test/testcases/block/13_definition_list/with_blocks.html +38 -0
  76. data/test/testcases/block/13_definition_list/with_blocks.text +24 -0
  77. data/test/testcases/span/05_html/across_lines.html +1 -0
  78. data/test/testcases/span/05_html/across_lines.text +2 -0
  79. data/test/testcases/span/05_html/link_with_mailto.html +1 -0
  80. data/test/testcases/span/05_html/link_with_mailto.text +1 -0
  81. data/test/testcases/span/05_html/markdown_attr.html +5 -0
  82. data/test/testcases/span/05_html/markdown_attr.text +5 -0
  83. data/test/testcases/span/05_html/normal.html +7 -0
  84. data/test/testcases/span/05_html/normal.text +7 -0
  85. metadata +56 -12
  86. data/test/testcases/block/09_html/auto_parse_block_html.options +0 -1
  87. 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.