radiantcms-couchrest_model 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1438) hide show
  1. data/CHANGELOG +390 -271
  2. data/CONTRIBUTORS +0 -27
  3. data/INSTALL +5 -0
  4. data/README +0 -21
  5. data/app/controllers/admin/layouts_controller.rb +8 -3
  6. data/app/controllers/admin/pages_controller.rb +19 -0
  7. data/app/controllers/admin/preferences_controller.rb +7 -7
  8. data/app/controllers/admin/references_controller.rb +1 -1
  9. data/app/controllers/admin/resource_controller.rb +17 -72
  10. data/app/controllers/admin/snippets_controller.rb +6 -6
  11. data/app/controllers/admin/users_controller.rb +1 -16
  12. data/app/controllers/admin/welcome_controller.rb +5 -5
  13. data/app/controllers/application_controller.rb +2 -17
  14. data/app/controllers/site_controller.rb +5 -21
  15. data/app/helpers/admin/layouts_helper.rb +0 -19
  16. data/app/helpers/admin/node_helper.rb +10 -10
  17. data/app/helpers/admin/pages_helper.rb +22 -82
  18. data/app/helpers/admin/references_helper.rb +3 -6
  19. data/app/helpers/admin/snippets_helper.rb +0 -39
  20. data/app/helpers/admin/users_helper.rb +2 -2
  21. data/app/helpers/application_helper.rb +27 -112
  22. data/app/models/layout.rb +4 -3
  23. data/app/models/page.rb +20 -35
  24. data/app/models/page_part.rb +4 -4
  25. data/app/models/radiant/config.rb +7 -11
  26. data/app/models/snippet.rb +5 -5
  27. data/app/models/standard_tags.rb +21 -311
  28. data/app/models/status.rb +1 -3
  29. data/app/models/user.rb +35 -39
  30. data/app/views/admin/extensions/index.html.haml +25 -26
  31. data/app/views/admin/layouts/_form.html.haml +25 -28
  32. data/app/views/admin/layouts/edit.html.haml +3 -5
  33. data/app/views/admin/layouts/index.html.haml +32 -31
  34. data/app/views/admin/layouts/new.html.haml +2 -4
  35. data/app/views/admin/layouts/remove.html.haml +9 -9
  36. data/app/views/admin/page_parts/_page_part.html.haml +11 -12
  37. data/app/views/admin/pages/_edit_styles.html.haml +15 -0
  38. data/app/views/admin/pages/_fields.html.haml +50 -44
  39. data/app/views/admin/pages/_meta_row.html.haml +4 -2
  40. data/app/views/admin/pages/_node.html.haml +5 -5
  41. data/app/views/admin/pages/_popups.html.haml +29 -12
  42. data/app/views/admin/pages/edit.html.haml +3 -6
  43. data/app/views/admin/pages/index.html.haml +24 -22
  44. data/app/views/admin/pages/new.html.haml +3 -4
  45. data/app/views/admin/pages/remove.html.haml +17 -14
  46. data/app/views/admin/preferences/edit.html.haml +30 -38
  47. data/app/views/admin/references/_tag_reference.haml +2 -2
  48. data/app/views/admin/references/filters.js.erb +5 -0
  49. data/app/views/admin/references/tags.js.erb +5 -0
  50. data/app/views/admin/snippets/_form.html.haml +20 -24
  51. data/app/views/admin/snippets/edit.html.haml +2 -6
  52. data/app/views/admin/snippets/index.html.haml +29 -29
  53. data/app/views/admin/snippets/new.html.haml +2 -4
  54. data/app/views/admin/snippets/remove.html.haml +11 -9
  55. data/app/views/admin/users/_form.html.haml +69 -48
  56. data/app/views/admin/users/edit.html.haml +1 -5
  57. data/app/views/admin/users/index.html.haml +30 -34
  58. data/app/views/admin/users/new.html.haml +1 -2
  59. data/app/views/admin/users/remove.html.haml +10 -8
  60. data/app/views/admin/welcome/login.html.haml +58 -19
  61. data/app/views/layouts/application.html.haml +29 -30
  62. data/config/boot.rb +1 -1
  63. data/config/database.db2.yml +1 -4
  64. data/config/database.mysql.yml +2 -5
  65. data/config/database.postgresql.yml +2 -5
  66. data/config/database.sqlite.yml +1 -4
  67. data/config/database.sqlserver.yml +2 -5
  68. data/config/environment.rb +3 -15
  69. data/config/environments/production.rb +1 -6
  70. data/config/environments/test.rb +3 -6
  71. data/config/routes.rb +2 -2
  72. data/db/migrate/20081203140407_add_indexes.rb +10 -10
  73. data/db/schema.rb +2 -3
  74. data/features/admin/content_negotiation.feature +4 -4
  75. data/features/admin/layouts_management.feature +2 -2
  76. data/features/admin/pages_management.feature +17 -31
  77. data/features/admin/snippets_management.feature +17 -19
  78. data/features/admin/user_permissions.feature +41 -49
  79. data/features/admin/user_preferences.feature +5 -22
  80. data/features/admin/users_management.feature +9 -8
  81. data/features/page_serving.feature +8 -8
  82. data/features/step_definitions/admin/admin_steps.rb +2 -8
  83. data/features/step_definitions/admin/content_negotiation_steps.rb +5 -14
  84. data/features/step_definitions/admin/pages_management_steps.rb +1 -1
  85. data/features/step_definitions/admin/users_management_steps.rb +0 -3
  86. data/features/step_definitions/page_serving_steps.rb +19 -0
  87. data/features/step_definitions/webrat_steps.rb +117 -0
  88. data/features/support/env.rb +14 -48
  89. data/features/support/paths.rb +12 -57
  90. data/lib/generators/extension/extension_generator.rb +1 -29
  91. data/lib/generators/extension/templates/RSpecRakefile +1 -14
  92. data/lib/generators/extension/templates/Rakefile +0 -17
  93. data/lib/generators/extension/templates/extension.rb +10 -10
  94. data/lib/generators/extension/templates/tasks.rake +0 -27
  95. data/lib/generators/extension/templates/test_helper.rb +1 -1
  96. data/lib/generators/instance/instance_generator.rb +2 -3
  97. data/lib/generators/instance/templates/databases/sqlserver.yml +1 -2
  98. data/lib/generators/instance/templates/instance_boot.rb +1 -1
  99. data/lib/generators/instance/templates/instance_environment.rb +2 -9
  100. data/lib/login_system.rb +17 -14
  101. data/lib/plugins/active_record_extensions/lib/active_record_extensions.rb +29 -0
  102. data/lib/radiant.rb +3 -4
  103. data/lib/radiant/admin_ui.rb +58 -114
  104. data/lib/radiant/cache.rb +0 -12
  105. data/lib/radiant/extension.rb +3 -29
  106. data/lib/radiant/extension/script.rb +17 -63
  107. data/lib/radiant/extension_loader.rb +8 -22
  108. data/lib/radiant/initializer.rb +23 -29
  109. data/lib/radiant/setup.rb +0 -1
  110. data/lib/radiant/taggable.rb +1 -2
  111. data/lib/task_support.rb +1 -26
  112. data/lib/tasks/cucumber.rake +13 -39
  113. data/lib/tasks/extensions.rake +1 -12
  114. data/lib/tasks/framework.rake +8 -43
  115. data/lib/tasks/release.rake +4 -14
  116. data/lib/tasks/rspec.rake +8 -8
  117. data/lib/tasks/undefine.rake +0 -4
  118. data/public/images/admin/add-child.png +0 -0
  119. data/public/images/admin/{brown_bottom_line.gif → brown-bottom-line.gif} +0 -0
  120. data/public/images/admin/clear-page-cache.png +0 -0
  121. data/public/images/admin/collapse.png +0 -0
  122. data/public/images/admin/expand.png +0 -0
  123. data/public/images/admin/layout.png +0 -0
  124. data/public/images/admin/{new_homepage.png → new-homepage.png} +0 -0
  125. data/public/images/admin/{new_layout.png → new-layout.png} +0 -0
  126. data/public/images/admin/{new_snippet.png → new-snippet.png} +0 -0
  127. data/public/images/admin/{new_user.png → new-user.png} +0 -0
  128. data/public/images/admin/page.png +0 -0
  129. data/public/images/admin/remove-disabled.png +0 -0
  130. data/public/images/admin/remove.png +0 -0
  131. data/public/images/admin/snippet.png +0 -0
  132. data/public/images/admin/view-site.gif +0 -0
  133. data/public/images/admin/virtual-page.png +0 -0
  134. data/public/javascripts/admin/admin.js +149 -0
  135. data/public/javascripts/admin/ruledtable.js +5 -5
  136. data/public/javascripts/admin/sitemap.js +20 -37
  137. data/public/javascripts/admin/tabcontrol.js +100 -88
  138. data/public/javascripts/application.js +2 -0
  139. data/public/javascripts/{admin/controls.js → controls.js} +76 -78
  140. data/public/javascripts/{admin/dragdrop.js → dragdrop.js} +166 -167
  141. data/public/javascripts/{admin/effects.js → effects.js} +174 -168
  142. data/public/javascripts/pngfix.js +39 -0
  143. data/public/javascripts/{admin/prototype.js → prototype.js} +1022 -1576
  144. data/public/javascripts/string.js +17 -0
  145. data/public/stylesheets/admin/main.css +588 -1161
  146. data/radiantcms-couchrest_model.gemspec +246 -970
  147. data/script/cucumber +7 -9
  148. data/spec/controllers/admin/export_controller_spec.rb +1 -1
  149. data/spec/controllers/admin/layouts_controller_spec.rb +5 -5
  150. data/spec/controllers/admin/pages_controller_spec.rb +7 -26
  151. data/spec/controllers/admin/preferences_controller_spec.rb +6 -19
  152. data/spec/controllers/admin/references_controller_spec.rb +1 -1
  153. data/spec/controllers/admin/snippets_controller_spec.rb +6 -6
  154. data/spec/controllers/admin/users_controller_spec.rb +1 -10
  155. data/spec/controllers/admin/welcome_controller_spec.rb +3 -3
  156. data/spec/controllers/application_controller_spec.rb +1 -5
  157. data/spec/controllers/site_controller_spec.rb +1 -57
  158. data/spec/datasets/pages_dataset.rb +1 -5
  159. data/spec/datasets/users_dataset.rb +10 -23
  160. data/spec/generators/extension_controller_generator_spec.rb +6 -16
  161. data/spec/generators/extension_generator_spec.rb +18 -49
  162. data/spec/generators/extension_generators_spec_helper.rb +26 -53
  163. data/spec/generators/extension_mailer_generator_spec.rb +3 -3
  164. data/spec/helpers/admin/node_helper_spec.rb +8 -8
  165. data/spec/helpers/admin/references_helper_spec.rb +4 -4
  166. data/spec/helpers/admin/users_helper_spec.rb +2 -2
  167. data/spec/helpers/application_helper_spec.rb +32 -106
  168. data/spec/lib/login_system_spec.rb +1 -1
  169. data/spec/lib/radiant/admin_ui_spec.rb +131 -30
  170. data/spec/lib/radiant/extension/script_spec.rb +12 -29
  171. data/spec/lib/radiant/extension_loader_spec.rb +7 -37
  172. data/spec/lib/radiant/extension_spec.rb +1 -32
  173. data/spec/lib/radiant/initializer_spec.rb +2 -39
  174. data/spec/lib/radiant/taggable_spec.rb +8 -10
  175. data/spec/lib/radiant_spec.rb +1 -5
  176. data/spec/lib/task_support_spec.rb +0 -45
  177. data/spec/matchers/generator_matchers.rb +147 -145
  178. data/spec/matchers/render_form_errors_matcher.rb +1 -1
  179. data/spec/matchers/render_matcher.rb +1 -14
  180. data/spec/models/layout_spec.rb +3 -3
  181. data/spec/models/page_part_spec.rb +3 -3
  182. data/spec/models/page_spec.rb +6 -41
  183. data/spec/models/radiant/config_spec.rb +2 -2
  184. data/spec/models/snippet_spec.rb +3 -3
  185. data/spec/models/standard_tags_spec.rb +26 -190
  186. data/spec/models/user_spec.rb +19 -43
  187. data/test/fixtures/extensions/{basic → 01_basic}/app/controllers/basic_extension_controller.rb +0 -0
  188. data/test/fixtures/extensions/{basic → 01_basic}/app/metal/basic_metal.rb +0 -0
  189. data/test/fixtures/extensions/{basic → 01_basic}/app/models/basic_extension_mailer.rb +0 -0
  190. data/test/fixtures/extensions/{basic → 01_basic}/app/models/basic_extension_model.rb +0 -0
  191. data/test/fixtures/extensions/{basic → 01_basic}/app/views/basic_extension/index.html.erb +0 -0
  192. data/test/fixtures/extensions/{basic → 01_basic}/app/views/basic_extension/override.html.erb +0 -0
  193. data/test/fixtures/extensions/{basic → 01_basic}/app/views/basic_extension_mailer/message.text.html.erb +0 -0
  194. data/test/fixtures/extensions/{basic → 01_basic}/basic_extension.rb +4 -3
  195. data/test/fixtures/extensions/{basic → 01_basic}/db/migrate/200812131420_create_initial_schema.rb +0 -0
  196. data/test/fixtures/extensions/{basic → 01_basic}/db/migrate/200812131421_modify_initial_schema.rb +0 -0
  197. data/test/fixtures/extensions/{basic → 01_basic}/lib/new_module.rb +0 -0
  198. data/test/fixtures/extensions/{basic → 01_basic}/vendor/plugins/multiple/init.rb +0 -0
  199. data/test/fixtures/extensions/{basic → 01_basic}/vendor/plugins/multiple/lib/multiple.rb +0 -0
  200. data/test/fixtures/extensions/{basic → 01_basic}/vendor/plugins/plugin_normal/init.rb +0 -0
  201. data/test/fixtures/extensions/{basic → 01_basic}/vendor/plugins/plugin_normal/lib/normal_plugin.rb +0 -0
  202. data/test/fixtures/extensions/{overriding → 02_overriding}/app/metal/basic_metal.rb +0 -0
  203. data/test/fixtures/extensions/{overriding → 02_overriding}/app/views/basic_extension/override.html.erb +0 -0
  204. data/test/fixtures/extensions/{overriding → 02_overriding}/overriding_extension.rb +3 -0
  205. data/test/fixtures/extensions/{overriding → 02_overriding}/vendor/plugins/multiple/init.rb +0 -0
  206. data/test/fixtures/extensions/{overriding → 02_overriding}/vendor/plugins/multiple/lib/multiple.rb +0 -0
  207. data/test/fixtures/extensions/{upgrading → 03_upgrading}/db/migrate/01_first.rb +0 -0
  208. data/test/fixtures/extensions/{upgrading → 03_upgrading}/db/migrate/02_second.rb +0 -0
  209. data/test/fixtures/extensions/{upgrading → 03_upgrading}/db/migrate/03_pending.rb +0 -0
  210. data/test/fixtures/extensions/{upgrading → 03_upgrading}/db/migrate/04_dont_run.rb +0 -0
  211. data/test/fixtures/extensions/{upgrading → 03_upgrading}/upgrading_extension.rb +0 -0
  212. data/test/fixtures/extensions/load_order_blue/load_order_blue_extension.rb +3 -0
  213. data/test/fixtures/extensions/load_order_green/load_order_green_extension.rb +3 -0
  214. data/test/fixtures/extensions/load_order_red/load_order_red_extension.rb +3 -0
  215. data/test/test_helper.rb +1 -1
  216. data/vendor/extensions/archive/app/models/archive_finder.rb +0 -5
  217. data/vendor/extensions/archive/archive_extension.rb +1 -1
  218. data/vendor/extensions/markdown_filter/README +1 -1
  219. data/vendor/extensions/markdown_filter/lib/markdown_filter.rb +1 -5
  220. data/vendor/extensions/markdown_filter/lib/markdown_tags.rb +17 -2
  221. data/vendor/extensions/{smarty_pants_filter → markdown_filter}/lib/smarty_pants_filter.rb +0 -0
  222. data/vendor/extensions/markdown_filter/lib/tasks/textile_filter_extension_tasks.rake +0 -0
  223. data/vendor/extensions/markdown_filter/markdown.html +122 -122
  224. data/vendor/extensions/markdown_filter/markdown_filter_extension.rb +12 -3
  225. data/vendor/extensions/{smarty_pants_filter → markdown_filter}/smartypants.html +47 -47
  226. data/vendor/extensions/markdown_filter/spec/models/markdown_filter_spec.rb +1 -1
  227. data/vendor/extensions/{smarty_pants_filter → markdown_filter}/spec/models/smarty_pants_filter_spec.rb +0 -0
  228. data/vendor/extensions/{smarty_pants_filter → markdown_filter}/test/unit/smarty_pants_filter_test.rb +0 -0
  229. data/vendor/extensions/markdown_filter/vendor/bluecloth/CHANGES +366 -0
  230. data/vendor/extensions/markdown_filter/vendor/bluecloth/LICENSE +340 -0
  231. data/vendor/extensions/markdown_filter/vendor/bluecloth/README +99 -0
  232. data/vendor/extensions/markdown_filter/vendor/bluecloth/bin/bluecloth +83 -0
  233. data/vendor/extensions/markdown_filter/vendor/bluecloth/install.rb +150 -0
  234. data/vendor/extensions/markdown_filter/vendor/bluecloth/lib/bluecloth.rb +1144 -0
  235. data/vendor/extensions/markdown_filter/vendor/bluecloth/test.rb +117 -0
  236. data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/00_Class.tests.rb +71 -0
  237. data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/05_Markdown.tests.rb +1527 -0
  238. data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/10_Bug.tests.rb +57 -0
  239. data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/15_Contrib.tests.rb +132 -0
  240. data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/bctestcase.rb +274 -0
  241. data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/data/antsugar.txt +34 -0
  242. data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/data/ml-announce.txt +17 -0
  243. data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/data/re-overflow.txt +67 -0
  244. data/vendor/extensions/markdown_filter/vendor/bluecloth/tests/data/re-overflow2.txt +281 -0
  245. data/vendor/extensions/markdown_filter/vendor/bluecloth/utils.rb +553 -0
  246. data/vendor/extensions/{smarty_pants_filter → markdown_filter}/vendor/rubypants/README +0 -0
  247. data/vendor/extensions/{smarty_pants_filter → markdown_filter}/vendor/rubypants/Rakefile +0 -0
  248. data/vendor/extensions/{smarty_pants_filter → markdown_filter}/vendor/rubypants/install.rb +0 -0
  249. data/vendor/extensions/{smarty_pants_filter → markdown_filter}/vendor/rubypants/rubypants.rb +0 -0
  250. data/vendor/extensions/{smarty_pants_filter → markdown_filter}/vendor/rubypants/test_rubypants.rb +0 -0
  251. data/vendor/extensions/textile_filter/textile.html +114 -114
  252. data/vendor/plugins/dataset/lib/dataset/extensions/cucumber.rb +4 -5
  253. data/vendor/plugins/dataset/lib/dataset/load.rb +10 -0
  254. data/vendor/plugins/dataset/lib/dataset/session.rb +20 -4
  255. data/vendor/plugins/dataset/lib/dataset/session_binding.rb +15 -5
  256. data/vendor/plugins/haml/FAQ +138 -0
  257. data/vendor/plugins/haml/MIT-LICENSE +1 -1
  258. data/vendor/plugins/haml/README.rdoc +319 -0
  259. data/vendor/plugins/haml/REVISION +1 -0
  260. data/vendor/plugins/haml/Rakefile +47 -286
  261. data/vendor/plugins/haml/VERSION +1 -1
  262. data/vendor/plugins/haml/extra/haml-mode.el +97 -517
  263. data/vendor/plugins/haml/extra/sass-mode.el +38 -155
  264. data/vendor/plugins/haml/init.rb +3 -13
  265. data/vendor/plugins/haml/lib/haml.rb +993 -16
  266. data/vendor/plugins/haml/lib/haml/buffer.rb +85 -147
  267. data/vendor/plugins/haml/lib/haml/engine.rb +103 -137
  268. data/vendor/plugins/haml/lib/haml/error.rb +7 -7
  269. data/vendor/plugins/haml/lib/haml/exec.rb +45 -141
  270. data/vendor/plugins/haml/lib/haml/filters.rb +44 -121
  271. data/vendor/plugins/haml/lib/haml/helpers.rb +177 -296
  272. data/vendor/plugins/haml/lib/haml/helpers/action_view_extensions.rb +39 -51
  273. data/vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb +107 -144
  274. data/vendor/plugins/haml/lib/haml/html.rb +100 -146
  275. data/vendor/plugins/haml/lib/haml/precompiler.rb +279 -531
  276. data/vendor/plugins/haml/lib/haml/template.rb +15 -60
  277. data/vendor/plugins/haml/lib/haml/template/patch.rb +2 -2
  278. data/vendor/plugins/haml/lib/haml/template/plugin.rb +6 -44
  279. data/vendor/plugins/haml/lib/haml/util.rb +6 -353
  280. data/vendor/plugins/haml/lib/haml/version.rb +24 -56
  281. data/vendor/plugins/haml/lib/sass.rb +856 -7
  282. data/vendor/plugins/haml/lib/sass/constant.rb +216 -0
  283. data/vendor/plugins/haml/lib/sass/constant/color.rb +101 -0
  284. data/vendor/plugins/haml/lib/sass/constant/literal.rb +54 -0
  285. data/vendor/plugins/haml/lib/sass/constant/nil.rb +9 -0
  286. data/vendor/plugins/haml/lib/sass/constant/number.rb +87 -0
  287. data/vendor/plugins/haml/lib/sass/constant/operation.rb +30 -0
  288. data/vendor/plugins/haml/lib/sass/constant/string.rb +22 -0
  289. data/vendor/plugins/haml/lib/sass/css.rb +161 -171
  290. data/vendor/plugins/haml/lib/sass/engine.rb +316 -365
  291. data/vendor/plugins/haml/lib/sass/error.rb +11 -33
  292. data/vendor/plugins/haml/lib/sass/plugin.rb +120 -179
  293. data/vendor/plugins/haml/lib/sass/plugin/merb.rb +16 -9
  294. data/vendor/plugins/haml/lib/sass/plugin/rails.rb +15 -16
  295. data/vendor/plugins/haml/lib/sass/tree/attr_node.rb +57 -0
  296. data/vendor/plugins/haml/lib/sass/tree/comment_node.rb +10 -74
  297. data/vendor/plugins/haml/lib/sass/tree/directive_node.rb +17 -39
  298. data/vendor/plugins/haml/lib/sass/tree/node.rb +11 -216
  299. data/vendor/plugins/haml/lib/sass/tree/rule_node.rb +51 -190
  300. data/vendor/plugins/haml/lib/sass/tree/value_node.rb +20 -0
  301. data/vendor/plugins/haml/test/haml/engine_test.rb +45 -682
  302. data/vendor/plugins/haml/test/haml/helper_test.rb +11 -120
  303. data/vendor/plugins/haml/test/haml/html2haml_test.rb +0 -60
  304. data/vendor/plugins/haml/test/haml/results/content_for_layout.xhtml +3 -0
  305. data/vendor/plugins/haml/test/haml/results/filters.xhtml +0 -2
  306. data/vendor/plugins/haml/test/haml/results/just_stuff.xhtml +3 -3
  307. data/vendor/plugins/haml/test/haml/results/list.xhtml +1 -1
  308. data/vendor/plugins/haml/test/haml/results/standard.xhtml +0 -120
  309. data/vendor/plugins/haml/test/haml/rhtml/standard.rhtml +2 -2
  310. data/vendor/plugins/haml/test/haml/template_test.rb +13 -196
  311. data/vendor/plugins/haml/test/haml/templates/content_for_layout.haml +2 -0
  312. data/vendor/plugins/haml/test/haml/templates/helpers.haml +0 -26
  313. data/vendor/plugins/haml/test/haml/templates/list.haml +1 -1
  314. data/vendor/plugins/haml/test/haml/templates/partial_layout.haml +2 -6
  315. data/vendor/plugins/haml/test/haml/templates/standard.haml +2 -2
  316. data/vendor/plugins/haml/test/haml/templates/standard_ugly.haml +2 -2
  317. data/vendor/plugins/haml/test/linked_rails.rb +2 -11
  318. data/vendor/plugins/haml/test/sass/css2sass_test.rb +24 -83
  319. data/vendor/plugins/haml/test/sass/engine_test.rb +68 -749
  320. data/vendor/plugins/haml/test/sass/plugin_test.rb +48 -130
  321. data/vendor/plugins/haml/test/sass/results/{script.css → constants.css} +4 -4
  322. data/vendor/plugins/haml/test/sass/results/subdir/subdir.css +0 -2
  323. data/vendor/plugins/haml/test/sass/templates/complex.sass +3 -0
  324. data/vendor/plugins/haml/test/sass/templates/{script.sass → constants.sass} +10 -11
  325. data/vendor/plugins/haml/test/sass/templates/import.sass +2 -2
  326. data/vendor/plugins/haml/test/sass/templates/importee.sass +2 -7
  327. data/vendor/plugins/haml/test/sass/templates/subdir/subdir.sass +2 -2
  328. data/vendor/plugins/haml/test/test_helper.rb +4 -41
  329. data/vendor/rack-cache/CHANGES +128 -0
  330. data/vendor/rack-cache/COPYING +18 -0
  331. data/vendor/rack-cache/README +110 -0
  332. data/vendor/rack-cache/Rakefile +137 -0
  333. data/vendor/rack-cache/TODO +31 -0
  334. data/vendor/rack-cache/doc/configuration.markdown +86 -0
  335. data/vendor/rack-cache/doc/faq.markdown +141 -0
  336. data/vendor/rack-cache/doc/index.markdown +118 -0
  337. data/vendor/rack-cache/doc/layout.html.erb +34 -0
  338. data/vendor/rack-cache/doc/license.markdown +24 -0
  339. data/vendor/rack-cache/doc/rack-cache.css +362 -0
  340. data/vendor/rack-cache/doc/server.ru +34 -0
  341. data/vendor/rack-cache/doc/storage.markdown +162 -0
  342. data/vendor/rack-cache/example/sinatra/app.rb +25 -0
  343. data/vendor/rack-cache/example/sinatra/views/index.erb +44 -0
  344. data/vendor/rack-cache/lib/rack/cache.rb +45 -0
  345. data/vendor/rack-cache/lib/rack/cache/cachecontrol.rb +193 -0
  346. data/vendor/rack-cache/lib/rack/cache/context.rb +233 -0
  347. data/vendor/rack-cache/lib/rack/cache/entitystore.rb +253 -0
  348. data/vendor/rack-cache/lib/rack/cache/key.rb +52 -0
  349. data/vendor/rack-cache/lib/rack/cache/metastore.rb +328 -0
  350. data/vendor/rack-cache/lib/rack/cache/options.rb +150 -0
  351. data/vendor/rack-cache/lib/rack/cache/request.rb +33 -0
  352. data/vendor/rack-cache/lib/rack/cache/response.rb +267 -0
  353. data/vendor/rack-cache/lib/rack/cache/storage.rb +49 -0
  354. data/vendor/rack-cache/rack-cache.gemspec +69 -0
  355. data/vendor/rack-cache/test/cache_test.rb +38 -0
  356. data/vendor/rack-cache/test/cachecontrol_test.rb +139 -0
  357. data/vendor/rack-cache/test/context_test.rb +727 -0
  358. data/vendor/rack-cache/test/entitystore_test.rb +189 -0
  359. data/vendor/rack-cache/test/key_test.rb +50 -0
  360. data/vendor/rack-cache/test/metastore_test.rb +263 -0
  361. data/vendor/rack-cache/test/options_test.rb +78 -0
  362. data/vendor/rack-cache/test/pony.jpg +0 -0
  363. data/vendor/rack-cache/test/request_test.rb +19 -0
  364. data/vendor/rack-cache/test/response_test.rb +178 -0
  365. data/vendor/rack-cache/test/spec_setup.rb +202 -0
  366. data/vendor/rack-cache/test/storage_test.rb +94 -0
  367. data/vendor/radius/CHANGELOG +0 -8
  368. data/vendor/radius/{QUICKSTART.rdoc → QUICKSTART} +19 -18
  369. data/vendor/radius/README +97 -0
  370. data/vendor/radius/ROADMAP +12 -0
  371. data/vendor/radius/Rakefile +86 -8
  372. data/vendor/radius/lib/radius.rb +502 -10
  373. data/vendor/radius/test/{parser_test.rb → radius_test.rb} +82 -50
  374. data/vendor/rails/actionmailer/CHANGELOG +0 -22
  375. data/vendor/rails/actionmailer/MIT-LICENSE +1 -1
  376. data/vendor/rails/actionmailer/Rakefile +1 -1
  377. data/vendor/rails/actionmailer/lib/action_mailer.rb +1 -1
  378. data/vendor/rails/actionmailer/lib/action_mailer/base.rb +2 -2
  379. data/vendor/rails/actionmailer/lib/action_mailer/quoting.rb +0 -1
  380. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail.rb +0 -1
  381. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/address.rb +38 -4
  382. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb +46 -0
  383. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/base64.rb +0 -0
  384. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/compat.rb +0 -0
  385. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/config.rb +0 -0
  386. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/core_extensions.rb +0 -0
  387. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/encode.rb +0 -9
  388. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/header.rb +2 -4
  389. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/index.rb +0 -0
  390. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/interface.rb +1 -33
  391. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/loader.rb +0 -0
  392. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/mail.rb +1 -1
  393. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/mailbox.rb +2 -3
  394. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/main.rb +0 -0
  395. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/mbox.rb +0 -0
  396. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/net.rb +1 -3
  397. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/obsolete.rb +0 -0
  398. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb +1476 -0
  399. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/port.rb +0 -0
  400. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/quoting.rb +1 -47
  401. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/require_arch.rb +0 -0
  402. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/scanner.rb +0 -0
  403. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/scanner_r.rb +1 -2
  404. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/stringio.rb +0 -0
  405. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/utils.rb +25 -50
  406. data/vendor/rails/actionmailer/lib/action_mailer/vendor/{tmail-1.2.7 → tmail-1.2.3}/tmail/version.rb +1 -1
  407. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail.rb +2 -2
  408. data/vendor/rails/actionmailer/lib/action_mailer/version.rb +1 -1
  409. data/vendor/rails/actionmailer/lib/actionmailer.rb +0 -1
  410. data/vendor/rails/actionmailer/pkg/actionmailer-3.0.pre.gem +0 -0
  411. data/vendor/rails/actionmailer/test/abstract_unit.rb +4 -4
  412. data/vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb +1 -1
  413. data/vendor/rails/actionmailer/test/mail_service_test.rb +3 -69
  414. data/vendor/rails/actionmailer/test/quoting_test.rb +4 -10
  415. data/vendor/rails/actionpack/CHANGELOG +0 -67
  416. data/vendor/rails/actionpack/MIT-LICENSE +1 -1
  417. data/vendor/rails/actionpack/README +7 -7
  418. data/vendor/rails/actionpack/Rakefile +2 -2
  419. data/vendor/rails/actionpack/lib/action_controller.rb +2 -4
  420. data/vendor/rails/actionpack/lib/action_controller/assertions/dom_assertions.rb +3 -19
  421. data/vendor/rails/actionpack/lib/action_controller/assertions/response_assertions.rb +9 -18
  422. data/vendor/rails/actionpack/lib/action_controller/assertions/selector_assertions.rb +10 -16
  423. data/vendor/rails/actionpack/lib/action_controller/base.rb +15 -15
  424. data/vendor/rails/actionpack/lib/action_controller/caching.rb +0 -1
  425. data/vendor/rails/actionpack/lib/action_controller/caching/fragments.rb +6 -6
  426. data/vendor/rails/actionpack/lib/action_controller/cookies.rb +1 -98
  427. data/vendor/rails/actionpack/lib/action_controller/failsafe.rb +0 -1
  428. data/vendor/rails/actionpack/lib/action_controller/flash.rb +0 -42
  429. data/vendor/rails/actionpack/lib/action_controller/http_authentication.rb +2 -3
  430. data/vendor/rails/actionpack/lib/action_controller/integration.rb +4 -20
  431. data/vendor/rails/actionpack/lib/action_controller/layout.rb +1 -6
  432. data/vendor/rails/actionpack/lib/action_controller/middlewares.rb +0 -2
  433. data/vendor/rails/actionpack/lib/action_controller/polymorphic_routes.rb +22 -7
  434. data/vendor/rails/actionpack/lib/action_controller/request_forgery_protection.rb +2 -6
  435. data/vendor/rails/actionpack/lib/action_controller/rescue.rb +2 -2
  436. data/vendor/rails/actionpack/lib/action_controller/response.rb +8 -6
  437. data/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb +0 -1
  438. data/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb +0 -6
  439. data/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb +0 -6
  440. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/_trace.erb +2 -2
  441. data/vendor/rails/actionpack/lib/action_controller/test_case.rb +1 -6
  442. data/vendor/rails/actionpack/lib/action_controller/test_process.rb +1 -1
  443. data/vendor/rails/actionpack/lib/action_controller/translation.rb +2 -2
  444. data/vendor/rails/actionpack/lib/action_controller/uploaded_file.rb +2 -2
  445. data/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb +1 -4
  446. data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb +1 -1
  447. data/vendor/rails/actionpack/lib/action_pack.rb +1 -1
  448. data/vendor/rails/actionpack/lib/action_pack/version.rb +1 -1
  449. data/vendor/rails/actionpack/lib/action_view.rb +4 -4
  450. data/vendor/rails/actionpack/lib/action_view/base.rb +1 -6
  451. data/vendor/rails/{activesupport/lib/active_support/core_ext/string/output_safety.rb → actionpack/lib/action_view/erb/util.rb} +1 -75
  452. data/vendor/rails/actionpack/lib/action_view/helpers.rb +0 -2
  453. data/vendor/rails/actionpack/lib/action_view/helpers/active_record_helper.rb +11 -11
  454. data/vendor/rails/actionpack/lib/action_view/helpers/asset_tag_helper.rb +2 -2
  455. data/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb +1 -1
  456. data/vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb +23 -36
  457. data/vendor/rails/actionpack/lib/action_view/helpers/debug_helper.rb +2 -2
  458. data/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb +21 -79
  459. data/vendor/rails/actionpack/lib/action_view/helpers/form_options_helper.rb +4 -3
  460. data/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb +4 -7
  461. data/vendor/rails/actionpack/lib/action_view/helpers/javascript_helper.rb +1 -1
  462. data/vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb +2 -7
  463. data/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb +2 -2
  464. data/vendor/rails/actionpack/lib/action_view/helpers/sanitize_helper.rb +2 -2
  465. data/vendor/rails/actionpack/lib/action_view/helpers/tag_helper.rb +5 -6
  466. data/vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb +5 -5
  467. data/vendor/rails/actionpack/lib/action_view/helpers/translation_helper.rb +10 -38
  468. data/vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb +10 -8
  469. data/vendor/rails/actionpack/lib/action_view/locale/en.yml +0 -3
  470. data/vendor/rails/actionpack/lib/action_view/partials.rb +1 -2
  471. data/vendor/rails/actionpack/lib/action_view/paths.rb +0 -8
  472. data/vendor/rails/actionpack/lib/action_view/renderable.rb +2 -16
  473. data/vendor/rails/actionpack/lib/action_view/template.rb +2 -8
  474. data/vendor/rails/actionpack/lib/action_view/template_handlers/erb.rb +4 -7
  475. data/vendor/rails/actionpack/lib/action_view/test_case.rb +26 -101
  476. data/vendor/rails/actionpack/lib/actionpack.rb +0 -1
  477. data/vendor/rails/actionpack/pkg/actionpack-3.0.pre.gem +0 -0
  478. data/vendor/rails/actionpack/test/abstract_unit.rb +8 -8
  479. data/vendor/rails/actionpack/test/active_record_unit.rb +1 -1
  480. data/vendor/rails/actionpack/test/controller/action_pack_assertions_test.rb +1 -3
  481. data/vendor/rails/actionpack/test/controller/assert_select_test.rb +5 -6
  482. data/vendor/rails/actionpack/test/controller/caching_test.rb +2 -16
  483. data/vendor/rails/actionpack/test/controller/capture_test.rb +1 -1
  484. data/vendor/rails/actionpack/test/controller/cookie_test.rb +1 -44
  485. data/vendor/rails/actionpack/test/controller/filter_params_test.rb +0 -1
  486. data/vendor/rails/actionpack/test/controller/flash_test.rb +1 -28
  487. data/vendor/rails/actionpack/test/controller/helper_test.rb +1 -1
  488. data/vendor/rails/actionpack/test/controller/html-scanner/sanitizer_test.rb +0 -1
  489. data/vendor/rails/actionpack/test/controller/http_digest_authentication_test.rb +0 -22
  490. data/vendor/rails/actionpack/test/controller/integration_test.rb +1 -38
  491. data/vendor/rails/actionpack/test/controller/layout_test.rb +0 -11
  492. data/vendor/rails/actionpack/test/controller/polymorphic_routes_test.rb +0 -4
  493. data/vendor/rails/actionpack/test/controller/rack_test.rb +4 -1
  494. data/vendor/rails/actionpack/test/controller/render_test.rb +2 -11
  495. data/vendor/rails/actionpack/test/controller/request_forgery_protection_test.rb +1 -19
  496. data/vendor/rails/actionpack/test/controller/rescue_test.rb +2 -8
  497. data/vendor/rails/actionpack/test/controller/routing_test.rb +15 -24
  498. data/vendor/rails/actionpack/test/controller/send_file_test.rb +1 -1
  499. data/vendor/rails/actionpack/test/controller/session/cookie_store_test.rb +2 -2
  500. data/vendor/rails/actionpack/test/controller/session/test_session_test.rb +2 -2
  501. data/vendor/rails/actionpack/test/controller/url_rewriter_test.rb +6 -10
  502. data/vendor/rails/actionpack/test/fixtures/test/capturing.erb +2 -2
  503. data/vendor/rails/actionpack/test/fixtures/test/utf8.html.erb +2 -4
  504. data/vendor/rails/actionpack/test/template/active_record_helper_i18n_test.rb +2 -9
  505. data/vendor/rails/actionpack/test/template/active_record_helper_test.rb +1 -1
  506. data/vendor/rails/actionpack/test/template/asset_tag_helper_test.rb +1 -12
  507. data/vendor/rails/actionpack/test/template/benchmark_helper_test.rb +6 -6
  508. data/vendor/rails/actionpack/test/template/compiled_templates_test.rb +1 -2
  509. data/vendor/rails/actionpack/test/template/date_helper_i18n_test.rb +9 -10
  510. data/vendor/rails/actionpack/test/template/date_helper_test.rb +13 -147
  511. data/vendor/rails/actionpack/test/template/erb_util_test.rb +0 -12
  512. data/vendor/rails/actionpack/test/template/form_helper_test.rb +12 -146
  513. data/vendor/rails/actionpack/test/template/form_tag_helper_test.rb +9 -21
  514. data/vendor/rails/actionpack/test/template/number_helper_test.rb +0 -4
  515. data/vendor/rails/actionpack/test/template/render_test.rb +8 -47
  516. data/vendor/rails/actionpack/test/template/sanitize_helper_test.rb +1 -10
  517. data/vendor/rails/actionpack/test/template/tag_helper_test.rb +0 -1
  518. data/vendor/rails/actionpack/test/template/text_helper_test.rb +1 -26
  519. data/vendor/rails/actionpack/test/template/translation_helper_test.rb +9 -72
  520. data/vendor/rails/actionpack/test/template/url_helper_test.rb +1 -20
  521. data/vendor/rails/actionpack/test/view/test_case_test.rb +4 -172
  522. data/vendor/rails/activemodel/pkg/activemodel-3.0.pre.gem +0 -0
  523. data/vendor/rails/activerecord/CHANGELOG +0 -51
  524. data/vendor/rails/activerecord/Rakefile +1 -1
  525. data/vendor/rails/activerecord/lib/active_record.rb +2 -1
  526. data/vendor/rails/activerecord/lib/active_record/association_preload.rb +2 -9
  527. data/vendor/rails/activerecord/lib/active_record/associations.rb +44 -57
  528. data/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb +11 -15
  529. data/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb +9 -18
  530. data/vendor/rails/activerecord/lib/active_record/associations/belongs_to_association.rb +1 -11
  531. data/vendor/rails/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb +10 -34
  532. data/vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb +2 -2
  533. data/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb +0 -5
  534. data/vendor/rails/activerecord/lib/active_record/associations/has_many_through_association.rb +5 -5
  535. data/vendor/rails/activerecord/lib/active_record/associations/has_one_association.rb +1 -19
  536. data/vendor/rails/activerecord/lib/active_record/attribute_methods.rb +1 -5
  537. data/vendor/rails/activerecord/lib/active_record/autosave_association.rb +48 -88
  538. data/vendor/rails/activerecord/lib/active_record/base.rb +36 -84
  539. data/vendor/rails/activerecord/lib/active_record/batches.rb +9 -13
  540. data/vendor/rails/activerecord/lib/active_record/calculations.rb +3 -6
  541. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +3 -3
  542. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb +1 -1
  543. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb +7 -3
  544. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +1 -1
  545. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +10 -64
  546. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +0 -2
  547. data/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +3 -37
  548. data/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +66 -31
  549. data/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +5 -5
  550. data/vendor/rails/activerecord/lib/active_record/dirty.rb +2 -2
  551. data/vendor/rails/activerecord/lib/active_record/fixtures.rb +1 -2
  552. data/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb +26 -0
  553. data/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb +18 -18
  554. data/vendor/rails/activerecord/lib/active_record/locking/pessimistic.rb +22 -0
  555. data/vendor/rails/activerecord/lib/active_record/migration.rb +0 -5
  556. data/vendor/rails/activerecord/lib/active_record/nested_attributes.rb +60 -135
  557. data/vendor/rails/activerecord/lib/active_record/reflection.rb +1 -66
  558. data/vendor/rails/activerecord/lib/active_record/schema.rb +1 -5
  559. data/vendor/rails/activerecord/lib/active_record/schema_dumper.rb +0 -3
  560. data/vendor/rails/activerecord/lib/active_record/serializers/json_serializer.rb +1 -1
  561. data/vendor/rails/activerecord/lib/active_record/validations.rb +36 -48
  562. data/vendor/rails/activerecord/lib/active_record/version.rb +1 -1
  563. data/vendor/rails/activerecord/lib/activerecord.rb +0 -1
  564. data/vendor/rails/activerecord/pkg/activerecord-3.0.pre.gem +0 -0
  565. data/vendor/rails/activerecord/test/cases/active_schema_test_mysql.rb +0 -22
  566. data/vendor/rails/activerecord/test/cases/associations/belongs_to_associations_test.rb +0 -13
  567. data/vendor/rails/activerecord/test/cases/associations/eager_load_nested_include_test.rb +7 -8
  568. data/vendor/rails/activerecord/test/cases/associations/eager_test.rb +1 -7
  569. data/vendor/rails/activerecord/test/cases/associations/has_many_associations_test.rb +0 -38
  570. data/vendor/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb +0 -22
  571. data/vendor/rails/activerecord/test/cases/associations/has_one_associations_test.rb +0 -21
  572. data/vendor/rails/activerecord/test/cases/associations_test.rb +0 -10
  573. data/vendor/rails/activerecord/test/cases/autosave_association_test.rb +21 -316
  574. data/vendor/rails/activerecord/test/cases/base_test.rb +0 -31
  575. data/vendor/rails/activerecord/test/cases/batches_test.rb +0 -20
  576. data/vendor/rails/activerecord/test/cases/calculations_test.rb +3 -2
  577. data/vendor/rails/activerecord/test/cases/connection_test_mysql.rb +0 -8
  578. data/vendor/rails/activerecord/test/cases/finder_test.rb +3 -19
  579. data/vendor/rails/activerecord/test/cases/fixtures_test.rb +2 -7
  580. data/vendor/rails/activerecord/test/cases/json_serialization_test.rb +0 -14
  581. data/vendor/rails/activerecord/test/cases/locking_test.rb +3 -30
  582. data/vendor/rails/activerecord/test/cases/migration_test.rb +0 -115
  583. data/vendor/rails/activerecord/test/cases/modules_test.rb +0 -28
  584. data/vendor/rails/activerecord/test/cases/named_scope_test.rb +1 -1
  585. data/vendor/rails/activerecord/test/cases/nested_attributes_test.rb +38 -342
  586. data/vendor/rails/activerecord/test/cases/query_cache_test.rb +1 -7
  587. data/vendor/rails/activerecord/test/cases/reflection_test.rb +10 -50
  588. data/vendor/rails/activerecord/test/cases/schema_test_postgresql.rb +2 -2
  589. data/vendor/rails/activerecord/test/cases/validations_i18n_test.rb +36 -14
  590. data/vendor/rails/activerecord/test/cases/validations_test.rb +10 -70
  591. data/vendor/rails/activerecord/test/fixtures/accounts.yml +0 -1
  592. data/vendor/rails/activerecord/test/fixtures/fixture_database.sqlite +0 -0
  593. data/vendor/rails/activerecord/test/fixtures/fixture_database.sqlite3 +0 -0
  594. data/vendor/rails/activerecord/test/fixtures/fixture_database_2.sqlite +0 -0
  595. data/vendor/rails/activerecord/test/fixtures/fixture_database_2.sqlite3 +0 -0
  596. data/vendor/rails/activerecord/test/models/author.rb +0 -3
  597. data/vendor/rails/activerecord/test/models/bird.rb +0 -6
  598. data/vendor/rails/activerecord/test/models/company.rb +0 -10
  599. data/vendor/rails/activerecord/test/models/company_in_module.rb +0 -17
  600. data/vendor/rails/activerecord/test/models/parrot.rb +0 -6
  601. data/vendor/rails/activerecord/test/models/pirate.rb +2 -19
  602. data/vendor/rails/activerecord/test/models/ship.rb +1 -10
  603. data/vendor/rails/activerecord/test/models/ship_part.rb +1 -3
  604. data/vendor/rails/activerecord/test/models/treasure.rb +0 -2
  605. data/vendor/rails/activerecord/test/schema/mysql_specific_schema.rb +0 -12
  606. data/vendor/rails/activerecord/test/schema/schema.rb +0 -42
  607. data/vendor/rails/activeresource/CHANGELOG +0 -24
  608. data/vendor/rails/activeresource/Rakefile +1 -1
  609. data/vendor/rails/activeresource/lib/active_resource/base.rb +2 -11
  610. data/vendor/rails/activeresource/lib/active_resource/http_mock.rb +2 -2
  611. data/vendor/rails/activeresource/lib/active_resource/validations.rb +3 -3
  612. data/vendor/rails/activeresource/lib/active_resource/version.rb +1 -1
  613. data/vendor/rails/activeresource/lib/activeresource.rb +0 -1
  614. data/vendor/rails/activeresource/pkg/activeresource-3.0.pre.gem +0 -0
  615. data/vendor/rails/activeresource/test/abstract_unit.rb +2 -2
  616. data/vendor/rails/activeresource/test/base_errors_test.rb +2 -15
  617. data/vendor/rails/activeresource/test/base_test.rb +0 -49
  618. data/vendor/rails/activeresource/test/debug.log +2939 -75315
  619. data/vendor/rails/activesupport/CHANGELOG +0 -45
  620. data/vendor/rails/activesupport/lib/active_support.rb +0 -1
  621. data/vendor/rails/activesupport/lib/active_support/buffered_logger.rb +1 -1
  622. data/vendor/rails/activesupport/lib/active_support/cache.rb +0 -7
  623. data/vendor/rails/activesupport/lib/active_support/cache/mem_cache_store.rb +0 -5
  624. data/vendor/rails/activesupport/lib/active_support/cache/memory_store.rb +1 -7
  625. data/vendor/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb +6 -6
  626. data/vendor/rails/activesupport/lib/active_support/core_ext.rb +3 -7
  627. data/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb +1 -1
  628. data/vendor/rails/activesupport/lib/active_support/core_ext/array/random_access.rb +1 -11
  629. data/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb +58 -2
  630. data/vendor/rails/activesupport/lib/active_support/core_ext/class/attribute_accessors.rb +28 -35
  631. data/vendor/rails/activesupport/lib/active_support/core_ext/date/calculations.rb +4 -14
  632. data/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb +3 -14
  633. data/vendor/rails/activesupport/lib/active_support/core_ext/enumerable.rb +0 -6
  634. data/vendor/rails/activesupport/lib/active_support/core_ext/file/atomic.rb +1 -2
  635. data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/debugger.rb +0 -1
  636. data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb +1 -1
  637. data/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb +1 -1
  638. data/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb +1 -1
  639. data/vendor/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +26 -33
  640. data/vendor/rails/activesupport/lib/active_support/core_ext/module/synchronization.rb +1 -1
  641. data/vendor/rails/activesupport/lib/active_support/core_ext/name_error.rb +1 -3
  642. data/vendor/rails/activesupport/lib/active_support/core_ext/numeric/conversions.rb +2 -2
  643. data/vendor/rails/activesupport/lib/active_support/core_ext/object.rb +0 -2
  644. data/vendor/rails/activesupport/lib/active_support/core_ext/object/metaclass.rb +5 -6
  645. data/vendor/rails/activesupport/lib/active_support/core_ext/string.rb +0 -1
  646. data/vendor/rails/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb +4 -2
  647. data/vendor/rails/activesupport/lib/active_support/core_ext/time.rb +4 -8
  648. data/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb +4 -14
  649. data/vendor/rails/activesupport/lib/active_support/deprecation.rb +3 -4
  650. data/vendor/rails/activesupport/lib/active_support/inflections.rb +1 -1
  651. data/vendor/rails/activesupport/lib/active_support/inflector.rb +2 -5
  652. data/vendor/rails/activesupport/lib/active_support/json/backends/jsongem.rb +3 -2
  653. data/vendor/rails/activesupport/lib/active_support/json/backends/yaml.rb +12 -11
  654. data/vendor/rails/activesupport/lib/active_support/json/decoding.rb +1 -18
  655. data/vendor/rails/activesupport/lib/active_support/json/encoding.rb +2 -11
  656. data/vendor/rails/activesupport/lib/active_support/memoizable.rb +1 -1
  657. data/vendor/rails/activesupport/lib/active_support/message_verifier.rb +10 -30
  658. data/vendor/rails/activesupport/lib/active_support/multibyte/chars.rb +1 -1
  659. data/vendor/rails/activesupport/lib/active_support/multibyte/unicode_database.rb +2 -2
  660. data/vendor/rails/activesupport/lib/active_support/multibyte/utils.rb +9 -8
  661. data/vendor/rails/activesupport/lib/active_support/ordered_hash.rb +11 -35
  662. data/vendor/rails/activesupport/lib/active_support/testing/assertions.rb +0 -14
  663. data/vendor/rails/activesupport/lib/active_support/values/time_zone.rb +76 -84
  664. data/vendor/rails/activesupport/lib/active_support/vendor.rb +3 -11
  665. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/MIT-LICENSE +20 -0
  666. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/README.textile +20 -0
  667. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/Rakefile +5 -0
  668. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/i18n.gemspec +27 -0
  669. data/vendor/rails/activesupport/lib/active_support/vendor/{i18n-0.3.7 → i18n-0.1.3/lib}/i18n.rb +39 -175
  670. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb +214 -0
  671. data/vendor/rails/activesupport/lib/active_support/vendor/{i18n-0.3.7 → i18n-0.1.3/lib}/i18n/exceptions.rb +7 -15
  672. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/all.rb +5 -0
  673. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_exceptions_test.rb +99 -0
  674. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_test.rb +124 -0
  675. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.rb +1 -0
  676. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.yml +3 -0
  677. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/simple_backend_test.rb +567 -0
  678. data/vendor/rails/activesupport/lib/active_support/version.rb +1 -1
  679. data/vendor/rails/activesupport/lib/active_support/whiny_nil.rb +2 -8
  680. data/vendor/rails/activesupport/lib/active_support/xml_mini/libxml.rb +83 -23
  681. data/vendor/rails/activesupport/lib/active_support/xml_mini/nokogiri.rb +29 -24
  682. data/vendor/rails/activesupport/lib/activesupport.rb +0 -1
  683. data/vendor/rails/activesupport/pkg/activesupport-3.0.pre.gem +0 -0
  684. data/vendor/rails/pkg/rails-3.0.pre.gem +0 -0
  685. data/vendor/rails/railties/CHANGELOG +0 -22
  686. data/vendor/rails/railties/MIT-LICENSE +1 -1
  687. data/vendor/rails/railties/Rakefile +6 -6
  688. data/vendor/rails/railties/bin/rails +5 -6
  689. data/vendor/rails/railties/builtin/rails_info/rails/info.rb +1 -1
  690. data/vendor/rails/railties/guides/source/getting_started.textile +2 -2
  691. data/vendor/rails/railties/lib/commands/dbconsole.rb +1 -1
  692. data/vendor/rails/railties/lib/commands/plugin.rb +1 -1
  693. data/vendor/rails/railties/lib/commands/runner.rb +1 -1
  694. data/vendor/rails/railties/lib/dispatcher.rb +1 -1
  695. data/vendor/rails/railties/lib/rails/gem_dependency.rb +4 -11
  696. data/vendor/rails/railties/lib/rails/rack/debugger.rb +0 -2
  697. data/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb +1 -1
  698. data/vendor/rails/railties/lib/rails/version.rb +1 -1
  699. data/vendor/rails/railties/lib/rails_generator.rb +2 -5
  700. data/vendor/rails/railties/lib/rails_generator/generated_attribute.rb +6 -7
  701. data/vendor/rails/railties/lib/rails_generator/generators/applications/app/app_generator.rb +0 -3
  702. data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/fixtures.yml +5 -9
  703. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/plugin_generator.rb +2 -2
  704. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb +4 -2
  705. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/layout.html.erb +1 -1
  706. data/vendor/rails/railties/lib/rails_generator/options.rb +7 -7
  707. data/vendor/rails/railties/lib/tasks/databases.rake +14 -14
  708. data/vendor/rails/railties/lib/tasks/framework.rake +1 -4
  709. data/vendor/rails/railties/lib/tasks/rails.rb +1 -7
  710. data/vendor/rails/railties/pkg/railties-3.0.pre.gem +0 -0
  711. metadata +183 -804
  712. data/app/views/admin/references/filters.haml +0 -6
  713. data/app/views/admin/references/tags.haml +0 -30
  714. data/app/views/admin/users/_avatar.html.haml +0 -3
  715. data/app/views/admin/users/_password_fields.html.haml +0 -18
  716. data/config/cucumber.yml +0 -7
  717. data/config/environments/cucumber.rb +0 -29
  718. data/config/initializers/haml.rb +0 -2
  719. data/config/locales/en.yml +0 -190
  720. data/config/locales/en_available_tags.yml +0 -533
  721. data/db/migrate/20090226140109_add_user_language.rb +0 -9
  722. data/db/migrate/20090929164633_rename_developer_role_to_designer.rb +0 -9
  723. data/db/migrate/20091003095744_change_user_language_to_locale.rb +0 -9
  724. data/features/admin/resource_pagination.feature +0 -27
  725. data/features/step_definitions/admin/pagination_steps.rb +0 -46
  726. data/features/step_definitions/web_steps.rb +0 -273
  727. data/features/support/dataset.rb +0 -9
  728. data/files +0 -7283
  729. data/lib/generators/extension/templates/en.yml +0 -3
  730. data/lib/generators/extension/templates/routes.rb +0 -5
  731. data/lib/generators/language_extension/USAGE +0 -27
  732. data/lib/generators/language_extension/language_extension_generator.rb +0 -49
  733. data/lib/generators/language_extension/templates/README +0 -3
  734. data/lib/generators/language_extension/templates/RSpecRakefile +0 -123
  735. data/lib/generators/language_extension/templates/Rakefile +0 -25
  736. data/lib/generators/language_extension/templates/available_tags.yml +0 -553
  737. data/lib/generators/language_extension/templates/cucumber.yml +0 -1
  738. data/lib/generators/language_extension/templates/cucumber_env.rb +0 -16
  739. data/lib/generators/language_extension/templates/cucumber_paths.rb +0 -14
  740. data/lib/generators/language_extension/templates/extension.rb +0 -8
  741. data/lib/generators/language_extension/templates/functional_test.rb +0 -15
  742. data/lib/generators/language_extension/templates/lang.yml +0 -181
  743. data/lib/generators/language_extension/templates/spec.opts +0 -6
  744. data/lib/generators/language_extension/templates/spec_helper.rb +0 -36
  745. data/lib/generators/language_extension/templates/tasks.rake +0 -28
  746. data/lib/generators/language_extension/templates/test_helper.rb +0 -26
  747. data/lib/radiant/available_locales.rb +0 -31
  748. data/lib/radiant/pagination/controller.rb +0 -34
  749. data/lib/radiant/pagination/link_renderer.rb +0 -34
  750. data/lib/tasks/ci.rake +0 -17
  751. data/lib/tasks/prototype.rake +0 -34
  752. data/lib/tasks/translate.rake +0 -59
  753. data/lib/translation_support.rb +0 -54
  754. data/public/images/admin/add_tab.png +0 -0
  755. data/public/images/admin/avatar_32x32.png +0 -0
  756. data/public/images/admin/avatar_96x96.png +0 -0
  757. data/public/images/admin/buttons_background.png +0 -0
  758. data/public/images/admin/calendar_down.gif +0 -0
  759. data/public/images/admin/draft_page.png +0 -0
  760. data/public/images/admin/login_shadow.png +0 -0
  761. data/public/images/admin/metadata_toggle.png +0 -0
  762. data/public/images/admin/minus_disabled.png +0 -0
  763. data/public/images/admin/minus_grey.png +0 -0
  764. data/public/images/admin/navigation_background.gif +0 -0
  765. data/public/images/admin/navigation_secondary_background.png +0 -0
  766. data/public/images/admin/navigation_secondary_separator.gif +0 -0
  767. data/public/images/admin/navigation_shadow.png +0 -0
  768. data/public/images/admin/navigation_tabs.png +0 -0
  769. data/public/images/admin/plus_grey.png +0 -0
  770. data/public/images/admin/popup_border_background.png +0 -0
  771. data/public/images/admin/popup_border_bottom_left.png +0 -0
  772. data/public/images/admin/popup_border_bottom_right.png +0 -0
  773. data/public/images/admin/popup_border_top_left.png +0 -0
  774. data/public/images/admin/popup_border_top_right.png +0 -0
  775. data/public/images/admin/shadow.png +0 -0
  776. data/public/images/admin/shadow_grey.png +0 -0
  777. data/public/images/admin/single_form_shadow.png +0 -0
  778. data/public/images/admin/spacer.gif +0 -0
  779. data/public/images/admin/status_background.png +0 -0
  780. data/public/images/admin/status_bottom_left.png +0 -0
  781. data/public/images/admin/status_bottom_right.png +0 -0
  782. data/public/images/admin/status_spinner.gif +0 -0
  783. data/public/images/admin/status_top_left.png +0 -0
  784. data/public/images/admin/status_top_right.png +0 -0
  785. data/public/images/admin/tab_close.png +0 -0
  786. data/public/images/admin/vertical_tan_gradient.png +0 -0
  787. data/public/images/admin/view_site.png +0 -0
  788. data/public/images/admin/virtual_page.png +0 -0
  789. data/public/images/radiant-badge-color.png +0 -0
  790. data/public/javascripts/admin/application.js +0 -85
  791. data/public/javascripts/admin/codearea.js +0 -165
  792. data/public/javascripts/admin/cookie.js +0 -80
  793. data/public/javascripts/admin/dateinput.js +0 -402
  794. data/public/javascripts/admin/lowpro.js +0 -340
  795. data/public/javascripts/admin/overrides.js +0 -1
  796. data/public/javascripts/admin/pagestatus.js +0 -17
  797. data/public/javascripts/admin/popup.js +0 -216
  798. data/public/javascripts/admin/shortcuts.js +0 -27
  799. data/public/javascripts/admin/status.js +0 -233
  800. data/public/javascripts/admin/toggle.js +0 -430
  801. data/public/javascripts/admin/utility.js +0 -52
  802. data/public/javascripts/admin/validationerror.js +0 -18
  803. data/public/stylesheets/admin/overrides.css +0 -1
  804. data/public/stylesheets/sass/admin/main.sass +0 -27
  805. data/public/stylesheets/sass/admin/modules/_grid.sass +0 -56
  806. data/public/stylesheets/sass/admin/modules/_links.sass +0 -15
  807. data/public/stylesheets/sass/admin/modules/_opacity.sass +0 -7
  808. data/public/stylesheets/sass/admin/modules/_rounded.sass +0 -41
  809. data/public/stylesheets/sass/admin/modules/_shadow.sass +0 -9
  810. data/public/stylesheets/sass/admin/overrides.sass +0 -2
  811. data/public/stylesheets/sass/admin/partials/_actions.sass +0 -83
  812. data/public/stylesheets/sass/admin/partials/_avatars.sass +0 -10
  813. data/public/stylesheets/sass/admin/partials/_base.sass +0 -59
  814. data/public/stylesheets/sass/admin/partials/_content.sass +0 -199
  815. data/public/stylesheets/sass/admin/partials/_dateinput.sass +0 -62
  816. data/public/stylesheets/sass/admin/partials/_deprecated.sass +0 -26
  817. data/public/stylesheets/sass/admin/partials/_footer.sass +0 -12
  818. data/public/stylesheets/sass/admin/partials/_forms.sass +0 -309
  819. data/public/stylesheets/sass/admin/partials/_header.sass +0 -112
  820. data/public/stylesheets/sass/admin/partials/_layout.sass +0 -10
  821. data/public/stylesheets/sass/admin/partials/_messages.sass +0 -10
  822. data/public/stylesheets/sass/admin/partials/_popup.sass +0 -117
  823. data/public/stylesheets/sass/admin/partials/_reset.sass +0 -36
  824. data/public/stylesheets/sass/admin/partials/_tabcontrol.sass +0 -70
  825. data/public/stylesheets/sass/admin/partials/_toolbar.sass +0 -31
  826. data/public/stylesheets/sass/admin/partials/_validations.sass +0 -21
  827. data/rerun.txt +0 -1
  828. data/spec/controllers/admin/paginated_controller_spec.rb +0 -26
  829. data/spec/generators/instance_generator_spec.rb +0 -152
  830. data/spec/lib/radiant/admin_ui/nav_tabs_spec.rb +0 -139
  831. data/spec/lib/radiant/available_locales_spec.rb +0 -13
  832. data/spec/lib/translation_support_spec.rb +0 -16
  833. data/test/fixtures/extensions/locale/config/locales/en-uk.yml +0 -3
  834. data/test/fixtures/extensions/locale/config/locales/en.yml +0 -3
  835. data/test/fixtures/extensions/locale/locale_extension.rb +0 -5
  836. data/test/fixtures/extensions/routed/config/routes.rb +0 -1
  837. data/test/fixtures/extensions/routed/routed_extension.rb +0 -2
  838. data/test/fixtures/gems/misnamed_ext-0.0.0/misnamed_ext_extension.rb +0 -2
  839. data/test/fixtures/gems/radiant-gem_ext-extension-0.0.0/gem_ext_extension.rb +0 -2
  840. data/test/fixtures/gems/radiant-gem_ext-extension-0.0.0/lib/gem_ext.rb +0 -3
  841. data/vendor/extensions/dutch_language_pack/README +0 -3
  842. data/vendor/extensions/dutch_language_pack/Rakefile +0 -123
  843. data/vendor/extensions/dutch_language_pack/config/locales/nl.yml +0 -187
  844. data/vendor/extensions/dutch_language_pack/config/locales/nl_available_tags.yml +0 -553
  845. data/vendor/extensions/dutch_language_pack/dutch_language_pack_extension.rb +0 -9
  846. data/vendor/extensions/dutch_language_pack/lib/tasks/i18n_nl_extension_tasks.rake +0 -28
  847. data/vendor/extensions/french_language_pack/README +0 -3
  848. data/vendor/extensions/french_language_pack/Rakefile +0 -123
  849. data/vendor/extensions/french_language_pack/config/locales/fr.yml +0 -190
  850. data/vendor/extensions/french_language_pack/config/locales/fr_available_tags.yml +0 -553
  851. data/vendor/extensions/french_language_pack/french_language_pack_extension.rb +0 -9
  852. data/vendor/extensions/french_language_pack/lib/tasks/i18n_fr_extension_tasks.rake +0 -28
  853. data/vendor/extensions/german_language_pack/README +0 -4
  854. data/vendor/extensions/german_language_pack/Rakefile +0 -123
  855. data/vendor/extensions/german_language_pack/config/locales/de.yml +0 -186
  856. data/vendor/extensions/german_language_pack/config/locales/de_available_tags.yml +0 -624
  857. data/vendor/extensions/german_language_pack/german_language_pack_extension.rb +0 -9
  858. data/vendor/extensions/german_language_pack/lib/tasks/i18n_de_extension_tasks.rake +0 -28
  859. data/vendor/extensions/italian_language_pack/README +0 -3
  860. data/vendor/extensions/italian_language_pack/Rakefile +0 -123
  861. data/vendor/extensions/italian_language_pack/config/locales/it.yml +0 -184
  862. data/vendor/extensions/italian_language_pack/config/locales/it_available_tags.yml +0 -553
  863. data/vendor/extensions/italian_language_pack/italian_language_pack_extension.rb +0 -8
  864. data/vendor/extensions/italian_language_pack/lib/tasks/i18n_it_extension_tasks.rake +0 -28
  865. data/vendor/extensions/japanese_language_pack/README +0 -3
  866. data/vendor/extensions/japanese_language_pack/Rakefile +0 -123
  867. data/vendor/extensions/japanese_language_pack/config/locales/ja.yml +0 -184
  868. data/vendor/extensions/japanese_language_pack/config/locales/ja_available_tags.yml +0 -553
  869. data/vendor/extensions/japanese_language_pack/japanese_language_pack_extension.rb +0 -9
  870. data/vendor/extensions/japanese_language_pack/lib/tasks/i18n_ja_extension_tasks.rake +0 -28
  871. data/vendor/extensions/markdown_filter/vendor/kramdown/AUTHORS +0 -1
  872. data/vendor/extensions/markdown_filter/vendor/kramdown/CONTRIBUTERS +0 -4
  873. data/vendor/extensions/markdown_filter/vendor/kramdown/COPYING +0 -24
  874. data/vendor/extensions/markdown_filter/vendor/kramdown/ChangeLog +0 -3956
  875. data/vendor/extensions/markdown_filter/vendor/kramdown/GPL +0 -674
  876. data/vendor/extensions/markdown_filter/vendor/kramdown/README +0 -30
  877. data/vendor/extensions/markdown_filter/vendor/kramdown/Rakefile +0 -342
  878. data/vendor/extensions/markdown_filter/vendor/kramdown/VERSION +0 -1
  879. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/benchmark.rb +0 -34
  880. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/generate_data.rb +0 -112
  881. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-jruby-1.4.0.dat +0 -7
  882. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-ruby-1.8.6.dat +0 -7
  883. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-ruby-1.8.7.dat +0 -7
  884. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-ruby-1.9.1p243.dat +0 -7
  885. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/historic-ruby-1.9.2dev.dat +0 -7
  886. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/mdbasics.text +0 -306
  887. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/mdsyntax.text +0 -888
  888. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/static-jruby-1.4.0.dat +0 -7
  889. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/static-ruby-1.8.6.dat +0 -7
  890. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/static-ruby-1.8.7.dat +0 -7
  891. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/static-ruby-1.9.1p243.dat +0 -7
  892. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/static-ruby-1.9.2dev.dat +0 -7
  893. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/testing.sh +0 -9
  894. data/vendor/extensions/markdown_filter/vendor/kramdown/benchmark/timing.sh +0 -10
  895. data/vendor/extensions/markdown_filter/vendor/kramdown/bin/kramdown +0 -78
  896. data/vendor/extensions/markdown_filter/vendor/kramdown/data/kramdown/document.html +0 -9
  897. data/vendor/extensions/markdown_filter/vendor/kramdown/data/kramdown/document.latex +0 -43
  898. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/default.less.css +0 -510
  899. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/default.template +0 -71
  900. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/documentation.page +0 -72
  901. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/index.page +0 -63
  902. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/installation.page +0 -90
  903. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/links.markdown +0 -6
  904. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/news.feed +0 -10
  905. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/news.page +0 -28
  906. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/quickref.page +0 -564
  907. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/syntax.page +0 -1521
  908. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/tests.page +0 -51
  909. data/vendor/extensions/markdown_filter/vendor/kramdown/doc/virtual +0 -2
  910. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown.rb +0 -23
  911. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/compatibility.rb +0 -34
  912. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/converter.rb +0 -41
  913. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/converter/base.rb +0 -111
  914. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/converter/html.rb +0 -397
  915. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/converter/latex.rb +0 -555
  916. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/document.rb +0 -164
  917. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/error.rb +0 -27
  918. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/options.rb +0 -282
  919. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser.rb +0 -39
  920. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/base.rb +0 -95
  921. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/html.rb +0 -387
  922. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown.rb +0 -301
  923. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/abbreviation.rb +0 -65
  924. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/attribute_list.rb +0 -103
  925. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/autolink.rb +0 -47
  926. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/blank_line.rb +0 -43
  927. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/blockquote.rb +0 -42
  928. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/codeblock.rb +0 -58
  929. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/codespan.rb +0 -57
  930. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/emphasis.rb +0 -70
  931. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/eob.rb +0 -39
  932. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/escaped_chars.rb +0 -38
  933. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/extension.rb +0 -101
  934. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/footnote.rb +0 -73
  935. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/header.rb +0 -66
  936. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/horizontal_rule.rb +0 -39
  937. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/html.rb +0 -173
  938. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/html_entity.rb +0 -38
  939. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/line_break.rb +0 -38
  940. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/link.rb +0 -153
  941. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/list.rb +0 -228
  942. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/math.rb +0 -53
  943. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/paragraph.rb +0 -44
  944. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/smart_quotes.rb +0 -214
  945. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/table.rb +0 -126
  946. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/parser/kramdown/typographic_symbol.rb +0 -52
  947. data/vendor/extensions/markdown_filter/vendor/kramdown/lib/kramdown/version.rb +0 -28
  948. data/vendor/extensions/markdown_filter/vendor/kramdown/man/man1/kramdown.1 +0 -222
  949. data/vendor/extensions/markdown_filter/vendor/kramdown/setup.rb +0 -1585
  950. data/vendor/extensions/markdown_filter/vendor/kramdown/test/run_tests.rb +0 -59
  951. data/vendor/extensions/markdown_filter/vendor/kramdown/test/test_files.rb +0 -100
  952. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/01_blank_line/spaces.html +0 -1
  953. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/01_blank_line/spaces.text +0 -3
  954. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/01_blank_line/tabs.html +0 -1
  955. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/01_blank_line/tabs.text +0 -6
  956. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/02_eob/beginning.html +0 -1
  957. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/02_eob/beginning.text +0 -3
  958. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/02_eob/end.html +0 -1
  959. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/02_eob/end.text +0 -3
  960. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/02_eob/middle.html +0 -2
  961. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/02_eob/middle.text +0 -5
  962. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/03_paragraph/indented.html +0 -18
  963. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/03_paragraph/indented.text +0 -19
  964. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/03_paragraph/no_newline_at_end.html +0 -5
  965. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/03_paragraph/no_newline_at_end.text +0 -5
  966. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/03_paragraph/one_para.html +0 -1
  967. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/03_paragraph/one_para.text +0 -1
  968. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/03_paragraph/two_para.html +0 -4
  969. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/03_paragraph/two_para.text +0 -4
  970. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/atx_header.html +0 -34
  971. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/atx_header.text +0 -32
  972. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/atx_header_no_newline_at_end.html +0 -1
  973. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/atx_header_no_newline_at_end.text +0 -1
  974. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/setext_header.html +0 -31
  975. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/setext_header.text +0 -36
  976. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/setext_header_no_newline_at_end.html +0 -1
  977. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/setext_header_no_newline_at_end.text +0 -2
  978. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/with_auto_id_prefix.html +0 -3
  979. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/with_auto_id_prefix.options +0 -2
  980. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/with_auto_id_prefix.text +0 -3
  981. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/with_auto_ids.html +0 -17
  982. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/with_auto_ids.options +0 -1
  983. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/04_header/with_auto_ids.text +0 -19
  984. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/05_blockquote/indented.html +0 -25
  985. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/05_blockquote/indented.text +0 -14
  986. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/05_blockquote/nested.html +0 -9
  987. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/05_blockquote/nested.text +0 -5
  988. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/05_blockquote/no_newline_at_end.html +0 -4
  989. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/05_blockquote/no_newline_at_end.text +0 -2
  990. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/05_blockquote/only_first_quoted.html +0 -8
  991. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/05_blockquote/only_first_quoted.text +0 -4
  992. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/05_blockquote/with_code_blocks.html +0 -15
  993. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/05_blockquote/with_code_blocks.text +0 -11
  994. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/06_codeblock/error.html +0 -4
  995. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/06_codeblock/error.text +0 -4
  996. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/06_codeblock/no_newline_at_end.html +0 -2
  997. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/06_codeblock/no_newline_at_end.text +0 -1
  998. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/06_codeblock/normal.html +0 -13
  999. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/06_codeblock/normal.text +0 -10
  1000. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/06_codeblock/tilde_syntax.html +0 -7
  1001. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/06_codeblock/tilde_syntax.text +0 -9
  1002. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/06_codeblock/whitespace.html +0 -3
  1003. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/06_codeblock/whitespace.text +0 -3
  1004. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/06_codeblock/with_blank_line.html +0 -13
  1005. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/06_codeblock/with_blank_line.text +0 -12
  1006. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/06_codeblock/with_eob_marker.html +0 -6
  1007. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/06_codeblock/with_eob_marker.text +0 -5
  1008. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/07_horizontal_rule/error.html +0 -7
  1009. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/07_horizontal_rule/error.text +0 -7
  1010. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/07_horizontal_rule/normal.html +0 -19
  1011. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/07_horizontal_rule/normal.text +0 -19
  1012. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/07_horizontal_rule/sepspaces.html +0 -3
  1013. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/07_horizontal_rule/sepspaces.text +0 -3
  1014. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/07_horizontal_rule/septabs.html +0 -3
  1015. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/07_horizontal_rule/septabs.text +0 -3
  1016. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/escaping.html +0 -17
  1017. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/escaping.text +0 -17
  1018. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/item_ial.html +0 -9
  1019. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/item_ial.text +0 -5
  1020. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/list_and_hr.html +0 -9
  1021. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/list_and_hr.text +0 -5
  1022. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/list_and_others.html +0 -38
  1023. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/list_and_others.text +0 -25
  1024. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/mixed.html +0 -117
  1025. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/mixed.text +0 -66
  1026. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/nested.html +0 -17
  1027. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/nested.text +0 -7
  1028. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/other_first_element.html +0 -39
  1029. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/other_first_element.text +0 -18
  1030. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/simple_ol.html +0 -19
  1031. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/simple_ol.text +0 -13
  1032. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/simple_ul.html +0 -61
  1033. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/simple_ul.text +0 -43
  1034. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/single_item.html +0 -3
  1035. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/single_item.text +0 -1
  1036. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/special_cases.html +0 -78
  1037. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/08_list/special_cases.text +0 -48
  1038. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/comment.html +0 -18
  1039. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/comment.text +0 -15
  1040. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/content_model/deflists.html +0 -6
  1041. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/content_model/deflists.options +0 -1
  1042. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/content_model/deflists.text +0 -6
  1043. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/content_model/tables.html +0 -14
  1044. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/content_model/tables.options +0 -1
  1045. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/content_model/tables.text +0 -14
  1046. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/filtered_html.html +0 -1
  1047. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/filtered_html.options +0 -1
  1048. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/filtered_html.text +0 -1
  1049. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_and_codeblocks.html +0 -15
  1050. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_and_codeblocks.options +0 -1
  1051. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_and_codeblocks.text +0 -13
  1052. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/code.html +0 -10
  1053. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/code.text +0 -9
  1054. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/comment.html +0 -7
  1055. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/comment.text +0 -8
  1056. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/emphasis.html +0 -1
  1057. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/emphasis.text +0 -1
  1058. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/entity.html +0 -1
  1059. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/entity.text +0 -1
  1060. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/header.html +0 -6
  1061. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/header.options +0 -2
  1062. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/header.text +0 -6
  1063. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_dl.html +0 -8
  1064. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_dl.text +0 -8
  1065. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_ol.html +0 -15
  1066. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_ol.text +0 -17
  1067. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_ul.html +0 -19
  1068. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/list_ul.text +0 -22
  1069. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/options +0 -1
  1070. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/paragraph.html +0 -3
  1071. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/paragraph.text +0 -4
  1072. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/table_normal.html +0 -13
  1073. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/table_normal.text +0 -12
  1074. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/table_simple.html +0 -10
  1075. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/table_simple.text +0 -14
  1076. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/typography.html +0 -1
  1077. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/html_to_native/typography.text +0 -1
  1078. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/invalid_html_1.html +0 -3
  1079. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/invalid_html_1.text +0 -5
  1080. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/invalid_html_2.html +0 -5
  1081. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/invalid_html_2.text +0 -5
  1082. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/markdown_attr.html +0 -38
  1083. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/markdown_attr.text +0 -38
  1084. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/not_parsed.html +0 -24
  1085. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/not_parsed.text +0 -24
  1086. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/parse_as_raw.html +0 -30
  1087. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/parse_as_raw.options +0 -1
  1088. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/parse_as_raw.text +0 -29
  1089. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/parse_as_span.html +0 -12
  1090. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/parse_as_span.options +0 -1
  1091. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/parse_as_span.text +0 -9
  1092. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/parse_block_html.html +0 -21
  1093. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/parse_block_html.options +0 -1
  1094. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/parse_block_html.text +0 -17
  1095. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/processing_instruction.html +0 -13
  1096. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/processing_instruction.text +0 -12
  1097. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/simple.html +0 -62
  1098. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/simple.options +0 -1
  1099. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/09_html/simple.text +0 -57
  1100. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/10_ald/simple.html +0 -2
  1101. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/10_ald/simple.text +0 -8
  1102. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/11_ial/auto_id_and_ial.html +0 -1
  1103. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/11_ial/auto_id_and_ial.options +0 -1
  1104. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/11_ial/auto_id_and_ial.text +0 -2
  1105. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/11_ial/simple.html +0 -25
  1106. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/11_ial/simple.text +0 -34
  1107. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/comment.html +0 -5
  1108. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/comment.text +0 -11
  1109. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/ignored.html +0 -4
  1110. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/ignored.text +0 -8
  1111. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/nomarkdown.html +0 -6
  1112. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/nomarkdown.text +0 -11
  1113. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/options.html +0 -24
  1114. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/options.text +0 -27
  1115. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/options2.html +0 -10
  1116. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/options2.text +0 -5
  1117. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/options3.html +0 -7
  1118. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/12_extension/options3.text +0 -7
  1119. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/definition_at_beginning.html +0 -1
  1120. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/definition_at_beginning.text +0 -1
  1121. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/multiple_terms.html +0 -13
  1122. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/multiple_terms.text +0 -10
  1123. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/no_def_list.html +0 -2
  1124. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/no_def_list.text +0 -2
  1125. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/para_wrapping.html +0 -10
  1126. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/para_wrapping.text +0 -6
  1127. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/separated_by_eob.html +0 -8
  1128. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/separated_by_eob.text +0 -5
  1129. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/simple.html +0 -8
  1130. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/simple.text +0 -7
  1131. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/styled_terms.html +0 -4
  1132. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/styled_terms.text +0 -2
  1133. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/too_much_space.html +0 -3
  1134. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/too_much_space.text +0 -4
  1135. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/with_blocks.html +0 -38
  1136. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/13_definition_list/with_blocks.text +0 -24
  1137. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/14_table/errors.html +0 -3
  1138. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/14_table/errors.text +0 -3
  1139. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/14_table/footer.html +0 -65
  1140. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/14_table/footer.text +0 -25
  1141. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/14_table/header.html +0 -103
  1142. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/14_table/header.text +0 -32
  1143. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/14_table/no_table.html +0 -3
  1144. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/14_table/no_table.text +0 -3
  1145. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/14_table/simple.html +0 -61
  1146. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/14_table/simple.text +0 -16
  1147. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/15_math/normal.html +0 -19
  1148. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/block/15_math/normal.text +0 -18
  1149. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/encoding.html +0 -46
  1150. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/encoding.text +0 -28
  1151. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/01_link/empty.html +0 -3
  1152. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/01_link/empty.text +0 -3
  1153. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/01_link/image_in_a.html +0 -5
  1154. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/01_link/image_in_a.text +0 -5
  1155. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/01_link/imagelinks.html +0 -12
  1156. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/01_link/imagelinks.text +0 -14
  1157. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/01_link/inline.html +0 -40
  1158. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/01_link/inline.text +0 -42
  1159. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/01_link/link_defs.html +0 -8
  1160. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/01_link/link_defs.text +0 -22
  1161. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/01_link/links_with_angle_brackets.html +0 -3
  1162. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/01_link/links_with_angle_brackets.text +0 -3
  1163. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/01_link/reference.html +0 -32
  1164. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/01_link/reference.text +0 -42
  1165. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/02_emphasis/empty.html +0 -3
  1166. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/02_emphasis/empty.text +0 -3
  1167. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/02_emphasis/errors.html +0 -9
  1168. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/02_emphasis/errors.text +0 -9
  1169. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/02_emphasis/nesting.html +0 -38
  1170. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/02_emphasis/nesting.text +0 -33
  1171. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/02_emphasis/normal.html +0 -46
  1172. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/02_emphasis/normal.text +0 -46
  1173. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/03_codespan/empty.html +0 -5
  1174. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/03_codespan/empty.text +0 -5
  1175. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/03_codespan/errors.html +0 -1
  1176. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/03_codespan/errors.text +0 -1
  1177. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/03_codespan/normal.html +0 -16
  1178. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/03_codespan/normal.text +0 -16
  1179. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/definitions.html +0 -14
  1180. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/definitions.latex +0 -18
  1181. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/definitions.text +0 -18
  1182. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/footnote_nr.html +0 -12
  1183. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/footnote_nr.latex +0 -6
  1184. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/footnote_nr.options +0 -1
  1185. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/footnote_nr.text +0 -4
  1186. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/markers.html +0 -46
  1187. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/markers.latex +0 -32
  1188. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/04_footnote/markers.text +0 -26
  1189. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/05_html/across_lines.html +0 -1
  1190. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/05_html/across_lines.text +0 -2
  1191. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/05_html/invalid.html +0 -1
  1192. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/05_html/invalid.text +0 -1
  1193. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/05_html/link_with_mailto.html +0 -1
  1194. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/05_html/link_with_mailto.text +0 -1
  1195. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/05_html/markdown_attr.html +0 -6
  1196. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/05_html/markdown_attr.text +0 -6
  1197. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/05_html/normal.html +0 -28
  1198. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/05_html/normal.text +0 -28
  1199. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/abbreviations/abbrev.html +0 -8
  1200. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/abbreviations/abbrev.text +0 -15
  1201. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/abbreviations/abbrev_defs.html +0 -2
  1202. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/abbreviations/abbrev_defs.text +0 -5
  1203. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/autolinks/url_links.html +0 -12
  1204. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/autolinks/url_links.text +0 -12
  1205. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/escaped_chars/normal.html +0 -41
  1206. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/escaped_chars/normal.text +0 -41
  1207. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/comment.html +0 -6
  1208. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/comment.text +0 -6
  1209. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/ignored.html +0 -1
  1210. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/ignored.text +0 -1
  1211. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/nomarkdown.html +0 -1
  1212. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/nomarkdown.text +0 -1
  1213. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/options.html +0 -1
  1214. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/extension/options.text +0 -1
  1215. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/ial/simple.html +0 -6
  1216. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/ial/simple.text +0 -6
  1217. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/line_breaks/normal.html +0 -11
  1218. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/line_breaks/normal.text +0 -11
  1219. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/math/normal.html +0 -5
  1220. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/math/normal.text +0 -5
  1221. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/text_substitutions/entities.html +0 -4
  1222. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/text_substitutions/entities.text +0 -4
  1223. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/text_substitutions/greaterthan.html +0 -1
  1224. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/text_substitutions/greaterthan.text +0 -1
  1225. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/text_substitutions/lowerthan.html +0 -1
  1226. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/text_substitutions/lowerthan.text +0 -1
  1227. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/text_substitutions/typography.html +0 -18
  1228. data/vendor/extensions/markdown_filter/vendor/kramdown/test/testcases/span/text_substitutions/typography.text +0 -18
  1229. data/vendor/extensions/russian_language_pack/README +0 -3
  1230. data/vendor/extensions/russian_language_pack/Rakefile +0 -123
  1231. data/vendor/extensions/russian_language_pack/config/locales/ru.yml +0 -180
  1232. data/vendor/extensions/russian_language_pack/config/locales/ru_available_tags.yml +0 -553
  1233. data/vendor/extensions/russian_language_pack/lib/tasks/i18n_ru_extension_tasks.rake +0 -28
  1234. data/vendor/extensions/russian_language_pack/russian_language_pack_extension.rb +0 -9
  1235. data/vendor/extensions/smarty_pants_filter/README +0 -1
  1236. data/vendor/extensions/smarty_pants_filter/Rakefile +0 -136
  1237. data/vendor/extensions/smarty_pants_filter/lib/smarty_pants_tags.rb +0 -18
  1238. data/vendor/extensions/smarty_pants_filter/lib/tasks/smarty_pants_filter_extension_tasks.rake +0 -28
  1239. data/vendor/extensions/smarty_pants_filter/smarty_pants_filter_extension.rb +0 -18
  1240. data/vendor/extensions/smarty_pants_filter/spec/spec.opts +0 -6
  1241. data/vendor/extensions/smarty_pants_filter/spec/spec_helper.rb +0 -36
  1242. data/vendor/extensions/smarty_pants_filter/test/test_helper.rb +0 -19
  1243. data/vendor/plugins/haml/CONTRIBUTING +0 -4
  1244. data/vendor/plugins/haml/README.md +0 -357
  1245. data/vendor/plugins/haml/TODO +0 -47
  1246. data/vendor/plugins/haml/VERSION_NAME +0 -1
  1247. data/vendor/plugins/haml/doc-src/FAQ.md +0 -175
  1248. data/vendor/plugins/haml/doc-src/HAML_CHANGELOG.md +0 -556
  1249. data/vendor/plugins/haml/doc-src/HAML_REFERENCE.md +0 -1184
  1250. data/vendor/plugins/haml/doc-src/SASS_CHANGELOG.md +0 -755
  1251. data/vendor/plugins/haml/doc-src/SASS_REFERENCE.md +0 -1150
  1252. data/vendor/plugins/haml/extra/update_watch.rb +0 -13
  1253. data/vendor/plugins/haml/haml.gemspec +0 -60
  1254. data/vendor/plugins/haml/lib/haml/helpers/xss_mods.rb +0 -154
  1255. data/vendor/plugins/haml/lib/haml/railtie.rb +0 -18
  1256. data/vendor/plugins/haml/lib/haml/shared.rb +0 -78
  1257. data/vendor/plugins/haml/lib/sass/environment.rb +0 -79
  1258. data/vendor/plugins/haml/lib/sass/files.rb +0 -155
  1259. data/vendor/plugins/haml/lib/sass/plugin/rack.rb +0 -65
  1260. data/vendor/plugins/haml/lib/sass/repl.rb +0 -58
  1261. data/vendor/plugins/haml/lib/sass/script.rb +0 -62
  1262. data/vendor/plugins/haml/lib/sass/script/bool.rb +0 -17
  1263. data/vendor/plugins/haml/lib/sass/script/color.rb +0 -222
  1264. data/vendor/plugins/haml/lib/sass/script/funcall.rb +0 -50
  1265. data/vendor/plugins/haml/lib/sass/script/functions.rb +0 -257
  1266. data/vendor/plugins/haml/lib/sass/script/lexer.rb +0 -194
  1267. data/vendor/plugins/haml/lib/sass/script/literal.rb +0 -177
  1268. data/vendor/plugins/haml/lib/sass/script/node.rb +0 -14
  1269. data/vendor/plugins/haml/lib/sass/script/number.rb +0 -383
  1270. data/vendor/plugins/haml/lib/sass/script/operation.rb +0 -45
  1271. data/vendor/plugins/haml/lib/sass/script/parser.rb +0 -222
  1272. data/vendor/plugins/haml/lib/sass/script/string.rb +0 -12
  1273. data/vendor/plugins/haml/lib/sass/script/unary_operation.rb +0 -34
  1274. data/vendor/plugins/haml/lib/sass/script/variable.rb +0 -31
  1275. data/vendor/plugins/haml/lib/sass/tree/debug_node.rb +0 -30
  1276. data/vendor/plugins/haml/lib/sass/tree/for_node.rb +0 -48
  1277. data/vendor/plugins/haml/lib/sass/tree/if_node.rb +0 -55
  1278. data/vendor/plugins/haml/lib/sass/tree/import_node.rb +0 -65
  1279. data/vendor/plugins/haml/lib/sass/tree/mixin_def_node.rb +0 -29
  1280. data/vendor/plugins/haml/lib/sass/tree/mixin_node.rb +0 -48
  1281. data/vendor/plugins/haml/lib/sass/tree/prop_node.rb +0 -121
  1282. data/vendor/plugins/haml/lib/sass/tree/variable_node.rb +0 -34
  1283. data/vendor/plugins/haml/lib/sass/tree/while_node.rb +0 -31
  1284. data/vendor/plugins/haml/test/haml/util_test.rb +0 -107
  1285. data/vendor/plugins/haml/test/sass/functions_test.rb +0 -174
  1286. data/vendor/plugins/haml/test/sass/more_results/more1.css +0 -9
  1287. data/vendor/plugins/haml/test/sass/more_results/more1_with_line_comments.css +0 -26
  1288. data/vendor/plugins/haml/test/sass/more_results/more_import.css +0 -29
  1289. data/vendor/plugins/haml/test/sass/more_templates/_more_partial.sass +0 -2
  1290. data/vendor/plugins/haml/test/sass/more_templates/more1.sass +0 -23
  1291. data/vendor/plugins/haml/test/sass/more_templates/more_import.sass +0 -11
  1292. data/vendor/plugins/haml/test/sass/results/line_numbers.css +0 -49
  1293. data/vendor/plugins/haml/test/sass/results/units.css +0 -11
  1294. data/vendor/plugins/haml/test/sass/script_test.rb +0 -267
  1295. data/vendor/plugins/haml/test/sass/templates/line_numbers.sass +0 -13
  1296. data/vendor/plugins/haml/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +0 -2
  1297. data/vendor/plugins/haml/test/sass/templates/units.sass +0 -11
  1298. data/vendor/plugins/haml/yard/default/fulldoc/html/css/common.sass +0 -22
  1299. data/vendor/plugins/haml/yard/default/layout/html/footer.erb +0 -12
  1300. data/vendor/plugins/haml/yard/inherited_hash.rb +0 -41
  1301. data/vendor/radius/LICENSE +0 -19
  1302. data/vendor/radius/README.rdoc +0 -102
  1303. data/vendor/radius/VERSION +0 -1
  1304. data/vendor/radius/lib/radius/context.rb +0 -139
  1305. data/vendor/radius/lib/radius/delegating_open_struct.rb +0 -31
  1306. data/vendor/radius/lib/radius/error.rb +0 -43
  1307. data/vendor/radius/lib/radius/parse_tag.rb +0 -24
  1308. data/vendor/radius/lib/radius/parser.rb +0 -65
  1309. data/vendor/radius/lib/radius/parser/scan.rb +0 -678
  1310. data/vendor/radius/lib/radius/parser/scan.rl +0 -124
  1311. data/vendor/radius/lib/radius/tag_binding.rb +0 -71
  1312. data/vendor/radius/lib/radius/tag_definitions.rb +0 -78
  1313. data/vendor/radius/lib/radius/utility.rb +0 -30
  1314. data/vendor/radius/lib/radius/version.rb +0 -8
  1315. data/vendor/radius/radius.gemspec +0 -71
  1316. data/vendor/radius/tasks/jeweler.rake +0 -21
  1317. data/vendor/radius/tasks/rdoc.rake +0 -13
  1318. data/vendor/radius/tasks/scan.rake +0 -27
  1319. data/vendor/radius/tasks/test.rake +0 -7
  1320. data/vendor/radius/test/context_test.rb +0 -61
  1321. data/vendor/radius/test/quickstart_test.rb +0 -153
  1322. data/vendor/radius/test/test_helper.rb +0 -29
  1323. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/Makefile +0 -18
  1324. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/attachments.rb +0 -65
  1325. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/parser.rb +0 -1060
  1326. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/parser.y +0 -416
  1327. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/COPYING +0 -504
  1328. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/README +0 -12
  1329. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet.rb +0 -67
  1330. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/big5freq.rb +0 -927
  1331. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/big5prober.rb +0 -42
  1332. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/chardistribution.rb +0 -238
  1333. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/charsetgroupprober.rb +0 -112
  1334. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/charsetprober.rb +0 -75
  1335. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/codingstatemachine.rb +0 -64
  1336. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/constants.rb +0 -42
  1337. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/escprober.rb +0 -89
  1338. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/escsm.rb +0 -244
  1339. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/eucjpprober.rb +0 -88
  1340. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euckrfreq.rb +0 -596
  1341. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euckrprober.rb +0 -42
  1342. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euctwfreq.rb +0 -430
  1343. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/euctwprober.rb +0 -42
  1344. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/gb2312freq.rb +0 -474
  1345. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/gb2312prober.rb +0 -42
  1346. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/hebrewprober.rb +0 -289
  1347. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/jisfreq.rb +0 -570
  1348. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/jpcntx.rb +0 -229
  1349. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langbulgarianmodel.rb +0 -229
  1350. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langcyrillicmodel.rb +0 -330
  1351. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langgreekmodel.rb +0 -227
  1352. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langhebrewmodel.rb +0 -202
  1353. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langhungarianmodel.rb +0 -226
  1354. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/langthaimodel.rb +0 -201
  1355. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/latin1prober.rb +0 -147
  1356. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/mbcharsetprober.rb +0 -89
  1357. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/mbcsgroupprober.rb +0 -45
  1358. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/mbcssm.rb +0 -542
  1359. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/sbcharsetprober.rb +0 -124
  1360. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/sbcsgroupprober.rb +0 -56
  1361. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/sjisprober.rb +0 -88
  1362. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/universaldetector.rb +0 -168
  1363. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/vendor/rchardet-1.3/lib/rchardet/utf8prober.rb +0 -87
  1364. data/vendor/rails/actionpack/lib/action_controller/rack_lint_patch.rb +0 -36
  1365. data/vendor/rails/actionpack/lib/action_controller/string_coercion.rb +0 -29
  1366. data/vendor/rails/actionpack/lib/action_view/helpers/raw_output_helper.rb +0 -9
  1367. data/vendor/rails/actionpack/test/controller/dom_assertions_test.rb +0 -53
  1368. data/vendor/rails/actionpack/test/controller/localized_templates_test.rb +0 -24
  1369. data/vendor/rails/actionpack/test/controller/output_escaping_test.rb +0 -19
  1370. data/vendor/rails/actionpack/test/fixtures/layout_tests/abs_path_layout.rhtml +0 -1
  1371. data/vendor/rails/actionpack/test/fixtures/localized/hello_world.de.html +0 -1
  1372. data/vendor/rails/actionpack/test/fixtures/localized/hello_world.en.html +0 -1
  1373. data/vendor/rails/actionpack/test/fixtures/test/_customer_counter_with_as.erb +0 -1
  1374. data/vendor/rails/actionpack/test/fixtures/test/_from_helper.erb +0 -1
  1375. data/vendor/rails/actionpack/test/fixtures/test/_utf8_partial.html.erb +0 -1
  1376. data/vendor/rails/actionpack/test/fixtures/test/_utf8_partial_magic.html.erb +0 -2
  1377. data/vendor/rails/actionpack/test/fixtures/test/array_translation.erb +0 -1
  1378. data/vendor/rails/actionpack/test/fixtures/test/scoped_array_translation.erb +0 -1
  1379. data/vendor/rails/actionpack/test/fixtures/test/translation.erb +0 -1
  1380. data/vendor/rails/actionpack/test/fixtures/test/utf8_magic.html.erb +0 -5
  1381. data/vendor/rails/actionpack/test/fixtures/test/utf8_magic_with_bare_partial.html.erb +0 -5
  1382. data/vendor/rails/actionpack/test/template/raw_output_helper_test.rb +0 -21
  1383. data/vendor/rails/activerecord/examples/performance.sql +0 -85
  1384. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_limits.rb +0 -57
  1385. data/vendor/rails/activerecord/test/cases/associations/inverse_associations_test.rb +0 -566
  1386. data/vendor/rails/activerecord/test/cases/encoding_test.rb +0 -6
  1387. data/vendor/rails/activerecord/test/cases/yaml_serialization_test.rb +0 -11
  1388. data/vendor/rails/activerecord/test/fixtures/faces.yml +0 -11
  1389. data/vendor/rails/activerecord/test/fixtures/interests.yml +0 -33
  1390. data/vendor/rails/activerecord/test/fixtures/men.yml +0 -5
  1391. data/vendor/rails/activerecord/test/fixtures/zines.yml +0 -5
  1392. data/vendor/rails/activerecord/test/models/event_author.rb +0 -5
  1393. data/vendor/rails/activerecord/test/models/face.rb +0 -7
  1394. data/vendor/rails/activerecord/test/models/interest.rb +0 -5
  1395. data/vendor/rails/activerecord/test/models/invoice.rb +0 -4
  1396. data/vendor/rails/activerecord/test/models/line_item.rb +0 -3
  1397. data/vendor/rails/activerecord/test/models/man.rb +0 -9
  1398. data/vendor/rails/activerecord/test/models/zine.rb +0 -3
  1399. data/vendor/rails/activesupport/lib/active_support/core_ext/object/blank.rb +0 -76
  1400. data/vendor/rails/activesupport/lib/active_support/core_ext/object/singleton_class.rb +0 -13
  1401. data/vendor/rails/activesupport/lib/active_support/json/backends/yajl.rb +0 -40
  1402. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend.rb +0 -19
  1403. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/active_record.rb +0 -66
  1404. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/active_record/missing.rb +0 -67
  1405. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/active_record/store_procs.rb +0 -38
  1406. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/active_record/translation.rb +0 -88
  1407. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/base.rb +0 -266
  1408. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/cache.rb +0 -76
  1409. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/cascade.rb +0 -58
  1410. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/chain.rb +0 -75
  1411. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/cldr.rb +0 -100
  1412. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/fallbacks.rb +0 -69
  1413. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/fast.rb +0 -69
  1414. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/gettext.rb +0 -75
  1415. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/helpers.rb +0 -68
  1416. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/interpolation_compiler.rb +0 -119
  1417. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/links.rb +0 -34
  1418. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/metadata.rb +0 -73
  1419. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/pluralization.rb +0 -57
  1420. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/backend/simple.rb +0 -22
  1421. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/core_ext/hash/except.rb +0 -8
  1422. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/core_ext/hash/slice.rb +0 -8
  1423. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/core_ext/object/meta_class.rb +0 -5
  1424. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/core_ext/string/interpolate.rb +0 -99
  1425. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/gettext.rb +0 -25
  1426. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/gettext/po_parser.rb +0 -329
  1427. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/helpers.rb +0 -5
  1428. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/helpers/gettext.rb +0 -65
  1429. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale.rb +0 -6
  1430. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/fallbacks.rb +0 -98
  1431. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/tag.rb +0 -28
  1432. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/tag/parents.rb +0 -24
  1433. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/tag/rfc4646.rb +0 -76
  1434. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/locale/tag/simple.rb +0 -41
  1435. data/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.3.7/i18n/version.rb +0 -3
  1436. data/vendor/rails/activesupport/lib/active_support/xml_mini/libxmlsax.rb +0 -74
  1437. data/vendor/rails/activesupport/lib/active_support/xml_mini/nokogirisax.rb +0 -73
  1438. data/vendor/rails/railties/configs/initializers/cookie_verification_secret.rb +0 -7
@@ -1,1521 +0,0 @@
1
- ---
2
- title: Syntax
3
- in_menu: true
4
- sort_info: 10
5
- --- name:sidebar
6
- <h1>Contents</h1>
7
-
8
- {menu: {used_nodes: fragments, min_levels: 4, max_levels: 6}}
9
- --- name:content
10
-
11
- # kramdown Syntax
12
-
13
- This is version **<%= ::Kramdown::VERSION %>** of the syntax documentation.
14
-
15
- The kramdown syntax is based on the Markdown syntax and has been enhanced with features that are
16
- found in other Markdown implementations like [Maruku], [PHP Markdown Extra] and [Pandoc]. However,
17
- it strives to provide a strict syntax with definite rules and therefore isn't completely compatible
18
- with Markdown. Nonetheless, most Markdown documents should work fine when parsed with kramdown. All
19
- places where the kramdown syntax differs from the Markdown syntax are highlighted.
20
-
21
- Following is the complete syntax definition for all elements kramdown supports. Together with the
22
- documentation on the available converters, it is clearly specified what you will get when a kramdown
23
- document is converted.
24
-
25
-
26
- ## Source Text Formatting
27
-
28
- A kramdown document may be in any encoding, for example ASCII, UTF-8 or ISO-8859-1, and the output
29
- will have the same encoding as the source. The document consists of two types of elements, block
30
- level elements and span level elements:
31
-
32
- * Block level elements define the main structure of the content, for example, what part of the text
33
- should be a paragraph, a list, a blockquote and so on.
34
-
35
- * Span level elements mark up small text parts as, for example, emphasized text or a link.
36
-
37
- Thus span level elements can only occur inside block level elements or other span level elements.
38
-
39
- You will often find references to the "first column" or "first character" of a line in a block level
40
- element descriptions. Such a reference is always to be taken relative to the current indentation
41
- level because some block level elements open up a new indentation level (e.g. blockquotes). The
42
- beginning of a kramdown document opens up the default indentation level which begins at the first
43
- column of the text.
44
-
45
-
46
- ### Usage of Tabs
47
-
48
- kramdown assumes that tab stops are set at multiples of four. This is especially important when
49
- using tabs for indentation in lists. Also, tabs may only be used at the beginning of a line when
50
- indenting text and must not be preceded by spaces. Otherwise the results may be unexpected.
51
-
52
-
53
- ### Automatic and Manual Escaping
54
-
55
- Depending on the output format, there are often characters that need special treatment. For example,
56
- when converting a kramdown document to HTML one needs to take care of the characters `<`, `>` and
57
- `&`. To ease working with these special characters, they are automatically and correctly escaped
58
- depending on the output format.
59
-
60
- This means, for example, that you can just use `<`, `>` and `&` in a kramdown document and need not
61
- think about when to use their HTML entity counterparts. However, if you *do use* HTML entitys or
62
- HTML tags which use one of the characters, the result will be correct nonetheless!
63
-
64
- Since kramdown also uses some characters to mark-up the text, there needs to be a way to escape
65
- these special characters so that they can have their normal meaning. This can be done by using
66
- backslash escapes. For example, you can use a literal backtick like this:
67
-
68
- This \`is not a code\` span!
69
-
70
- Following is a list of all the characters (character sequences) that can be escaped:
71
-
72
- \ backslash
73
- . period
74
- * asterisk
75
- _ underscore
76
- + plus
77
- - minus
78
- ` backtick
79
- ()[]{} left and right parens/brackets/braces
80
- # hash
81
- ! bang
82
- << left guillemet
83
- >> right guillemet
84
- : colon
85
- | pipe
86
- " double quote
87
- ' single quote
88
- $ dollar sign
89
-
90
-
91
- # Structural Elements
92
-
93
- All structural elements are block level elements and they are used to structure the content. They
94
- can mark up some text as, for example, a simple paragraph, a quote or as a list item.
95
-
96
-
97
- ## Blank lines
98
-
99
- Any line that just contains white space characters such as spaces and tabs is considered a blank
100
- line by kramdown. One or more consecutive blank lines are handled as one empty blank line. Blank
101
- lines are mostly used to visually separate block level elements from each other and in this case
102
- they don't have semantic meaning. However, there are some cases where blank lines do have a semantic
103
- meaning:
104
-
105
- * When used in paragraphs -- see the [paragraphs section](#paragraphs)
106
- * When used in headers -- see the [headers section](#headers)
107
- * When used in lists -- see the [lists section](#lists)
108
-
109
-
110
- ## Paragraphs
111
-
112
- Paragraphs are the most used block level elements. One or more consecutive lines of text are
113
- interpreted as one paragraph. Every line of a paragraph may be indented up to three spaces. You can
114
- separate two consecutive paragraphs from each other by using one or more blank lines. Notice that a
115
- line break in the source does not mean a line break in the output! If you want to have an explicit
116
- line break (i.e. a `<br />` tag) you need to end a line with two or more spaces or two backslashes!
117
- Note, however, that a line break on the last text line of a paragraph is not possible and will be
118
- ignored. Leading and trailing spaces will be stripped from the paragraph text.
119
-
120
- The following gives you an example of how paragraphs look like:
121
-
122
- This para line starts at the first column. However,
123
- the lines can be indented up to three spaces.
124
- The para continues here.
125
-
126
- This is another paragraph, not connected to the above one. But
127
- with a hard line break. \\
128
- And another one.
129
- {: .show-whitespaces .ws-lr}
130
-
131
-
132
- ## Headers
133
-
134
- kramdown supports so called Setext style and atx style headers. Both forms can be used inside a
135
- single document.
136
-
137
- ### Setext Style
138
-
139
- Setext style headers are specified by a [blank line](#blank-lines) (except at the beginning of a
140
- document), followed by a line of text (the header text) and a line with only equal signs (for a
141
- first level header) or dashes (for a second level header). The header text may be indented up to
142
- three spaces but any leading or trailing spaces are stripped from the header text. The amount of
143
- equal signs or dashes is not significant, just one is enough but more may look better. The equal
144
- signs or dashes have to begin at the first column. For example:
145
-
146
- First level header
147
- ==================
148
-
149
- Second level header
150
- ------
151
-
152
- Other first level header
153
- =
154
-
155
- As mentioned you need to insert a blank line before (but not necessarily after) a Setext header:
156
-
157
- This is a normal
158
- paragraph.
159
-
160
- And A Header
161
- ------------
162
- And a paragraph
163
-
164
- > This is a blockquote.
165
-
166
- And A Header
167
- ------------
168
-
169
- However, it is generally a good idea to also use a blank line after a Setext header because it looks
170
- more appropriate.
171
-
172
- > The original Markdown syntax allows one to omit the blank line before a Setext header. However,
173
- > this leads to ambiguities and makes reading the document harder than necessary. Therefore it is
174
- > not allowed in a kramdown document.
175
- {: .markdown-difference}
176
-
177
- An edge case worth mentioning is the following:
178
-
179
- header
180
- ---
181
- para
182
-
183
- One might ask if this represents two paragraphs separated by a [horizontal rule](#horizontal-rules)
184
- or a second level header and a paragraph. As suggested by the wording in the example, the latter is
185
- the case. The general rule is that Setext headers are processed before horizontal rules.
186
-
187
- ### atx Style
188
-
189
- atx style headers are specified by a [blank line](#blank-lines) (except at the beginning of a
190
- document), followed by a line with one or more hash characters and then the header text. No spaces
191
- are allowed before the hash characters. The number of hash characters specifies the heading level:
192
- one hash character gives you a first level heading, two a second level heading and so on until the
193
- maximum of six hash characters for a sixth level heading. You may optionally use any number of
194
- hashes at the end of the line to close the header. Any leading or trailing spaces are stripped from
195
- the header text. For example:
196
-
197
- # First level header
198
-
199
- ### Third level header ###
200
-
201
- ## Second level header ######
202
-
203
- > Again, the original Markdown syntax allows one to omit the blank line before an atx style header.
204
- {: .markdown-difference}
205
-
206
-
207
- ### Specifying a Header ID
208
-
209
- kramdown supports a nice way for explicitly setting the header ID which is taken from [PHP Markdown
210
- Extra] and [Maruku]: If you follow the header text with an opening curly bracket (separated from the
211
- text with a least one space), a hash, the ID and a closing curly bracket, the ID is set on the
212
- header. If you use the trailing hash feature of atx style headers, the header ID has to go after the
213
- trailing hashes. For example:
214
-
215
- Hello {#id}
216
- -----
217
-
218
- # Hello {#id}
219
-
220
- # Hello # {#id}
221
-
222
- > This additional syntax is not part of standard Markdown.
223
- {: .markdown-difference}
224
-
225
-
226
- ## Blockquotes
227
-
228
- A blockquote is started using the `>` marker followed by an optional space and the content of the
229
- blockquote. The marker itself may be indented up to three spaces. All following lines that are also
230
- started with the blockquote marker belong to the blockquote. The contents of a blockquote are block
231
- level elements. This means that if you are just using text as content that it will be wrapped in a
232
- paragraph. For example, the following gives you one blockquote with two paragraphs in it:
233
-
234
- > This is a blockquote.
235
- >on multiple lines.
236
- >
237
- > This is the second paragraph.
238
-
239
- Since the contents of a blockquote are block level elements, you can nest blockquotes and use other
240
- block level elements:
241
-
242
- > This is a paragraph.
243
- > > A nested blockquote.
244
- >
245
- > ## Headers work
246
- >
247
- > * lists too
248
- >
249
- > and all other block level elements
250
-
251
- Note that the first space character after the `>` marker does *not* count when counting spaces for
252
- the indentation of the block level elements inside the blockquote! So [code blocks](#code-blocks)
253
- will have to be indented with five spaces or one space and one tab, like this:
254
-
255
- > A code block:
256
- >
257
- > ruby -e 'puts :works'
258
-
259
- > The original Markdown syntax allowed "lazy" blockquotes, i.e. blockquotes where only the first line
260
- > needs a blockquote marker. This is disallowed in kramdown, you always need to use a blockquote
261
- > marker! The rational behind this is that most email programs and good text editors put the `>`
262
- > maker automatically before every quoted line and that things like the following work like
263
- > expected:
264
- >
265
- > > > This is some quoted text.
266
- > > > Spanning multiple lines.
267
- > > This is the answer to the quoted text above.
268
- > This is just a normal paragraph, with the answer to the above.
269
- {: .markdown-difference}
270
-
271
-
272
- ## Code Blocks
273
-
274
- Code blocks can be used to represent verbatim text like markup, HTML or a program fragment because
275
- no syntax is parsed within a code block.
276
-
277
- ### Standard Code Block
278
-
279
- A code block can be started by using four spaces or one tab and then the text of the code block. All
280
- following lines that adhere to this syntax belong to the same code block. The indentation (four
281
- spaces or one tab) is stripped from the text. Note that blank lines don't separate consecutive code
282
- blocks:
283
-
284
- Here comes some code
285
-
286
- This text belongs to the same code block.
287
-
288
- If you want to have one code block directly after another one, you need to use an [EOB
289
- marker](#eob-marker) to separate the two:
290
-
291
- Here comes some code
292
- ^
293
- This one is separate.
294
-
295
- ### Fenced Code Block
296
-
297
- > This alternative syntax is not part of the original Markdown syntax. The idea and syntax comes
298
- > from the [PHP Markdown Extra] package.
299
- {: .markdown-difference}
300
-
301
- kramdown also supports an alternative syntax for code blocks which does not use indented blocks but
302
- delimiting lines. The starting line needs to begin with three or more tilde characters (`~`) and the
303
- closing line needs to have at least the number of tildes the starting line has. Everything between
304
- is taken literally as with the other syntax but there is no need for indenting the text. For
305
- example:
306
-
307
- ~~~~~~~~
308
- Here comes some code.
309
- ~~~~~~~~
310
-
311
- If you need lines of tildes in such a code block, just start the code block with more tildes. For
312
- example:
313
-
314
- ~~~~~~~~~~~~
315
- ~~~~~~~
316
- code with tildes
317
- ~~~~~~~~
318
- ~~~~~~~~~~~~~~~~~~
319
-
320
- This type of code block is especially useful for copy-pasted code since you don't need to indent the
321
- code.
322
-
323
-
324
- ## Lists
325
-
326
- kramdown provides syntax elements for creating ordered and unordered lists as well as definition
327
- lists.
328
-
329
- ### Ordered and Unordered lists
330
-
331
- Both ordered and unordered lists follow the same rules.
332
-
333
- A list is started with a list marker (in case of unordered lists one of `+`, `-` or `*` -- you can
334
- mix them -- and in case of ordered lists a number followed by a period) followed by one tab or at
335
- least one space, optionally followed by an [IAL](#inline-attribute-lists) that should be applied to
336
- the list item and then the first part of the content of the list item. The leading tabs or spaces
337
- are stripped away from this first line of content to allow for a nice alignment with the following
338
- content of a list item (see below). All following list items with the same marker type (unordered or
339
- ordered) are put into the same list. The numbers used for ordered lists are irrelevant, an ordered
340
- list always starts at 1.
341
-
342
- The following gives you an unordered list and an ordered list:
343
-
344
- * kram
345
- + down
346
- - now
347
-
348
- 1. kram
349
- 2. down
350
- 3. now
351
-
352
- > The original Markdown syntax allows the markers of ordered and unordered lists to be mixed, the
353
- > first marker specifying the list type (ordered or unordered). This is not allowed in kramdown. As
354
- > stated, the above example will give you two lists (an unordered and an ordered) in kramdown and
355
- > only one unordered list in Markdown.
356
- {: .markdown-difference}
357
-
358
- The first list marker in a list may be indented up to three spaces. The column number of the first
359
- non-space character which appears after the list item marker on the same line specifies the
360
- indentation that has to be used for the following lines of content of the list item. If there is no
361
- such character, the indentation that needs to be used is four spaces or one tab. If a line does not
362
- have the needed amount of indentation, it is not treated as list item content. The indentation is
363
- stripped from the content and the content (note that the content naturally also contains the content
364
- of the line with the item marker) is processed as text containing block level elements. All other
365
- list markers in the list may be indented up to three spaces or the number of spaces used for the
366
- indentation of the last list item minus one, whichever number is smaller. For example:
367
-
368
- * This is the first line. Since the first non-space characters appears in column 3, all other
369
- lines have to be indented 2 spaces so that the first characters align. This tells kramdown
370
- that the lines belong to the list item.
371
- * This is the another item of the list. It uses a different number of spaces for
372
- indentation which is okay but should generally be avoided.
373
- * The list item marker is indented 3 spaces which is allowed but should also be avoided.
374
-
375
- So, while the above is possible and creates one list with three items, it is not advised to use
376
- different (marker and list content) indents for same level list items!
377
-
378
- > The original Markdown syntax also allows you to indent the marker, however, the behaviour of what
379
- > happens with the list items is not clearly specified and may surprise you.
380
- >
381
- > Also, Markdown uses a fixed number of spaces/tabs to indent the lines that belong to a list item!
382
- {: .markdown-difference}
383
-
384
- When using tabs for indenting the content of a list item, remember that tab stops occur at multiples
385
- of four for kramdown. Tabs are correctly converted to spaces for calculating the indentation. For
386
- example:
387
-
388
- * Using a tab to indent this line, the tab only counts as three spaces and therefore the
389
- overall indentation is four spaces.
390
-
391
- 1. The tab after the marker counts here as two spaces. Since the indentation of the marker
392
- is three spaces and the marker itself takes two characters, the overall indentation
393
- needed for the following lines is eight spaces or two tabs.
394
-
395
- It is clear that you might get unexpected results if you mix tabs and spaces or if you don't have
396
- the tab stops set to multiples of four in your editor! Therefore this should be avoided!
397
-
398
- The content of a list item is made up of either text or block level elements. Simple list items only
399
- contain text like in the above examples. They are not even wrapped in a paragraph tag. If the first
400
- list text is followed by one or more blank lines, it will be wrapped in a paragraph tag:
401
-
402
- * kram
403
-
404
- * down
405
- * now
406
-
407
- In the above example, the first list item text will be wrapped in a paragraph tag since it is
408
- followed by a blank line whereas the second list item contains just text. There is obviously a
409
- problem for doing this with the last list item when it contains only text. You can circumvent this
410
- by leaving a blank line after the last list item and using an EOB marker:
411
-
412
- * Not wrapped in a paragraph
413
- * Wrapped in a paragraph due to the following blank line.
414
-
415
- * Also wrapped in a paragraph due to the
416
- following blank line and the EOB marker.
417
-
418
- ^
419
-
420
- The text of the last list item is also wrapped in a paragraph tag if *all* other list items contain
421
- a proper paragraph as first element. This makes the following use case work like expected, i.e.
422
- *all* the list items are wrapped in paragraphs:
423
-
424
- * First list item
425
-
426
- * Second list item
427
-
428
- * Last list item
429
-
430
- > The original Markdown syntax page specifies that list items which are separated by one or more
431
- > blank lines are wrapped in paragraph tags. This means that the first text will also be wrapped in
432
- > a paragraph if you have block level elements in a list which are separated by blank lines. The
433
- > above rule is easy to remember and lets you exactly specify when the first list text should be
434
- > wrapped in a paragraph. The idea for the above rule comes from the [Pandoc] package.
435
- {: .markdown-difference}
436
-
437
- As seen in the examples above, blank lines between list items are allowed.
438
-
439
- Since the content of a list item can contain block level elements, you can do the following:
440
-
441
- * First item
442
-
443
- A second paragraph
444
-
445
- * nested list
446
- > blockquote
447
-
448
- * Second item
449
-
450
- However, there is a problem when you want to have a code block immediately after a list item. You
451
- can use an EOB marker to circumvent this problem:
452
-
453
- * This is a list item.
454
-
455
- The second para of the list item.
456
- ^
457
- A code block following the list item.
458
-
459
- You can have any block level element as first element in a list item. However, as described above,
460
- the leading tabs or spaces of the line with the list item marker are stripped away. This leads to a
461
- problem when you want to have a code block as first element. The solution to this problem is the
462
- following construct:
463
-
464
- *
465
- This is a code block (indentation needs to be 4(1)+4(1) spaces (tabs)).
466
- {: .show-whitespaces .ws-lr}
467
-
468
- Note that the list marker needs to be followed with at least one space or tab! Otherwise the line is
469
- not recognized as the start of a list item but interpreted as a paragraph containing the list
470
- marker.
471
-
472
- > The original Markdown syntax allows you to be lazy when you just use text for a list item. So the
473
- > following is possible with Markdown:
474
- >
475
- > * First list item
476
- > continued here
477
- > * Second list item
478
- > continued here.
479
- >
480
- > This kind of syntax is disallowed in kramdown.
481
- {: .markdown-difference}
482
-
483
- If you want to have one list directly after another one (both with the same list type, i.e. ordered
484
- or unordered), you need to use an EOB marker to separate the two:
485
-
486
- * List one
487
- ^
488
- * List two
489
-
490
- It is possible that a line gets parsed as ordered or unordered list although it shouldn't. This
491
- would be the case in the following example:
492
-
493
- I have read the book
494
- 1984. It was great
495
- - others say that, too!
496
-
497
- Therefore you have to insert a blank line after a paragraph if you want to follow the paragraph with
498
- a list. The only exception to this rule is when you want to create a compact nested list, i.e. a
499
- list where the text is not wrapped in paragraphs:
500
-
501
- * This is just text.
502
- * this is a sub list item
503
- * this is a sub sub list item
504
- * This is just text,
505
- spanning two lines
506
- * this is a nested list item.
507
-
508
- Another way to remedy the problem with the list item marker appearing in plain text is by escaping
509
- the period in an ordered list or the list item marker in an unordered list (this is especially
510
- useful when the paragraph starts with something looking like a list item marker):
511
-
512
- 1984\. It was great
513
- \- others say that, too!
514
-
515
- As mentioned at the beginning, an optional IAL for applying attributes to a list item can be used
516
- after the list item marker:
517
-
518
- * {:.cls} This item has the class "cls".
519
- Here continues the above paragraph.
520
-
521
- * This is a normal list item.
522
-
523
-
524
- ### Definition Lists
525
-
526
- > This syntax feature is not part of the original Markdown syntax. The idea and syntax comes from
527
- > the [PHP Markdown Extra] package.
528
- {: .markdown-difference}
529
-
530
- Definition lists allow you to assign one or more definitions to one or more terms.
531
-
532
- A definition list is started when a normal paragraph is followed by a line with a definition marker
533
- (a colon which may be optionally indented up to three spaces), then at least one tab or one space
534
- and then the first part of the definition. The line with the definition marker may optionally be
535
- separated from the preceding paragraph by a blank line. The leading tabs or spaces are stripped away
536
- from this first line of the definition to allow for a nice alignment with the following definition
537
- content. Each line of the preceding paragraph is taken to be a term and the lines separately parsed
538
- as span level elements.
539
-
540
- The following is a simple definition list:
541
-
542
- kramdown
543
- : A Markdown-superset converter
544
-
545
- Maruku
546
- : Another Markdown-superset converter
547
-
548
- The column number of the first non-space character which appears after a definition marker on the
549
- same line specifies the indentation that has to be used for the following lines of the definition.
550
- If there is no such character, the indentation that needs to be used is four spaces or one tab. If
551
- one of the following lines does not have the needed amount of indentation, it is not treated as part
552
- of the definition. The indentation is stripped from the definition and it (note that the definition
553
- naturally also contains the content of the line with the definition marker) is processed as text
554
- containing block level elements. If there is more than one definition, all other definition markers
555
- for the term may be indented up to three spaces or the number of spaces used for the indentation of
556
- the last definition minus one, whichever number is smaller. For example:
557
-
558
- definition term 1
559
- definition term 2
560
- : This is the first line. Since the first non-space characters appears in column 3, all other
561
- lines have to be indented 2 spaces so that they first characters align. This tells kramdown
562
- that the lines belong to the definition.
563
- : This is the another definition for the same term. It uses a different number of spaces
564
- for indentation which is okay but should generally be avoided.
565
- : The definition marker is indented 3 spaces which is allowed but should also be avoided.
566
-
567
- So, while the above is possible and creates a definition list with two terms and three definitions
568
- for them, it is not advised to use different (definition marker and definition) indents in the same
569
- definition list!
570
-
571
- The definition for a term is made up of text and/or block level elements. If a definition is *not*
572
- preceded by a blank line, the first part of the definition will just be text if it would be a
573
- paragraph otherwise:
574
-
575
- definition term
576
- : This definition will just be text because it would normally be a paragraph and the there is
577
- no preceding blank line.
578
-
579
- > although the definition contains other block level elements
580
-
581
- : This definition *will* be a paragraph since it is preceded by a blank line.
582
-
583
- The rules about having any block level element as first element in a list item also apply to a
584
- definition.
585
-
586
-
587
- ## Tables
588
-
589
- > This syntax feature is not part of the original Markdown syntax. The syntax is based on the one
590
- > from the [PHP Markdown Extra] package.
591
- {: .markdown-difference}
592
-
593
- Sometimes one wants to include simple tabular data in a kramdown document for which using a
594
- full-blown HTML table is just too much. kramdown supports this with a simple syntax for ASCII
595
- tables.
596
-
597
- There are three different text line types that can be used in a table:
598
-
599
- * *Table rows* define the content of a table.
600
-
601
- A table row is started with a pipe character, optionally indented up to three spaces, and then the
602
- text of the first table cell. Subsequent table cells consist of a pipe character followed by the
603
- cell text. One may optionally use a pipe character at the the end of a table row line.
604
-
605
- Header rows, footer rows and normal rows are all done using these table rows. Table cells can only
606
- contain a single line of text, no multiline text is supported. The text of a table cell is parsed
607
- as span level elements. Note that literal pipe characters need to be escaped, even if they occur
608
- in code spans!
609
-
610
- Here are some example table rows:
611
-
612
- | First cell|Second cell|Third cell
613
- | First | Second | Third |
614
-
615
- * *Separator lines* are used to split the table body into multiple body parts.
616
-
617
- A separator line is started with a pipe or plus character, optionally indented up to three spaces,
618
- followed by an optional space, an optional colon, a dash and then any number and combination of
619
- pipes, dashes, pluses, colons and spaces. The pipe and plus characters can be used to visually
620
- separate columns although this is not needed. Multiple separator lines after another are treated
621
- as one separator line.
622
-
623
- Here are some example separator lines:
624
-
625
- |----+----|
626
- +----|----+
627
- |---------|
628
- |-
629
- | :-----: |
630
-
631
- * The first separator line after at least one table row is treated specially, namely as *header
632
- separator line*. It is used to demarcate header rows from normal table rows and/or to set column
633
- alignments. All table rows above the header separator line are considered to be header rows.
634
-
635
- The header separator line can be specially formatted to contain column alignment definitions: An
636
- alignment definition consists of an optional space followed by an optional colon, one or more
637
- dashes, an optional colon and another optional space. The colons of an alignment definition are
638
- used to set the alignment of a column: if there are no colons, the column uses the default
639
- alignment, if there is a colon only before the dashes, the column is left aligned, if there are
640
- colons before and after the dashes, the column is center aligned and if there is only a colon
641
- after the dashes, the column is right aligned. Each alignment definition sets the alignment for
642
- one column, the first alignment definition for the first column, the second alignment definition
643
- for the second column and so on.
644
-
645
- Here are some example header separator lines with alignment definitions:
646
-
647
- |---+---+---|
648
- + :-: |:------| ---:|
649
- | :-: :- -: -
650
-
651
- * A *footer separator line* is used to demarcate footer rows from normal table rows. All table rows
652
- below the footer separator line are considered to be footer rows.
653
-
654
- A footer separator line is like a normal separator line except that dashes are replaced by equal
655
- signs. A footer separator line may only appear once in a table. If multiple footer separator lines
656
- are used in one table, only the last is treated as footer separator line, all others are treated
657
- as normal separator lines. Normal separator lines that are used after the footer separator line
658
- are ignored.
659
-
660
- Here are some example footer separator lines:
661
-
662
- |====+====|
663
- +====|====+
664
- |=========|
665
- |=
666
-
667
- Trailing spaces or tabs are ignored in all cases. To simplify table creation and maintenance,
668
- header, footer and normal separator lines need not specify the same number of columns as table rows;
669
- even `|-` and `|=` are a valid separators.
670
-
671
- Given the above components, a table is specified by
672
-
673
- * an optional separator line,
674
- * optionally followed by zero, one or more table rows followed by a header separator line,
675
- * one or more table rows, optionally interspersed with separator lines,
676
- * optionally followed by a footer separator line and zero, one or more table rows and
677
- * an optional trailing separator line.
678
-
679
- > The table syntax differs from the one used in [PHP Markdown Extra] as follows:
680
- >
681
- > * kramdown tables have to begin with a pipe character, this is optional in [PHP Markdown Extra].
682
- > * kramdown tables do not need to have a table header.
683
- > * kramdown tables can be structured using separator lines.
684
- > * kramdown tables can contain a table footer.
685
- {: .markdown-difference}
686
-
687
- Here is an example for a kramdown table with a table header row, two table bodies and a table footer
688
- row:
689
-
690
- |-----------------+------------+-----------------+----------------|
691
- | Default aligned |Left aligned| Center aligned | Right aligned |
692
- |-----------------|:-----------|:---------------:|---------------:|
693
- | First body part |Second cell | Third cell | fourth cell |
694
- | Second line |foo | **strong** | baz |
695
- | Third line |quux | baz | bar |
696
- |-----------------+------------+-----------------+----------------|
697
- | Second body | | | |
698
- | 2 line | | | |
699
- |=================+============+=================+================|
700
- | Footer row | | | |
701
- |-----------------+------------+-----------------+----------------|
702
-
703
- The above example table is rather time-consuming to create without the help of an ASCII table
704
- editor. However, the table syntax is flexible and the above table could also be written like this:
705
-
706
- |---
707
- | Default aligned | Left aligned | Center aligned | Right aligned
708
- |-|:-|:-:|-:
709
- | First body part | Second cell | Third cell | fourth cell
710
- | Second line |foo | **strong** | baz
711
- | Third line |quux | baz | bar
712
- |---
713
- | Second body
714
- | 2 line
715
- |===
716
- | Footer row
717
-
718
-
719
- ## Horizontal Rules
720
-
721
- A horizontal rule for visually separating content is created by using three or more asterisks,
722
- dashes or underscores (these may not be mixed on a line), optionally separated by spaces or tabs, on
723
- an otherwise blank line. The first asterisk, dash or underscore may optionally be indented up to
724
- three spaces. The following examples show different possibilities to create a horizontal rule:
725
-
726
- * * *
727
-
728
- ---
729
-
730
- _ _ _ _
731
-
732
- ---------------
733
-
734
-
735
- ## Math Blocks
736
-
737
- > This syntax feature is not part of the original Markdown syntax. The idea comes from the [Maruku]
738
- > and [Pandoc] packages.
739
- {: .markdown-difference}
740
-
741
- kramdown has built-in support for block and span level mathematics written in LaTeX.
742
-
743
- A math block is started using two dollar signs, optionally indented up to three spaces. The math
744
- block continues until the next two dollar signs (which may be on the same line or on one of the next
745
- lines) that appear at the end of a line, i.e. they may only be followed by whitespace characters.
746
- The content of a math block has to be valid LaTeX math. It is always wrapped inside a
747
- `\begin{displaymath}...\end{displaymath}` enviroment except if it begins with a `\begin` statement.
748
-
749
- The following kramdown fragment
750
-
751
- $$
752
- \begin{align*}
753
- & \phi(x,y) = \phi \left(\sum_{i=1}^n x_ie_i, \sum_{j=1}^n y_je_j \right)
754
- = \sum_{i=1}^n \sum_{j=1}^n x_i y_j \phi(e_i, e_j) = \\
755
- & (x_1, \ldots, x_n) \left( \begin{array}{ccc}
756
- \phi(e_1, e_1) & \cdots & \phi(e_1, e_n) \\
757
- \vdots & \ddots & \vdots \\
758
- \phi(e_n, e_1) & \cdots & \phi(e_n, e_n)
759
- \end{array} \right)
760
- \left( \begin{array}{c}
761
- y_1 \\
762
- \vdots \\
763
- y_n
764
- \end{array} \right)
765
- \end{align*}
766
- $$
767
-
768
- renders as
769
-
770
- $$
771
- \begin{align*}
772
- & \phi(x,y) = \phi \left(\sum_{i=1}^n x_ie_i, \sum_{j=1}^n y_je_j \right)
773
- = \sum_{i=1}^n \sum_{j=1}^n x_i y_j \phi(e_i, e_j) = \\
774
- & (x_1, \ldots, x_n) \left( \begin{array}{ccc}
775
- \phi(e_1, e_1) & \cdots & \phi(e_1, e_n) \\
776
- \vdots & \ddots & \vdots \\
777
- \phi(e_n, e_1) & \cdots & \phi(e_n, e_n)
778
- \end{array} \right)
779
- \left( \begin{array}{c}
780
- y_1 \\
781
- \vdots \\
782
- y_n
783
- \end{array} \right)
784
- \end{align*}
785
- $$
786
-
787
- Using inline math is also easy: just surround your math content with two dollar signs, like with a
788
- math block.
789
-
790
- If you don't want to start a math block or an inline math statement, just escape the dollar signs
791
- and they will be treated as simple dollar signs. If you want to start an inline math statement at
792
- the beginning of a paragraph, just escape the first dollar sign.
793
-
794
-
795
- ## HTML Blocks
796
-
797
- > The original Markdown syntax specifies that an HTML block must start at the left margin, i.e. no
798
- > indentation is allowed. Also, the HTML block has to be surrounded by blank lines. Both
799
- > restrictions are lifted for kramdown documents. Additionally, the original syntax does not allow
800
- > you to use Markdown syntax in HTML blocks which is allowed with kramdown.
801
- {: .markdown-difference}
802
-
803
- An HTML block is potentially started if a line is encountered that begins with a non-span-level HTML
804
- tag or a general XML tag (opening or closing) which may be indented up to three spaces.
805
-
806
- The following HTML tags count as span level HTML tags and *won't* start an HTML block if found at
807
- the beginning of an HTML block line:
808
-
809
- a abbr acronym b big bdo br button cite code del dfn em i img input
810
- ins kbd label option q rb rbc rp rt rtc ruby samp select small span
811
- strong sub sup textarea tt var
812
-
813
- Further parsing of a found start tag depends on the tag and in which of three possible ways its
814
- content is parsed:
815
-
816
- * Parse as raw HTML block: If the HTML/XML tag content should be handled as raw HTML, then only
817
- HTML/XML tags are parsed from this point onwards and text is handled as raw, unparsed text until
818
- the matching end tag is found or until the end of the document. Each found tag will be parsed as
819
- raw HTML again. However, if a tag has a `markdown` attribute, this attribute controls parsing of
820
- this one tag (see below).
821
-
822
- Note that only correct XHTML is supported! This means that you have to use, for example, `<hr />`
823
- instead of `<hr>` (although kramdown tries to fix such things if possible). If an invalid closing
824
- tag is found, it is ignored.
825
-
826
- * Parse as block level elements: If the HTML/XML tag content should be parsed as text containing
827
- block level elements, the remaining text on the line will be parsed by the block level parser as
828
- if it appears on a separate line (**Caution**: This also means that if the line consists of the
829
- start tag, text and the end tag, the end tag will not be found!). All following lines are parsed
830
- as block level elements until an HTML block line with the matching end tag is found or until the
831
- end of the document.
832
-
833
- * Parse as span level elements: If the HTML/XML tag content should be parsed as text containing span
834
- level elements, then all text until the *next* matching end tag or until the end of the document
835
- will be the content of the tag and will later be parsed by the span level parser. This also means
836
- that if the matching end tag is inside what appears to be a code span, it is still used!
837
-
838
- If there is text after an end tag, it will be parsed as if it appears on a separate line except when
839
- inside a raw HTML block.
840
-
841
- Also, if an invalid closing tag is found, it is ignored.
842
-
843
- By default, kramdown parses all block HTML tags and all XML tags as raw HTML blocks. However, this
844
- can be configured with the `parse_block_html`. If this is set to `true`, then syntax parsing in HTML
845
- blocks is globally enabled. It is also possible to enable/disable syntax parsing on a tag per tag
846
- basis using the `markdown` attribute:
847
-
848
- * If an HTML tag has an attribute `markdown="0"`, then the tag is parsed as raw HTML block.
849
-
850
- * If an HTML tag has an attribute `markdown="1"`, then the default mechanism for parsing syntax in
851
- this tag is used.
852
-
853
- * If an HTML tag has an attribute `markdown="block"`, then the content of the tag is parsed as block
854
- level elements.
855
-
856
- * If an HTML tag has an attribute `markdown="span"`, then the content of the tag is parsed as span
857
- level elements.
858
-
859
- The following list shows which HTML tags are parsed in which mode by default when `markdown="1"` is
860
- applied or `parse_block_html` is `true`:
861
-
862
- Parse as raw HTML block
863
- :
864
- script math option textarea
865
-
866
- Also, all general XML tags are parsed as raw HTML blocks.
867
-
868
- Parse as block level elements
869
- :
870
- applet button blockquote colgroup dd div dl fieldset form iframe li
871
- map noscript object ol table tbody thead tfoot tr td ul
872
-
873
- Parse as span level elements
874
- :
875
- a abbr acronym address b bdo big cite caption code del dfn dt em
876
- h1 h2 h3 h4 h5 h6 i ins kbd label legend optgroup p pre q rb rbc
877
- rp rt rtc ruby samp select small span strong sub sup th tt var
878
-
879
- > Remember that all span level HTML tags like `a` or `b` do not start a HTML block! However, the
880
- > above lists also include span level HTML tags in the case the `markdown` attribute is used on a
881
- > tag inside a raw HTML block.
882
-
883
- Here is a simple example input and its HTML output with `parse_block_html` set to `false`:
884
-
885
- This is a para.
886
- <div>
887
- Something in here.
888
- </div>
889
- Other para.
890
- ^
891
- <p>This is a para.</p>
892
- <div>
893
- Something in here.
894
- </div>
895
- <p>Other para.</p>
896
-
897
- As one can see the content of the `div` tag will be parsed as raw HTML block and left alone.
898
- However, if the `markdown="1"` attribute was used on the `div` tag, the content would be parsed as
899
- block level elements and therefore converted to a paragraph.
900
-
901
- You can also use several HTML tags at once:
902
-
903
- <div id="content"><div id="layers"><div id="layer1">
904
- This is some text in the `layer1` div.
905
- </div>
906
- This is some text in the `layers` div.
907
- </div></div>
908
- This is a para outside the HTML block.
909
-
910
- However, remember that if the content of a tag is parsed as block level elements, the content that
911
- appears after a start/end tag but on the same line, is processed as if it appears on a new line:
912
-
913
- <div markdown="1">This is the first part of a para,
914
- which is continued here.
915
- </div>
916
-
917
- <p markdown="1">This works without problems because it is parsed as span level elements</p>
918
-
919
- <div markdown="1">The end tag is not found because
920
- this line is parsed as a paragraph</div>
921
-
922
- Since setting `parse_block_html` to `true` can lead to some not wanted behaviour, it is generally
923
- better to selectively enable or disable block/span level elements parsing by using the `markdown`
924
- attribute!
925
-
926
- Unclosed block level HTML tags are correctly closed at the end of the document to ensure correct
927
- nesting and invalidly used end tags are removed from the output:
928
-
929
- This is a para.
930
- <div markdown="1">
931
- Another para.
932
- </p>
933
- ^
934
- <p>This is a para.</p>
935
- <div>
936
- <p>Another para.</p>
937
- </div>
938
-
939
- The parsing of processing instructions and XML comments is also supported. The content of both, PIs
940
- and XML comments, may span multiple lines. The start of a PI/XML comment may only appear at the
941
- beginning of a line, optionally indented up to three spaces. If there is text after the end of a PI
942
- or XML comment, it will be parsed as if it appears on a separate line. kramdown syntax in PIs/XML
943
- comments is not processed:
944
-
945
- This is a para.
946
- <!-- a *comment* -->
947
- <? a processing `instruction`
948
- spanning multiple lines
949
- ?> First part of para,
950
- continues here.
951
-
952
-
953
-
954
- # Text Markup
955
-
956
- These elements are used inside block level elements to markup text fragments. For example, one can
957
- easily create links or apply emphasis to certain text parts.
958
-
959
- Note that empty span level elements are not converted to empty HTML tags but are copied as-is to the
960
- output.
961
-
962
-
963
-
964
- ## Links and Images
965
-
966
- Three types of links are supported: autolinks, inline links and reference links.
967
-
968
- ### Autolinks
969
-
970
- This is the easiest one to create: Just surround a web address or an email address with angle
971
- brackets and the address will be turned into a proper link. The address will be used as link target
972
- and as link text. For example:
973
-
974
- Information can be found on the <http://example.com> homepage.
975
- You can also mail me: <me.example@example.com>
976
-
977
- It is not possible to specify a different link text using autolinks -- use the other link types for
978
- this!
979
-
980
-
981
- ### Inline Links
982
-
983
- As the wording suggests, inline links provide all information inline in the text flow. Reference
984
- style links only provide the link text in the text flow and everything else is defined
985
- elsewhere. This also allows you to reuse link definitions.
986
-
987
- An inline style link can be created by surrounding the link text with square brackets, followed
988
- immediately by the link URL (and an optional title in single or double quotes preceded by at least
989
- one space) in normal parentheses. For example:
990
-
991
- This is [a link](http://rubyforge.org) to a page.
992
- A [link](../test "local URI") can also have a title.
993
- And [spaces](<link with spaces.html>)!
994
-
995
- Notes:
996
-
997
- * The link text is treated like normal span level text and therefore is parsed and converted.
998
- However, if you use square brackets within the link text, you have to either properly nest them or
999
- to escape them. It is not possible to create nested links!
1000
-
1001
- * The link URL must not contain any spaces and it has to contain properly nested parentheses if no
1002
- title is specified, or the link URL must be contained in angle brackets (then spaces and
1003
- incorrectly nested parentheses are allowed). There must not be any spaces before the link URL, and
1004
- if no title is specified, no spaces are allowed between the link URL and the closing parenthesis.
1005
-
1006
- * The link title may not contain its delimiters and may not be empty.
1007
-
1008
- ### Reference Links
1009
-
1010
- To create a reference style link, you need to surround the link text with square brackets (as with
1011
- inline links), followed by optional spaces/tabs/line breaks and then optionally followed with
1012
- another set of square brackets with the link identifier in them. A link identifier may only contain
1013
- numbers, letters, spaces (line breaks and tabs are converted to spaces, multiple spaces are
1014
- compressed to one) and punctuation characters (i.e. `_.:,;!?-`) and is not case sensitive. For
1015
- example:
1016
-
1017
- This is a [reference style link][linkid] to a page. And [this]
1018
- [linkid] is also a link. As is [this][] and [THIS].
1019
-
1020
- If you don't specify a link identifier (i.e. only use empty square brackets) or completely omit the
1021
- second pair of square brackets, the link text is converted to a valid link identifier by removing
1022
- all invalid characters and inserting spaces for line breaks. If there is a link definition found for
1023
- the link identifier, a link will be created. Otherwise the text is not converted to a link.
1024
-
1025
- ### Link Definitions
1026
-
1027
- The link definition can be put anywhere in the document. It does not appear in the output. A link
1028
- definition looks like this:
1029
-
1030
- [linkid]: http://www.example.com/ "Optional Title"
1031
-
1032
- > Link definitions are, despite being described here, block level elements.
1033
- {: .information}
1034
-
1035
- The link definition has the following structure:
1036
-
1037
- * The link identifier in square brackets, optionally indented up to three spaces,
1038
- * then a colon and one or more spaces/tabs,
1039
- * then the link URL which must not contain any spaces or a left angle bracket, the link URL which may
1040
- contain spaces and a right angle bracket,
1041
- * then optionally the title in single or double quotes, separated from the link URL by one or more
1042
- spaces or on the next line by itself indented any number of spaces/tabs.
1043
-
1044
- > The original Markdown syntax also allowed the title to be specified in parenthesis. This is not
1045
- > allowed for consistency with the inline title.
1046
- {: .markdown-difference}
1047
-
1048
- ### Images
1049
-
1050
- Images can be specified via a syntax that is similar to the one used by links. The difference is
1051
- that you have to use an exclamation mark before the first square bracket and that the link text of a
1052
- normal link becomes the alternative text of the image link. As with normal links, image links can be
1053
- written inline or reference style. For example:
1054
-
1055
- Here comes a ![smiley](../images/smiley.png)! And here
1056
- ![too](../images/other.png 'Title text'). Or ![here].
1057
-
1058
- The link definition for images is exactly the same as the link definition for normal links.
1059
-
1060
-
1061
- ## Emphasis
1062
-
1063
- kramdown supports two types of emphasis: light and strong emphasis. Text parts that are surrounded
1064
- with single asterisks `*` or underscores `_` are treated as text with light emphasis, text parts
1065
- surrounded with two asterisks or underscores are treated as text with strong emphasis. Surrounded
1066
- means that the starting delimiter must not be followed by a space and that the stopping delimiter
1067
- must not be preceded by a space.
1068
-
1069
- Here is an example for text with light and strong emphasis:
1070
-
1071
- *some text*
1072
- _some text_
1073
- **some text**
1074
- __some text__
1075
-
1076
- The asterisk form is also allowed within a single word:
1077
-
1078
- This is un*believe*able! This d_oe_s not work!
1079
-
1080
- Text can be marked up with both light and strong emphasis, possibly using different delimiters.
1081
- However, it is not possible to nest strong within strong or light within light emphasized text:
1082
-
1083
- This is a ***text with light and strong emphasis***.
1084
- This **is _emphasized_ as well**.
1085
- This *does _not_ work*.
1086
- This **does __not__ work either**.
1087
-
1088
- If one or two asterisks or underscores are surrounded by spaces, they are treated literally. If you
1089
- want to force the literal meaning of an asterisk or an underscore you can backslash-escape it:
1090
-
1091
- This is a * literal asterisk.
1092
- These are ** two literal asterisk.
1093
- As \*are\* these!
1094
-
1095
-
1096
- ## Code Spans
1097
-
1098
- This is the span level equivalent of the code block element. You can markup a text part as code span
1099
- by surrounding it with backticks `` ` ``. For example:
1100
-
1101
- Use `<html>` tags for this.
1102
-
1103
- Note that all special characters in a code span are treated correctly. For example, when a code span
1104
- is converted to HTML, the characters `<`, `>` and `&` are substituted by their respective HTML
1105
- counterparts.
1106
-
1107
- To include a literal backtick in a code span, you need to use two or more backticks as delimiters.
1108
- You can insert one optional space after the starting and before the ending delimiter (these spaces
1109
- are not used in the output). For example:
1110
-
1111
- Here is a literal `` ` `` backtick.
1112
- And here is `` `some` `` text (note the two spaces so that one is left in the output!).
1113
-
1114
- A single backtick surrounded by spaces is treated as literal backtick. If you want to force the
1115
- literal meaning of a backtick you can backslash-escape it:
1116
-
1117
- This is a ` literal backtick.
1118
- As \`are\` these!
1119
-
1120
-
1121
- ## HTML Spans
1122
-
1123
- HTML tags cannot only be used on the block level but also on the span level. Span level HTML tags
1124
- can only be used inside one block level element, it is not possible to use a start tag in one block
1125
- level element and the end tag in another. Note that only correct XHTML is supported! This means that
1126
- you have to use, for example, `<br />` instead of `<br>` (although kramdown tries to fix such errors
1127
- if possible).
1128
-
1129
- By default, kramdown parses kramdown syntax inside span HTML tags. However, this behaviour can be
1130
- configured with the `parse_span_html` option. If this is set to `true`, then syntax parsing in HTML
1131
- spans is enabled, if it is set to `false`, parsing is disabled. It is also possible to
1132
- enable/disable syntax parsing on a tag per tag basis using the `markdown` attribute:
1133
-
1134
- * If an HTML tag has an attribute `markdown="0"`, then no parsing (except parsing of HTML span tags)
1135
- is done inside that HTML tag.
1136
-
1137
- * If an HTML tag has an attribute `markdown="1"`, then the content of the tag is parsed as span
1138
- level elements.
1139
-
1140
- * If an HTML tag has an attribute `markdown="block"`, then a warning is issued because HTML spans
1141
- cannot contain block level elements and the attribute is ignored.
1142
-
1143
- * If an HTML tag has an attribute `markdown="span"`, then the content of the tag is parsed as span
1144
- level elements.
1145
-
1146
- The content of a span level HTML tag is normally parsed as span level elements. Note, however, that
1147
- some tags like `<script>` are not parsed, i.e. their content is not modified.
1148
-
1149
- Processing instructions and XML comments can also be used (their content is not parsed). However, as
1150
- with HTML tags the start and the end have to appear in the same block level element.
1151
-
1152
- Span level PIs and span level XML comments as well as general span level HTML and XML tags have to
1153
- be preceded by at least one non whitespace character on the same line so that kramdown correctly
1154
- recognizes them as span level element and not as block level element. However, all span HTML tags,
1155
- i.e. `a`, `em`, `b`, ..., (opening or closing) can appear at the start of a line.
1156
-
1157
- Unclosed span level HTML tags are correctly closed at the end of the span level text to ensure
1158
- correct nesting and invalidly used end tags or block HTML tags are removed from the output:
1159
-
1160
- This is </invalid>.
1161
-
1162
- This <span>is automatically closed.
1163
- ^
1164
- <p>This is .</p>
1165
-
1166
- <p>This <span>is automatically closed.</span></p>
1167
-
1168
- Also note that one or more consecutive new line characters in an HTML span tag are replaced by a
1169
- single space, for example:
1170
-
1171
- Link: <a href="some
1172
- link">text</a>
1173
- ^
1174
- <p>Link: <a href="some link">text</a></p>
1175
-
1176
-
1177
- ## Footnotes
1178
-
1179
- > This syntax feature is not part of the original Markdown syntax. The idea and syntax comes from
1180
- > the [PHP Markdown Extra] package.
1181
- {: .markdown-difference}
1182
-
1183
- Footnotes in kramdown are similar to reference style links and link definitions. You need to place
1184
- the footnote marker in the correct position in the text and the actual footnote content can be
1185
- defined anywhere in the document.
1186
-
1187
- More exactly, a footnote marker can be created by placing the footnote name in square brackets.
1188
- The footnote name has to start with a caret (`^`), followed by a word character or a digit and then
1189
- optionally followed by other word characters, digits or dashes. For example:
1190
-
1191
- This is some text.[^1]. Other text.[^footnote].
1192
-
1193
- The footnote name has to be unique in the whole kramdown document. Therefore you can't link to the
1194
- same footnote definition twice. The actual naming of a footnote does not matter since the numbering
1195
- of footnotes is controlled via the position of the footnote markers in the document (the first found
1196
- footnote marker will get the number 1, the second footnote marker the number 2 and so on). If there
1197
- is a footnote definition found for the identifier, a footnote will be created. Otherwise the
1198
- footnote marker is not converted to a footnote link. Also note that all attributes set via a span
1199
- IAL are ignored for a footnote marker!
1200
-
1201
- A footnote definition is used to define the content of a footnote and has the following structure:
1202
-
1203
- * The footnote name in square brackets, optionally indented up to three spaces,
1204
- * then a colon and one or more optional spaces,
1205
- * then the text of the footnote
1206
- * and optionally more text on the following lines which have have to be indented by four spaces or
1207
- one tab (like with list items).
1208
-
1209
- > Footnote definitions are, despite being described here, block level elements.
1210
- {: .information}
1211
-
1212
- The whole footnote content is treated like block level text and can therefore contain any valid
1213
- block level element (also, any block level element can be the first element). If you want to have a
1214
- code block as first element, note that all leading spaces/tabs on the first line are stripped away.
1215
- Here are some example footnote definitions:
1216
-
1217
- [^1]: Some *crazy* footnote definition.
1218
-
1219
- [^footnote]:
1220
- > Blockquotes can be in a footnote.
1221
-
1222
- as well as code blocks
1223
-
1224
- or, naturally, simple paragraphs.
1225
-
1226
- [^other-note]: no code block here (spaces are stripped away)
1227
-
1228
- [^codeblock-note]:
1229
- this is now a code block (8 spaces indentation)
1230
-
1231
- It does not matter where you put a footnote definition in a kramdown document; the content of all
1232
- referenced footnote definitions will be placed at the end of the kramdown document. Not referenced
1233
- foot note definitions are ignored. If more than one footnote definitions have the same footnote
1234
- name, all footnote definitions but the last are ignored.
1235
-
1236
-
1237
- ## Abbreviations
1238
-
1239
- > This syntax feature is not part of the original Markdown syntax. The idea and syntax comes from
1240
- > the [PHP Markdown Extra] package.
1241
- {: .markdown-difference}
1242
-
1243
- kramdown provides a syntax to assign the full phrase to an abbreviation. When writing the text, you
1244
- don't need to do anything special. However, once you add abbreviation definitions, the
1245
- abbreviations in the text get marked up automatically. Abbreviations can consist of any character
1246
- except a closing bracket.
1247
-
1248
- An abbreviation definition is used to define the full phrase for an abbreviation and has the
1249
- following structure:
1250
-
1251
- * An asterisk and the abbreviation in square brackets, optionally indented up to three
1252
- spaces,
1253
- * then a colon and the full phrase of the abbreviation on one line (leading and trailing spaces are
1254
- stripped from the full phrase).
1255
-
1256
- Later abbreviation definition for the same abbreviation override prior ones and it does not matter
1257
- where you put an abbreviation definition in a kramdown document. Empty definitions are also allowed.
1258
-
1259
- Here are some examples:
1260
-
1261
- This is some text not written in HTML but in another language!
1262
-
1263
- *[another language]: It's called Markdown
1264
- *[HTML]: HyperTextMarkupLanguage
1265
-
1266
- > Abbreviation definitions are, despite being described here, block level elements.
1267
- {: .information}
1268
-
1269
-
1270
- ## Typographic Symbols
1271
-
1272
- > The original Markdown syntax does not support these transformations.
1273
- {: .markdown-difference}
1274
-
1275
- kramdown converts the following plain ASCII character into their corresponding typographic symbols:
1276
-
1277
- * `---` will become an em-dash (like this ---)
1278
- * `--` will become an en-dash (like this --)
1279
- * `...` will become an ellipsis (like this ...)
1280
- * `<<` will become a left guillemet (like this <<) -- an optional following space will become a
1281
- non-breakable space
1282
- * `>>` will become a right guillemet (like this >>) -- an optional leading space will become a
1283
- non-breakable space
1284
-
1285
- It also replaces normal single `'` and double quotes `"` with "fancy quotes". There *may* be times
1286
- when kramdown falsely replace the quotes. If this is the case, just \'escape\" the quotes and they
1287
- won't be replaced with fancy ones.
1288
-
1289
-
1290
-
1291
- # Other Markup
1292
-
1293
- This section describes markup that is not widely used in kramdown documents but which are sometimes
1294
- needed nonetheless.
1295
-
1296
-
1297
- ## End-Of-Block Marker {#eob-marker}
1298
-
1299
- > The EOB marker is not part of the standard Markdown syntax.
1300
- {: .markdown-difference}
1301
-
1302
- The End-Of-Block (EOB) marker -- a `^` as first character on an otherwise empty line -- is a block
1303
- level element that can be used to specify the end of a block level element even if the block level
1304
- element, after which it is used, would continue otherwise. If there is no block level element to
1305
- end, the EOB marker is simply ignored.
1306
-
1307
- You won't find an EOB marker in most kramdown documents but sometimes it is necessary to use it to
1308
- achieve the wanted results which would be impossible otherwise. However, it should only be used when
1309
- absolutely necesary!
1310
-
1311
- For example, the following gives you one list with two items:
1312
-
1313
- * list item one
1314
-
1315
- * list item two
1316
-
1317
- By using an EOB marker, you can make two lists with one item each:
1318
-
1319
- * list one
1320
- ^
1321
- * list two
1322
-
1323
-
1324
- ## Attribute List Definitions
1325
-
1326
- > This syntax feature is not part of the original Markdown syntax. The idea and syntax comes from
1327
- > the [Maruku] package.
1328
- {: .markdown-difference}
1329
-
1330
- This is an implementation of [Maruku]'s feature for adding attributes to block and span level
1331
- elements (the naming is also taken from Maruku). This block level element is used to define
1332
- attributes which can be referenced later. The [Block Inline Attribute
1333
- List](#block-inline-attribute-lists) is used to attach attributes to a block level element and the
1334
- [Span Inline Attribute List](#span-inline-attribute-lists) is used to attach attributes to a span
1335
- level element.
1336
-
1337
- Following are some examples of attribute list definitions (ALDs) and afterwards comes the syntax
1338
- explanation:
1339
-
1340
- {:ref-name: #myid .my-class}
1341
- {:other: ref-name #id-of-other title="hallo you"}
1342
- {:test: key="value \" with quote" and other='quote brace \}'}
1343
-
1344
- An ALD line has the following structure:
1345
-
1346
- * a left brace, optionally preceded by up to three spaces,
1347
- * followed by a colon, the reference name and another colon,
1348
- * followed by attribute definitions (allowed characters are backslash-escaped closing braces or any
1349
- character except a not escaped closing brace),
1350
- * followed by a closing brace and optional spaces until the end of the line.
1351
-
1352
- The reference name needs to start with a word character or a digit, optionally followed by other word
1353
- characters, digits or dashes.
1354
-
1355
- There are four different types of attribute definitions which have to be separated by one or more
1356
- spaces:
1357
-
1358
- references
1359
-
1360
- : This must be a valid reference name. It is used to reference an other ALD so that the attributes
1361
- of the other ALD are also included in this one. The reference name is ignored when collecting the
1362
- attributes if no attribute definition list with this reference name exists. For example, a
1363
- simple reference looks like `id`.
1364
-
1365
- key-value pairs
1366
-
1367
- : A key-value pair is defined by a key name, which must follow the rules for reference names, then
1368
- an equal sign and then the value in single or double quotes. If you need to use the value
1369
- delimiter (a single or a double quote) inside the value, you need to escape it with a backslash.
1370
- Key-value pairs can be used to specify arbitrary attributes for block or span level elements. For
1371
- example, a key-value pair looks like `key1="bef \"quoted\" aft"` or `title='This is a title'`.
1372
-
1373
- ID name
1374
-
1375
- : An ID name is defined by using a hash and then the identifier name which must follow the rules
1376
- for reference names. This is a short hand for the key-value pair `id="IDNAME"` since this is
1377
- often used. The ID name specifies the unique ID of a block or span level element. For example,
1378
- an ID name looks like `#myid`.
1379
-
1380
- class names
1381
-
1382
- : A class name is defined by using a dot and then the class name. This is (almost, but not quite)
1383
- a short hand for the key-value pair `class="class-name"`. Almost because it actually means that
1384
- the class name should be appended to the current value of the `class` attribute. The following
1385
- ALDs are all equivalent:
1386
-
1387
- {:id: .cls1 .cls2}
1388
- {:id: class="cls1" .cls2}
1389
- {:id: class="something" class="cls1" .cls2}
1390
- {:id: class="cls1 cls2}
1391
-
1392
- As can be seen from the example of the class names, attributes that are defined earlier are
1393
- overwritten by ones with the same name defined later. Also, everything in the attribute definitions
1394
- part that does not match one of the above four types is ignored.
1395
-
1396
- If there is more than one ALD with the same reference name, the attribute definitions of all the
1397
- ALDs are processed like they are defined in one ALD.
1398
-
1399
-
1400
- ## Inline Attribute Lists
1401
-
1402
- These elements are used to attach attributes to another element.
1403
-
1404
- ### Block Inline Attribute Lists
1405
-
1406
- > This syntax feature is not part of the original Markdown syntax. The idea and syntax comes from
1407
- > the [Maruku] package.
1408
- {: .markdown-difference}
1409
-
1410
- This block level element is used to attach attributes to a block level element. A block inline
1411
- attribute list (block IAL) has the same structure as an [ALD](#attribute-list-definitions) except
1412
- that the colon/reference name/colon part is replaced by a colon. A block IAL (or two or more block
1413
- IALs) has to be put directly before or after the block level element to which the attributes should
1414
- be attached. If a block IAL is directly after *and* before a block level element, it is applied to
1415
- preceding element. The block IAL is ignored in all other cases, for example, when the block IAL is
1416
- surrounded by blank lines.
1417
-
1418
- Key-value pairs of an IAL take precedence over equally named key-value pairs in referenced ALDs.
1419
-
1420
- Here are some examples for block IALs:
1421
-
1422
- A simple paragraph with an ID attribute.
1423
- {: #para-one}
1424
-
1425
- > A blockquote with a title
1426
- {:title="The blockquote title"}
1427
- {: #myid}
1428
-
1429
- {:.ruby}
1430
- Some code here
1431
-
1432
- ### Span Inline Attribute Lists
1433
-
1434
- > This syntax feature is not part of the original Markdown syntax. The idea and syntax comes from
1435
- > the [Maruku] package.
1436
- {: .markdown-difference}
1437
-
1438
- This is a version of the [block inline attribute list](#block-inline-attribute-lists) for span level
1439
- elements. It has the same structure as the block IAL except that leading and trailing spaces are not
1440
- allowed. A span IAL (or two or more span IALs) has to be put directly after the span level element
1441
- to which it should be applied, no additional character is allowed between, otherwise it is ignored
1442
- and only removed from the output.
1443
-
1444
- Here are some examples for span IALs:
1445
-
1446
- This *is*{:.underline} some `code`{:#id}{:.class}.
1447
- A [link](test.html){:rel='something'} and some **tools**{:.tools}.
1448
-
1449
-
1450
- ## Extensions
1451
-
1452
- > This syntax feature is not part of the original Markdown syntax.
1453
- {: .markdown-difference}
1454
-
1455
- Extensions provide additional functionality but use the same syntax for it. They are available as
1456
- block as well as span level elements.
1457
-
1458
- The syntax for an extension is very similar to the syntax of [ALDs](#attribute-list-definitions).
1459
- Here are some examples of how to specify extensions and afterwards is the syntax definition:
1460
-
1461
- {::comment}
1462
- This text is completely ignored by kramdown - a comment in the text.
1463
- {:/comment}
1464
-
1465
- Do you see {::comment}this text{:/comment}?
1466
- {::comment}some other comment{:/}
1467
-
1468
- {::options key="val" /}
1469
-
1470
- An extension can be specified with or without a body. Therefore there exist a start and an end tag
1471
- for extensions. The start tag has the following structure:
1472
-
1473
- * an left brace,
1474
- * followed by two colons and the extension name,
1475
- * optionally followed by a space and attribute definitions (allowed characters are backslash-escaped
1476
- closing braces or any character except a not escaped closing brace -- same as with ALDs),
1477
- * followed by a slash and a right brace (in case the extension has no body) or only a right
1478
- brace (in case the extension has a body).
1479
-
1480
- The stop tag has the following structure:
1481
-
1482
- * a left brace,
1483
- * followed by a colon and a slash,
1484
- * optionally followed by the extension name,
1485
- * followed by a right brace.
1486
-
1487
- A stop tag is only needed if the extension has a body!
1488
-
1489
- The above syntax can be used as is for span level extensions. The starting and ending lines for block level
1490
- extensions are defined as:
1491
-
1492
- * The starting line consists of the extension start tag, optionally preceded by up to three spaces,
1493
- and followed by optional spaces until the end of the line.
1494
- * The ending line consists of the extension stop tag, optionally preceded by up to three spaces,
1495
- and followed by optional spaces until the end of the line.
1496
-
1497
- If no end tag can be found for an extension start tag, the start tag is treated as if it has no
1498
- body. If an invalid extension stop tag is found, it is ignored. If an invalid extension name is
1499
- specified the extension (and the eventually specified body) are ignored.
1500
-
1501
- The following extensions can be used with kramdown:
1502
-
1503
- `comment`
1504
-
1505
- : Treat the body text as a comment which does not show in the output.
1506
-
1507
- `nomarkdown`
1508
-
1509
- : Don't process the body with kramdown but output it as-is.
1510
-
1511
- `options`
1512
-
1513
- : Should be used without a body since the body is ignored. Is used for setting the global options
1514
- for the kramdown processor (for example, to disable automatic header ID generation). Note that
1515
- options that are used by the parser are immediately effective whereas all other options are not!
1516
- This means, for example, that it is not possible to set converter options only for some part of
1517
- a kramdown document.
1518
-
1519
-
1520
-
1521
- {include_file: doc/links.markdown}