apex-ruby 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (501) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +119 -0
  3. data/apex-ruby.gemspec +31 -0
  4. data/ext/apex_ext/apex_ext.c +215 -0
  5. data/ext/apex_ext/apex_src/BENCHMARK.md +32 -0
  6. data/ext/apex_ext/apex_src/BENCHMARK_COMPARISON.md +67 -0
  7. data/ext/apex_ext/apex_src/CHANGELOG.md +2454 -0
  8. data/ext/apex_ext/apex_src/CMakeLists.txt +454 -0
  9. data/ext/apex_ext/apex_src/Dockerfile.linux-build +15 -0
  10. data/ext/apex_ext/apex_src/Formula/apex.rb +38 -0
  11. data/ext/apex_ext/apex_src/Info.plist.in +27 -0
  12. data/ext/apex_ext/apex_src/LICENSE +21 -0
  13. data/ext/apex_ext/apex_src/Package.swift +160 -0
  14. data/ext/apex_ext/apex_src/PackageSupport/README.md +17 -0
  15. data/ext/apex_ext/apex_src/PackageSupport/cmark-gfm/cmark-gfm_export.h +20 -0
  16. data/ext/apex_ext/apex_src/PackageSupport/cmark-gfm/cmark-gfm_version.h +14 -0
  17. data/ext/apex_ext/apex_src/PackageSupport/cmark-gfm/cmark_gfm_spm_stub.c +4 -0
  18. data/ext/apex_ext/apex_src/PackageSupport/cmark-gfm/config.h +41 -0
  19. data/ext/apex_ext/apex_src/README.md +452 -0
  20. data/ext/apex_ext/apex_src/VERSION +1 -0
  21. data/ext/apex_ext/apex_src/apex-header-2-rb@2x.webp +0 -0
  22. data/ext/apex_ext/apex_src/apex-plugins.json.example +20 -0
  23. data/ext/apex_ext/apex_src/apex.pc.in +11 -0
  24. data/ext/apex_ext/apex_src/cli/main.c +2720 -0
  25. data/ext/apex_ext/apex_src/debug_test.sh +22 -0
  26. data/ext/apex_ext/apex_src/docs/API_REFERENCE.md +451 -0
  27. data/ext/apex_ext/apex_src/docs/ARCHITECTURE.md +166 -0
  28. data/ext/apex_ext/apex_src/docs/CMARK_INTEGRATION.md +220 -0
  29. data/ext/apex_ext/apex_src/docs/CRITICMARKUP.md +501 -0
  30. data/ext/apex_ext/apex_src/docs/DEBUGGING.md +73 -0
  31. data/ext/apex_ext/apex_src/docs/FINAL_STATUS.md +391 -0
  32. data/ext/apex_ext/apex_src/docs/FINAL_STATUS_UPDATE.md +237 -0
  33. data/ext/apex_ext/apex_src/docs/FUTURE_FEATURES.md +456 -0
  34. data/ext/apex_ext/apex_src/docs/IAL_FEATURES.md +210 -0
  35. data/ext/apex_ext/apex_src/docs/IAL_STATUS.md +344 -0
  36. data/ext/apex_ext/apex_src/docs/INTEGRATION_EXAMPLE.m +144 -0
  37. data/ext/apex_ext/apex_src/docs/LIMITATIONS_RESOLVED.md +278 -0
  38. data/ext/apex_ext/apex_src/docs/OUTPUT_MODES.md +321 -0
  39. data/ext/apex_ext/apex_src/docs/PROGRESS.md +167 -0
  40. data/ext/apex_ext/apex_src/docs/STANDALONE_FEATURE.md +174 -0
  41. data/ext/apex_ext/apex_src/docs/TABLE_SPANS_STATUS.md +243 -0
  42. data/ext/apex_ext/apex_src/docs/TEST_COVERAGE.md +316 -0
  43. data/ext/apex_ext/apex_src/docs/USER_GUIDE.md +803 -0
  44. data/ext/apex_ext/apex_src/docs/WIKI_LINKS_ISSUE.md +91 -0
  45. data/ext/apex_ext/apex_src/documentation/README.md +160 -0
  46. data/ext/apex_ext/apex_src/documentation/docsets/Apex Command Line Options.cheatsheet.txt +365 -0
  47. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Info.plist +24 -0
  48. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/C-API.html +1737 -0
  49. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Citations.html +1420 -0
  50. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Command-Line-Options.html +3574 -0
  51. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Configuration.html +1603 -0
  52. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Credits.html +910 -0
  53. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Examples.html +1168 -0
  54. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Getting-Started.html +1003 -0
  55. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Header-IDs.html +1308 -0
  56. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Home.html +1078 -0
  57. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Inline-Attribute-Lists.html +1622 -0
  58. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Installation.html +1168 -0
  59. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Limitations-and-Roadmap.html +1698 -0
  60. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Metadata-Transforms.html +1531 -0
  61. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Modes.html +1980 -0
  62. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Multi-File-Documents.html +1368 -0
  63. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Pandoc-Integration.html +1151 -0
  64. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Plugins.html +2861 -0
  65. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Syntax.html +3981 -0
  66. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Troubleshooting.html +1454 -0
  67. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Usage.html +1200 -0
  68. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Xcode-Integration.html +2066 -0
  69. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/docSet.dsidx +0 -0
  70. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/optimizedIndex.dsidx +0 -0
  71. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/tempOptimizedIndex.dsidx +0 -0
  72. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Info.plist +22 -0
  73. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans.woff +0 -0
  74. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Bold.woff +0 -0
  75. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Bold_Italic.woff +0 -0
  76. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Extrabold.woff +0 -0
  77. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Extrabold_Italic.woff +0 -0
  78. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Italic.woff +0 -0
  79. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Semibold.woff +0 -0
  80. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Semibold_Italic.woff +0 -0
  81. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/index.html +914 -0
  82. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/style.css +399 -0
  83. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/docSet.dsidx +0 -0
  84. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/optimizedIndex.dsidx +0 -0
  85. data/ext/apex_ext/apex_src/documentation/generate_app_docs.rb +772 -0
  86. data/ext/apex_ext/apex_src/documentation/generate_app_docs_ai.rb +678 -0
  87. data/ext/apex_ext/apex_src/documentation/generate_docset.rb +873 -0
  88. data/ext/apex_ext/apex_src/documentation/generate_single_html.rb +733 -0
  89. data/ext/apex_ext/apex_src/documentation/html/apex-docs.html +17073 -0
  90. data/ext/apex_ext/apex_src/documentation/shared_scripts.js +64 -0
  91. data/ext/apex_ext/apex_src/documentation/shared_styles.css +646 -0
  92. data/ext/apex_ext/apex_src/documentation/transform_for_app.example.md +260 -0
  93. data/ext/apex_ext/apex_src/examples/bracketed_spans_demo.md +119 -0
  94. data/ext/apex_ext/apex_src/examples/emoji_span_plugin.yml +11 -0
  95. data/ext/apex_ext/apex_src/examples/example.html +53 -0
  96. data/ext/apex_ext/apex_src/examples/example.md +85 -0
  97. data/ext/apex_ext/apex_src/examples/fenced_divs_demo.md +158 -0
  98. data/ext/apex_ext/apex_src/examples/kbd.md +8 -0
  99. data/ext/apex_ext/apex_src/examples/kbd_plugin.rb +250 -0
  100. data/ext/apex_ext/apex_src/examples/kbd_plugin.yml +9 -0
  101. data/ext/apex_ext/apex_src/icon/apexicon-outline-black.png +0 -0
  102. data/ext/apex_ext/apex_src/icon/apexicon-outline-black@2x.png +0 -0
  103. data/ext/apex_ext/apex_src/icon/apexicon-outline-mark.png +0 -0
  104. data/ext/apex_ext/apex_src/icon/apexicon-outline-mark@2x.png +0 -0
  105. data/ext/apex_ext/apex_src/icon/apexicon-outline-white.png +0 -0
  106. data/ext/apex_ext/apex_src/icon/apexicon-outline-white@2x.png +0 -0
  107. data/ext/apex_ext/apex_src/icon/apexicon.png +0 -0
  108. data/ext/apex_ext/apex_src/icon/apexicon@2x.png +0 -0
  109. data/ext/apex_ext/apex_src/include/apex/apex.h +247 -0
  110. data/ext/apex_ext/apex_src/include/apex/buffer.h +93 -0
  111. data/ext/apex_ext/apex_src/include/apex/module.modulemap +16 -0
  112. data/ext/apex_ext/apex_src/include/apex/parser.h +150 -0
  113. data/ext/apex_ext/apex_src/include/apex/renderer.h +39 -0
  114. data/ext/apex_ext/apex_src/man/apex-config.5 +374 -0
  115. data/ext/apex_ext/apex_src/man/apex-config.5.md +260 -0
  116. data/ext/apex_ext/apex_src/man/apex-plugins.7 +456 -0
  117. data/ext/apex_ext/apex_src/man/apex-plugins.7.md +365 -0
  118. data/ext/apex_ext/apex_src/man/apex.1 +828 -0
  119. data/ext/apex_ext/apex_src/man/apex.1.md +643 -0
  120. data/ext/apex_ext/apex_src/man/apex.1.new +338 -0
  121. data/ext/apex_ext/apex_src/objc/Apex.swift +237 -0
  122. data/ext/apex_ext/apex_src/objc/NSString+Apex.h +117 -0
  123. data/ext/apex_ext/apex_src/objc/NSString+Apex.m +332 -0
  124. data/ext/apex_ext/apex_src/src/_README.md +358 -0
  125. data/ext/apex_ext/apex_src/src/apex.c +6326 -0
  126. data/ext/apex_ext/apex_src/src/buffer.c +93 -0
  127. data/ext/apex_ext/apex_src/src/extensions/abbreviations.c +362 -0
  128. data/ext/apex_ext/apex_src/src/extensions/abbreviations.h +45 -0
  129. data/ext/apex_ext/apex_src/src/extensions/advanced_footnotes.c +184 -0
  130. data/ext/apex_ext/apex_src/src/extensions/advanced_footnotes.h +50 -0
  131. data/ext/apex_ext/apex_src/src/extensions/advanced_tables.c +1897 -0
  132. data/ext/apex_ext/apex_src/src/extensions/advanced_tables.h +42 -0
  133. data/ext/apex_ext/apex_src/src/extensions/callouts.c +215 -0
  134. data/ext/apex_ext/apex_src/src/extensions/callouts.h +53 -0
  135. data/ext/apex_ext/apex_src/src/extensions/citations.c +2042 -0
  136. data/ext/apex_ext/apex_src/src/extensions/citations.h +163 -0
  137. data/ext/apex_ext/apex_src/src/extensions/critic.c +329 -0
  138. data/ext/apex_ext/apex_src/src/extensions/critic.h +48 -0
  139. data/ext/apex_ext/apex_src/src/extensions/definition_list.c +1670 -0
  140. data/ext/apex_ext/apex_src/src/extensions/definition_list.h +42 -0
  141. data/ext/apex_ext/apex_src/src/extensions/emoji.c +710 -0
  142. data/ext/apex_ext/apex_src/src/extensions/emoji.h +38 -0
  143. data/ext/apex_ext/apex_src/src/extensions/emoji_data.h +942 -0
  144. data/ext/apex_ext/apex_src/src/extensions/fenced_divs.c +925 -0
  145. data/ext/apex_ext/apex_src/src/extensions/fenced_divs.h +43 -0
  146. data/ext/apex_ext/apex_src/src/extensions/github-emoji.txt +869 -0
  147. data/ext/apex_ext/apex_src/src/extensions/grid_tables.c +1121 -0
  148. data/ext/apex_ext/apex_src/src/extensions/grid_tables.h +33 -0
  149. data/ext/apex_ext/apex_src/src/extensions/header_ids.c +626 -0
  150. data/ext/apex_ext/apex_src/src/extensions/header_ids.h +60 -0
  151. data/ext/apex_ext/apex_src/src/extensions/highlight.c +135 -0
  152. data/ext/apex_ext/apex_src/src/extensions/highlight.h +16 -0
  153. data/ext/apex_ext/apex_src/src/extensions/html_markdown.c +408 -0
  154. data/ext/apex_ext/apex_src/src/extensions/html_markdown.h +42 -0
  155. data/ext/apex_ext/apex_src/src/extensions/ial.c +4084 -0
  156. data/ext/apex_ext/apex_src/src/extensions/ial.h +145 -0
  157. data/ext/apex_ext/apex_src/src/extensions/includes.c +1536 -0
  158. data/ext/apex_ext/apex_src/src/extensions/includes.h +54 -0
  159. data/ext/apex_ext/apex_src/src/extensions/index.c +967 -0
  160. data/ext/apex_ext/apex_src/src/extensions/index.h +90 -0
  161. data/ext/apex_ext/apex_src/src/extensions/inline_footnotes.c +205 -0
  162. data/ext/apex_ext/apex_src/src/extensions/inline_footnotes.h +34 -0
  163. data/ext/apex_ext/apex_src/src/extensions/inline_tables.c +332 -0
  164. data/ext/apex_ext/apex_src/src/extensions/inline_tables.h +13 -0
  165. data/ext/apex_ext/apex_src/src/extensions/insert.c +248 -0
  166. data/ext/apex_ext/apex_src/src/extensions/insert.h +18 -0
  167. data/ext/apex_ext/apex_src/src/extensions/math.c +279 -0
  168. data/ext/apex_ext/apex_src/src/extensions/math.h +32 -0
  169. data/ext/apex_ext/apex_src/src/extensions/metadata.c +3046 -0
  170. data/ext/apex_ext/apex_src/src/extensions/metadata.h +125 -0
  171. data/ext/apex_ext/apex_src/src/extensions/relaxed_tables.c +1297 -0
  172. data/ext/apex_ext/apex_src/src/extensions/relaxed_tables.h +39 -0
  173. data/ext/apex_ext/apex_src/src/extensions/special_markers.c +194 -0
  174. data/ext/apex_ext/apex_src/src/extensions/special_markers.h +29 -0
  175. data/ext/apex_ext/apex_src/src/extensions/sup_sub.c +405 -0
  176. data/ext/apex_ext/apex_src/src/extensions/sup_sub.h +16 -0
  177. data/ext/apex_ext/apex_src/src/extensions/syntax_highlight.c +468 -0
  178. data/ext/apex_ext/apex_src/src/extensions/syntax_highlight.h +44 -0
  179. data/ext/apex_ext/apex_src/src/extensions/table_html_postprocess.c +2679 -0
  180. data/ext/apex_ext/apex_src/src/extensions/table_html_postprocess.h +23 -0
  181. data/ext/apex_ext/apex_src/src/extensions/toc.c +255 -0
  182. data/ext/apex_ext/apex_src/src/extensions/toc.h +34 -0
  183. data/ext/apex_ext/apex_src/src/extensions/wiki_links.c +624 -0
  184. data/ext/apex_ext/apex_src/src/extensions/wiki_links.h +58 -0
  185. data/ext/apex_ext/apex_src/src/html_renderer.c +2762 -0
  186. data/ext/apex_ext/apex_src/src/html_renderer.h +126 -0
  187. data/ext/apex_ext/apex_src/src/parser.c +227 -0
  188. data/ext/apex_ext/apex_src/src/plugins.c +895 -0
  189. data/ext/apex_ext/apex_src/src/plugins.h +39 -0
  190. data/ext/apex_ext/apex_src/src/plugins_env.c +187 -0
  191. data/ext/apex_ext/apex_src/src/plugins_remote.c +263 -0
  192. data/ext/apex_ext/apex_src/src/pretty_html.c +358 -0
  193. data/ext/apex_ext/apex_src/src/renderer.c +241 -0
  194. data/ext/apex_ext/apex_src/src/utf8.c +56 -0
  195. data/ext/apex_ext/apex_src/test-linux-build.sh +20 -0
  196. data/ext/apex_ext/apex_src/test.html +103 -0
  197. data/ext/apex_ext/apex_src/test_coverage.sh +121 -0
  198. data/ext/apex_ext/apex_src/test_ial_fenced.md +6 -0
  199. data/ext/apex_ext/apex_src/test_math_norm.py +79 -0
  200. data/ext/apex_ext/apex_src/test_pandoc_output.html +48 -0
  201. data/ext/apex_ext/apex_src/test_spm.sh +107 -0
  202. data/ext/apex_ext/apex_src/tests/ApexSPMTest/main.swift +50 -0
  203. data/ext/apex_ext/apex_src/tests/BENCHMARK_RESULTS.md +229 -0
  204. data/ext/apex_ext/apex_src/tests/CMakeLists.txt +24 -0
  205. data/ext/apex_ext/apex_src/tests/README.md +146 -0
  206. data/ext/apex_ext/apex_src/tests/benchmark.sh +113 -0
  207. data/ext/apex_ext/apex_src/tests/benchmark_comparison.sh +166 -0
  208. data/ext/apex_ext/apex_src/tests/compare_header_ids.sh +31 -0
  209. data/ext/apex_ext/apex_src/tests/fixtures/basic/headers.md +25 -0
  210. data/ext/apex_ext/apex_src/tests/fixtures/basic/list-interruption.md +24 -0
  211. data/ext/apex_ext/apex_src/tests/fixtures/basic/misc_markup.md +33 -0
  212. data/ext/apex_ext/apex_src/tests/fixtures/basic/test_basic.md +26 -0
  213. data/ext/apex_ext/apex_src/tests/fixtures/code/code-blocks.md +260 -0
  214. data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/SUMMARY.md +6 -0
  215. data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/chapter1.md +7 -0
  216. data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/index.txt +9 -0
  217. data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/intro.md +5 -0
  218. data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/section1_1.md +5 -0
  219. data/ext/apex_ext/apex_src/tests/fixtures/comprehensive_test.md +620 -0
  220. data/ext/apex_ext/apex_src/tests/fixtures/debug_ref_image_ial.md +3 -0
  221. data/ext/apex_ext/apex_src/tests/fixtures/demos/ial.md +11 -0
  222. data/ext/apex_ext/apex_src/tests/fixtures/demos/ial_demo.md +177 -0
  223. data/ext/apex_ext/apex_src/tests/fixtures/extensions/emoji-autocorrect.md +94 -0
  224. data/ext/apex_ext/apex_src/tests/fixtures/extensions/emoji_test.md +3 -0
  225. data/ext/apex_ext/apex_src/tests/fixtures/extensions/kbd_test.md +3 -0
  226. data/ext/apex_ext/apex_src/tests/fixtures/ial/bracketed_spans_test.md +74 -0
  227. data/ext/apex_ext/apex_src/tests/fixtures/images/image_and_encoding_test.md +27 -0
  228. data/ext/apex_ext/apex_src/tests/fixtures/images/multimarkdown_image_attributes_test.md +60 -0
  229. data/ext/apex_ext/apex_src/tests/fixtures/images/pandoc_ial_image_test.md +27 -0
  230. data/ext/apex_ext/apex_src/tests/fixtures/images/width_height_conversion_test.md +94 -0
  231. data/ext/apex_ext/apex_src/tests/fixtures/img-in-div.md +16 -0
  232. data/ext/apex_ext/apex_src/tests/fixtures/includes/code.py +4 -0
  233. data/ext/apex_ext/apex_src/tests/fixtures/includes/data.csv +5 -0
  234. data/ext/apex_ext/apex_src/tests/fixtures/includes/data.tsv +5 -0
  235. data/ext/apex_ext/apex_src/tests/fixtures/includes/image.png +2 -0
  236. data/ext/apex_ext/apex_src/tests/fixtures/includes/metadata_options.yml +11 -0
  237. data/ext/apex_ext/apex_src/tests/fixtures/includes/nested.md +8 -0
  238. data/ext/apex_ext/apex_src/tests/fixtures/includes/raw.html +4 -0
  239. data/ext/apex_ext/apex_src/tests/fixtures/includes/simple.md +7 -0
  240. data/ext/apex_ext/apex_src/tests/fixtures/includes/test_image.png +0 -0
  241. data/ext/apex_ext/apex_src/tests/fixtures/large_doc.md +1094 -0
  242. data/ext/apex_ext/apex_src/tests/fixtures/metadata_options.yml +11 -0
  243. data/ext/apex_ext/apex_src/tests/fixtures/output/gfm_header_id_test.md +96 -0
  244. data/ext/apex_ext/apex_src/tests/fixtures/output/test_citations.md +43 -0
  245. data/ext/apex_ext/apex_src/tests/fixtures/output/test_def_list_links.md +12 -0
  246. data/ext/apex_ext/apex_src/tests/fixtures/output/test_index_mmark.md +53 -0
  247. data/ext/apex_ext/apex_src/tests/fixtures/output/test_index_textindex.md +37 -0
  248. data/ext/apex_ext/apex_src/tests/fixtures/tables/advanced_tables_test.md +93 -0
  249. data/ext/apex_ext/apex_src/tests/fixtures/tables/inline_tables_test.md +38 -0
  250. data/ext/apex_ext/apex_src/tests/fixtures/tables/relaxed-table.md +12 -0
  251. data/ext/apex_ext/apex_src/tests/fixtures/tables/table_cr_line_endings.md +15 -0
  252. data/ext/apex_ext/apex_src/tests/fixtures/tables/table_no_trailing_newline.md +15 -0
  253. data/ext/apex_ext/apex_src/tests/generate_gfm_ids.sh +105 -0
  254. data/ext/apex_ext/apex_src/tests/generate_ial_demo.sh +143 -0
  255. data/ext/apex_ext/apex_src/tests/gfm_id_comparison_summary.md +96 -0
  256. data/ext/apex_ext/apex_src/tests/gh_api_test.md +6 -0
  257. data/ext/apex_ext/apex_src/tests/ial_demo.html +186 -0
  258. data/ext/apex_ext/apex_src/tests/include_code.py +19 -0
  259. data/ext/apex_ext/apex_src/tests/include_snippet.md +15 -0
  260. data/ext/apex_ext/apex_src/tests/multi_file_cli_test.sh +64 -0
  261. data/ext/apex_ext/apex_src/tests/sample_data.csv +7 -0
  262. data/ext/apex_ext/apex_src/tests/table_escaped_ltlt.md +4 -0
  263. data/ext/apex_ext/apex_src/tests/test_basic.c +74 -0
  264. data/ext/apex_ext/apex_src/tests/test_extensions.c +2116 -0
  265. data/ext/apex_ext/apex_src/tests/test_helpers.c +183 -0
  266. data/ext/apex_ext/apex_src/tests/test_helpers.h +91 -0
  267. data/ext/apex_ext/apex_src/tests/test_ial.c +282 -0
  268. data/ext/apex_ext/apex_src/tests/test_links.c +418 -0
  269. data/ext/apex_ext/apex_src/tests/test_marked_integration.c +265 -0
  270. data/ext/apex_ext/apex_src/tests/test_metadata.c +908 -0
  271. data/ext/apex_ext/apex_src/tests/test_output.c +1118 -0
  272. data/ext/apex_ext/apex_src/tests/test_plugins.c +219 -0
  273. data/ext/apex_ext/apex_src/tests/test_refs.bib +31 -0
  274. data/ext/apex_ext/apex_src/tests/test_runner.c +244 -0
  275. data/ext/apex_ext/apex_src/tests/test_syntax_highlight.c +198 -0
  276. data/ext/apex_ext/apex_src/tests/test_tables.c +862 -0
  277. data/ext/apex_ext/apex_src/tests/update_benchmarks.sh +9 -0
  278. data/ext/apex_ext/apex_src/tests/yaml_test.md +13 -0
  279. data/ext/apex_ext/apex_src/tests.rb +39 -0
  280. data/ext/apex_ext/apex_src/vendor/cmark-gfm/CMakeLists.txt +48 -0
  281. data/ext/apex_ext/apex_src/vendor/cmark-gfm/COPYING +170 -0
  282. data/ext/apex_ext/apex_src/vendor/cmark-gfm/CheckFileOffsetBits.c +14 -0
  283. data/ext/apex_ext/apex_src/vendor/cmark-gfm/CheckFileOffsetBits.cmake +43 -0
  284. data/ext/apex_ext/apex_src/vendor/cmark-gfm/FindAsan.cmake +74 -0
  285. data/ext/apex_ext/apex_src/vendor/cmark-gfm/Makefile.nmake +38 -0
  286. data/ext/apex_ext/apex_src/vendor/cmark-gfm/README.md +206 -0
  287. data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/CMakeLists.txt +30 -0
  288. data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/cplusplus.cpp +15 -0
  289. data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/cplusplus.h +16 -0
  290. data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/harness.c +111 -0
  291. data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/harness.h +35 -0
  292. data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/main.c +1169 -0
  293. data/ext/apex_ext/apex_src/vendor/cmark-gfm/appveyor.yml +21 -0
  294. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-bq-flat.md +16 -0
  295. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-bq-nested.md +13 -0
  296. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-code.md +11 -0
  297. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-fences.md +14 -0
  298. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-heading.md +9 -0
  299. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-hr.md +10 -0
  300. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-html.md +32 -0
  301. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-lheading.md +8 -0
  302. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-list-flat.md +67 -0
  303. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-list-nested.md +36 -0
  304. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-ref-flat.md +15 -0
  305. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-ref-nested.md +17 -0
  306. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-autolink.md +14 -0
  307. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-backticks.md +3 -0
  308. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-em-flat.md +5 -0
  309. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-em-nested.md +5 -0
  310. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-em-worst.md +5 -0
  311. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-entity.md +11 -0
  312. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-escape.md +15 -0
  313. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-html.md +44 -0
  314. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-links-flat.md +23 -0
  315. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-links-nested.md +13 -0
  316. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-newlines.md +24 -0
  317. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/lorem1.md +13 -0
  318. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/rawtabs.md +18 -0
  319. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/statistics.py +595 -0
  320. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/stats.py +19 -0
  321. data/ext/apex_ext/apex_src/vendor/cmark-gfm/benchmarks.md +33 -0
  322. data/ext/apex_ext/apex_src/vendor/cmark-gfm/changelog.txt +1245 -0
  323. data/ext/apex_ext/apex_src/vendor/cmark-gfm/data/CaseFolding.txt +1495 -0
  324. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/CMakeLists.txt +119 -0
  325. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/autolink.c +508 -0
  326. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/autolink.h +8 -0
  327. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/cmark-gfm-core-extensions.h +54 -0
  328. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/core-extensions.c +27 -0
  329. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/ext_scanners.c +879 -0
  330. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/ext_scanners.h +24 -0
  331. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/ext_scanners.re +92 -0
  332. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/strikethrough.c +167 -0
  333. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/strikethrough.h +9 -0
  334. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/table.c +917 -0
  335. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/table.h +12 -0
  336. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/tagfilter.c +60 -0
  337. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/tagfilter.h +8 -0
  338. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/tasklist.c +156 -0
  339. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/tasklist.h +8 -0
  340. data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/CMakeLists.txt +22 -0
  341. data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/README.md +12 -0
  342. data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/fuzz_quadratic.c +91 -0
  343. data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/fuzz_quadratic_brackets.c +110 -0
  344. data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/fuzzloop.sh +28 -0
  345. data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/CMakeLists.txt +10 -0
  346. data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/make_man_page.py +133 -0
  347. data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/man1/cmark-gfm.1 +78 -0
  348. data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/man3/cmark-gfm.3 +1041 -0
  349. data/ext/apex_ext/apex_src/vendor/cmark-gfm/nmake.bat +1 -0
  350. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/CMakeLists.txt +230 -0
  351. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/arena.c +104 -0
  352. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/blocks.c +1622 -0
  353. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/buffer.c +278 -0
  354. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/buffer.h +116 -0
  355. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/case_fold_switch.inc +4327 -0
  356. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/chunk.h +135 -0
  357. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/cmark-gfm-extension_api.h +737 -0
  358. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/cmark-gfm.h +833 -0
  359. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/cmark-gfm_version.h.in +7 -0
  360. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/cmark.c +55 -0
  361. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/cmark_ctype.c +44 -0
  362. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/cmark_ctype.h +33 -0
  363. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/commonmark.c +514 -0
  364. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/config.h.in +76 -0
  365. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/entities.inc +2138 -0
  366. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/footnotes.c +63 -0
  367. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/footnotes.h +27 -0
  368. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/houdini.h +57 -0
  369. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/houdini_href_e.c +100 -0
  370. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/houdini_html_e.c +66 -0
  371. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/houdini_html_u.c +149 -0
  372. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/html.c +502 -0
  373. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/html.h +27 -0
  374. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/inlines.c +1788 -0
  375. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/inlines.h +29 -0
  376. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/iterator.c +159 -0
  377. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/iterator.h +26 -0
  378. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/latex.c +468 -0
  379. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/libcmark-gfm.pc.in +10 -0
  380. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/linked_list.c +37 -0
  381. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/main.c +328 -0
  382. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/man.c +274 -0
  383. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/map.c +129 -0
  384. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/map.h +44 -0
  385. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/node.c +1045 -0
  386. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/node.h +167 -0
  387. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/parser.h +59 -0
  388. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/plaintext.c +218 -0
  389. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/plugin.c +36 -0
  390. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/plugin.h +34 -0
  391. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/references.c +43 -0
  392. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/references.h +26 -0
  393. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/registry.c +63 -0
  394. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/registry.h +24 -0
  395. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/render.c +213 -0
  396. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/render.h +62 -0
  397. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/scanners.c +14056 -0
  398. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/scanners.h +70 -0
  399. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/scanners.re +365 -0
  400. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/syntax_extension.c +149 -0
  401. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/syntax_extension.h +34 -0
  402. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/utf8.c +317 -0
  403. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/utf8.h +35 -0
  404. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/xml.c +182 -0
  405. data/ext/apex_ext/apex_src/vendor/cmark-gfm/suppressions +10 -0
  406. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/CMakeLists.txt +114 -0
  407. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/afl_test_cases/test.md +49 -0
  408. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/cmark-fuzz.c +58 -0
  409. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/cmark.py +105 -0
  410. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/entity_tests.py +67 -0
  411. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/extensions-full-info-string.txt +0 -0
  412. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/extensions-table-prefer-style-attributes.txt +38 -0
  413. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/extensions.txt +920 -0
  414. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/fuzzing_dictionary +67 -0
  415. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/normalize.py +194 -0
  416. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/pathological_tests.py +160 -0
  417. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/regression.txt +375 -0
  418. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/roundtrip_tests.py +50 -0
  419. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/run-cmark-fuzz +4 -0
  420. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/smart_punct.txt +177 -0
  421. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/spec.txt +10212 -0
  422. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/spec_tests.py +152 -0
  423. data/ext/apex_ext/apex_src/vendor/cmark-gfm/toolchain-mingw32.cmake +17 -0
  424. data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/Dockerfile +41 -0
  425. data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/appveyor-build.bat +13 -0
  426. data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/make_entities_inc.py +32 -0
  427. data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/mkcasefold.pl +22 -0
  428. data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/xml2md.xsl +319 -0
  429. data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/xml2md_gfm.xsl +80 -0
  430. data/ext/apex_ext/apex_src/vendor/cmark-gfm/why-cmark-and-not-x.md +104 -0
  431. data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.js +6 -0
  432. data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.py +37 -0
  433. data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.rb +15 -0
  434. data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.rkt +208 -0
  435. data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper_ext.py +109 -0
  436. data/ext/apex_ext/apex_src/vendor/libyaml/CMakeLists.txt +160 -0
  437. data/ext/apex_ext/apex_src/vendor/libyaml/Changes +372 -0
  438. data/ext/apex_ext/apex_src/vendor/libyaml/License +20 -0
  439. data/ext/apex_ext/apex_src/vendor/libyaml/Makefile.am +51 -0
  440. data/ext/apex_ext/apex_src/vendor/libyaml/ReadMe.md +46 -0
  441. data/ext/apex_ext/apex_src/vendor/libyaml/announcement.msg +89 -0
  442. data/ext/apex_ext/apex_src/vendor/libyaml/bootstrap +3 -0
  443. data/ext/apex_ext/apex_src/vendor/libyaml/cmake/config.h.in +4 -0
  444. data/ext/apex_ext/apex_src/vendor/libyaml/configure.ac +73 -0
  445. data/ext/apex_ext/apex_src/vendor/libyaml/doc/doxygen.cfg +222 -0
  446. data/ext/apex_ext/apex_src/vendor/libyaml/docker/README.mkd +17 -0
  447. data/ext/apex_ext/apex_src/vendor/libyaml/docker/alpine-3.7 +26 -0
  448. data/ext/apex_ext/apex_src/vendor/libyaml/docker/fedora-25 +26 -0
  449. data/ext/apex_ext/apex_src/vendor/libyaml/docker/ubuntu-14.04 +29 -0
  450. data/ext/apex_ext/apex_src/vendor/libyaml/docker/ubuntu-16.04 +24 -0
  451. data/ext/apex_ext/apex_src/vendor/libyaml/examples/anchors.yaml +10 -0
  452. data/ext/apex_ext/apex_src/vendor/libyaml/examples/array.yaml +2 -0
  453. data/ext/apex_ext/apex_src/vendor/libyaml/examples/global-tag.yaml +14 -0
  454. data/ext/apex_ext/apex_src/vendor/libyaml/examples/json.yaml +1 -0
  455. data/ext/apex_ext/apex_src/vendor/libyaml/examples/mapping.yaml +2 -0
  456. data/ext/apex_ext/apex_src/vendor/libyaml/examples/numbers.yaml +1 -0
  457. data/ext/apex_ext/apex_src/vendor/libyaml/examples/strings.yaml +7 -0
  458. data/ext/apex_ext/apex_src/vendor/libyaml/examples/tags.yaml +7 -0
  459. data/ext/apex_ext/apex_src/vendor/libyaml/examples/yaml-version.yaml +3 -0
  460. data/ext/apex_ext/apex_src/vendor/libyaml/include/Makefile.am +17 -0
  461. data/ext/apex_ext/apex_src/vendor/libyaml/include/yaml.h +1999 -0
  462. data/ext/apex_ext/apex_src/vendor/libyaml/pkg/ReadMe.md +77 -0
  463. data/ext/apex_ext/apex_src/vendor/libyaml/pkg/docker/Dockerfile +32 -0
  464. data/ext/apex_ext/apex_src/vendor/libyaml/pkg/docker/output/ReadMe +1 -0
  465. data/ext/apex_ext/apex_src/vendor/libyaml/pkg/docker/scripts/libyaml-dist.sh +23 -0
  466. data/ext/apex_ext/apex_src/vendor/libyaml/regression-inputs/clusterfuzz-testcase-minimized-5607885063061504.yml +1 -0
  467. data/ext/apex_ext/apex_src/vendor/libyaml/src/Makefile.am +4 -0
  468. data/ext/apex_ext/apex_src/vendor/libyaml/src/api.c +1393 -0
  469. data/ext/apex_ext/apex_src/vendor/libyaml/src/dumper.c +394 -0
  470. data/ext/apex_ext/apex_src/vendor/libyaml/src/emitter.c +2358 -0
  471. data/ext/apex_ext/apex_src/vendor/libyaml/src/loader.c +544 -0
  472. data/ext/apex_ext/apex_src/vendor/libyaml/src/parser.c +1416 -0
  473. data/ext/apex_ext/apex_src/vendor/libyaml/src/reader.c +469 -0
  474. data/ext/apex_ext/apex_src/vendor/libyaml/src/scanner.c +3598 -0
  475. data/ext/apex_ext/apex_src/vendor/libyaml/src/writer.c +141 -0
  476. data/ext/apex_ext/apex_src/vendor/libyaml/src/yaml_private.h +684 -0
  477. data/ext/apex_ext/apex_src/vendor/libyaml/tests/CMakeLists.txt +27 -0
  478. data/ext/apex_ext/apex_src/vendor/libyaml/tests/Makefile.am +9 -0
  479. data/ext/apex_ext/apex_src/vendor/libyaml/tests/ReadMe.md +63 -0
  480. data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-deconstructor-alt.c +800 -0
  481. data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-deconstructor.c +1127 -0
  482. data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-reformatter-alt.c +217 -0
  483. data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-reformatter.c +202 -0
  484. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-all-tests.sh +29 -0
  485. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-dumper.c +314 -0
  486. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-emitter-test-suite.c +290 -0
  487. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-emitter.c +327 -0
  488. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-loader.c +63 -0
  489. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-parser-test-suite.c +196 -0
  490. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-parser.c +88 -0
  491. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-scanner.c +63 -0
  492. data/ext/apex_ext/apex_src/vendor/libyaml/tests/test-reader.c +354 -0
  493. data/ext/apex_ext/apex_src/vendor/libyaml/tests/test-version.c +29 -0
  494. data/ext/apex_ext/apex_src/vendor/libyaml/yaml-0.1.pc.in +10 -0
  495. data/ext/apex_ext/apex_src/vendor/libyaml/yamlConfig.cmake.in +16 -0
  496. data/ext/apex_ext/extconf.rb +103 -0
  497. data/lib/apex/configurable.rb +46 -0
  498. data/lib/apex/document.rb +66 -0
  499. data/lib/apex/version.rb +15 -0
  500. data/lib/apex.rb +28 -0
  501. metadata +544 -0
@@ -0,0 +1,260 @@
1
+ # Documentation Transformation Instructions for App Usage
2
+
3
+ This file contains instructions for transforming Apex documentation from command-line focused to app-focused (e.g., for Marked.app). Copy this file to `transform_for_app.md` and edit it as needed for your specific app.
4
+
5
+ ## General Transformation Rules
6
+
7
+ ### 1. Replace CLI Flags with Settings References
8
+
9
+ Replace all command-line flags with app settings paths using the format: `Settings->Category->Setting Name`
10
+
11
+ **Examples:**
12
+ - `--plugins` → `Settings->Processor->Include Plugins`
13
+ - `--mode unified` → Select `unified` in **Settings->Processor->Mode**
14
+ - `--meta-file FILE` → Select a metadata file in **Settings->Processor->Metadata File**, or specify a file in document metadata
15
+ - `--bibliography FILE` → Add bibliography files to the list in **Settings->Processor->Citations**, or specify in document metadata
16
+
17
+ **Patterns to replace:**
18
+ - `--[no-]flag` → `Settings->Category->Setting Name` (with enable/disable context)
19
+ - `--flag VALUE` → Set the value in **Settings->Category->Setting Name**
20
+ - `apex document.md --flag` → Use **Settings->Category->Setting Name** in the app
21
+
22
+ ### 2. Remove Command-Line Examples
23
+
24
+ Remove all code blocks that contain only command-line examples. These are not relevant in an app context where the app handles execution.
25
+
26
+ **What to remove:**
27
+ - Code blocks showing `apex` commands
28
+ - Code blocks showing command-line usage examples
29
+ - Examples like:
30
+ ```bash
31
+ apex document.md --mode unified
32
+ apex --plugins document.md
33
+ ```
34
+
35
+ **What to keep:**
36
+ - Code blocks showing Markdown syntax examples
37
+ - Code blocks showing configuration file examples (YAML, JSON, etc.)
38
+ - Code blocks showing actual code (Python, Ruby, etc.)
39
+
40
+ ### 3. Remove References to Command Line Options
41
+
42
+ - Remove all links to "Command Line Options" page
43
+ - Remove phrases like "See [Command Line Options](Command-Line-Options) for details"
44
+ - Replace with app-specific instructions or remove entirely
45
+
46
+ ### 4. Rewrite Usage Instructions
47
+
48
+ Transform instructions from "how to run commands" to "how to use the app":
49
+
50
+ **Before:**
51
+ > Use the `--mode` flag to select the processor mode.
52
+
53
+ **After:**
54
+ > Select the processor mode from **Settings->Processor->Mode**.
55
+
56
+ **Before:**
57
+ > Run `apex document.md --plugins` to enable plugins.
58
+
59
+ **After:**
60
+ > Enable plugins by checking **Settings->Processor->Include Plugins**.
61
+
62
+ ## Page-Specific Transformations
63
+
64
+ ### Multi-File-Documents
65
+
66
+ **Key changes:**
67
+ 1. Indicate that Marked will automatically detect the file format for merge documents
68
+ 2. Specify that mmd-merge documents must start with a `#merge` line to be automatically detected
69
+ 3. Replace CLI examples with app usage instructions
70
+
71
+ **Example transformation:**
72
+ - Add: "Marked will automatically detect the file format for merge documents."
73
+ - Add: "MMD merge documents must start with a `#merge` line to be automatically detected by Marked."
74
+ - Replace: "Use `apex --combine file1.md file2.md`" → "Select multiple files and enable **Settings->Processor->Combine Files**"
75
+
76
+ ### Plugins
77
+
78
+ **Key changes:**
79
+ 1. Indicate that Marked has an "Install Plugins" option that allows selecting a plugin directory and automatically installing to `~/.config/apex/plugins`
80
+ 2. Mention that Marked lists available plugins in a Plugins panel within Processor settings
81
+ 3. Remove all references and links to "Command Line Options"
82
+ 4. Replace CLI installation examples with app-based installation instructions
83
+
84
+ **Example transformation:**
85
+ - Add: "Marked provides an **Install Plugins** option that allows you to select a plugin directory on your disk and have it automatically installed to `~/.config/apex/plugins`."
86
+ - Add: "Marked will list available plugins in a **Plugins panel** within the Processor settings."
87
+ - Remove: "Install plugins using `apex --install-plugin ID-or-URL`"
88
+
89
+ ### Modes
90
+
91
+ **Key changes:**
92
+ 1. Rewrite to indicate that modes (unified, multimarkdown, commonmark, kramdown, gfm) can be selected from the Settings->Processor panel
93
+ 2. Keep the descriptions of the modes the same
94
+ 3. Remove CLI command examples
95
+ 4. Remove links to "Command Line Options"
96
+
97
+ **Example transformation:**
98
+ - Replace: "Use `--mode unified` to enable unified mode" → "Select `unified` from **Settings->Processor->Mode**"
99
+ - Keep: All mode descriptions and feature lists
100
+ - Remove: All `apex --mode` examples
101
+
102
+ ### Header IDs
103
+
104
+ **Key changes:**
105
+ 1. Reference a Settings->Processor->Header IDs option that will be a dropdown for selecting the header ID mode
106
+ 2. Remove CLI command examples
107
+ 3. Remove links to "Command Line Options"
108
+
109
+ **Example transformation:**
110
+ - Replace: "Use `--id-format gfm`" → "Select `gfm` from **Settings->Processor->Header ID Format**"
111
+ - Replace: "Disable with `--no-ids`" → "Disable in **Settings->Processor->Generate Header IDs**"
112
+
113
+ ### Citations
114
+
115
+ **Key changes:**
116
+ 1. Mention that bibliography files can be added to a list in Settings->Processor->Citations, or specified in document metadata
117
+ 2. Remove CLI command examples
118
+ 3. Remove links to "Command Line Options"
119
+
120
+ **Example transformation:**
121
+ - Replace: "Use `--bibliography refs.bib`" → "Add bibliography files to the list in **Settings->Processor->Citations**, or specify in document metadata"
122
+ - Keep: All citation syntax examples
123
+
124
+ ### Syntax
125
+
126
+ **Key changes:**
127
+ 1. Replace all CLI flag references with Settings references
128
+ 2. Remove CLI command examples
129
+ 3. Remove links to "Command Line Options"
130
+ 4. Keep all syntax examples and feature descriptions
131
+
132
+ **Example transformation:**
133
+ - Replace: "Use `--sup-sub` to enable" → "Enable in **Settings->Processor->Superscript/Subscript**"
134
+ - Replace: "Use `--autolink` to enable" → "Enable **Settings->Processor->Autolinks**"
135
+ - Remove: All `apex --flag` command examples
136
+
137
+ ### Inline-Attribute-Lists
138
+
139
+ **Key changes:**
140
+ 1. Remove CLI references
141
+ 2. Remove links to "Command Line Options"
142
+ 3. Keep all syntax examples
143
+
144
+ ### Metadata-Transforms
145
+
146
+ **Key changes:**
147
+ 1. Remove CLI references
148
+ 2. Remove links to "Command Line Options"
149
+ 3. Keep all transform syntax examples and descriptions
150
+
151
+ ### Credits
152
+
153
+ **Key changes:**
154
+ - No specific app-focused transformations needed (primarily lists external projects)
155
+ - Keep content as-is
156
+
157
+ ## Settings Path Structure
158
+
159
+ Use this structure for Settings references:
160
+
161
+ ```
162
+ Settings->Category->Setting Name
163
+ ```
164
+
165
+ **Categories:**
166
+ - **General**: General app settings (e.g., Show Progress)
167
+ - **Processor**: Processing options (e.g., Mode, Plugins, Header IDs)
168
+ - **Output**: Output formatting options (e.g., Standalone HTML, CSS File)
169
+
170
+ **Examples:**
171
+ - `Settings->Processor->Mode`
172
+ - `Settings->Processor->Include Plugins`
173
+ - `Settings->Processor->Header ID Format`
174
+ - `Settings->Processor->Citations`
175
+ - `Settings->Output->Standalone HTML`
176
+ - `Settings->Output->CSS File`
177
+
178
+ ## Formatting Guidelines
179
+
180
+ ### Settings References
181
+
182
+ - Use **bold** for Settings paths: **Settings->Processor->Mode**
183
+ - Use **bold** for UI elements: **Plugins panel**, **Install Plugins** option
184
+ - Use regular text for descriptive phrases: "select from", "enable by checking"
185
+
186
+ ### Code Blocks
187
+
188
+ - Keep Markdown syntax examples in code blocks
189
+ - Keep configuration file examples (YAML, JSON) in code blocks
190
+ - Remove command-line execution examples
191
+ - When showing app usage, use descriptive text instead of code blocks
192
+
193
+ ### Links
194
+
195
+ - Remove links to "Command Line Options"
196
+ - Keep internal links to other documentation pages (Syntax, Modes, etc.)
197
+ - Update links to reference app features where appropriate
198
+
199
+ ## Quality Checklist
200
+
201
+ After transformation, verify:
202
+
203
+ - [ ] All CLI flags replaced with Settings references
204
+ - [ ] All command-line examples removed
205
+ - [ ] All links to "Command Line Options" removed
206
+ - [ ] App-specific instructions added where appropriate
207
+ - [ ] Markdown syntax examples preserved
208
+ - [ ] Configuration examples preserved
209
+ - [ ] Page-specific transformations applied
210
+ - [ ] Settings paths use consistent formatting
211
+ - [ ] Text flows naturally without CLI references
212
+ - [ ] No broken internal links
213
+
214
+ ## Example: Before and After
215
+
216
+ ### Before (CLI-focused)
217
+
218
+ ```markdown
219
+ ## Enabling Plugins
220
+
221
+ Plugins are disabled by default. To enable them, use the `--plugins` flag:
222
+
223
+ ```bash
224
+ apex document.md --plugins
225
+ ```
226
+
227
+ You can also install plugins using:
228
+
229
+ ```bash
230
+ apex --install-plugin kbd
231
+ ```
232
+
233
+ See [Command Line Options](Command-Line-Options) for all plugin-related flags.
234
+ ```
235
+
236
+ ### After (App-focused)
237
+
238
+ ```markdown
239
+ ## Enabling Plugins
240
+
241
+ Plugins are disabled by default. Enable plugins by checking **Settings->Processor->Include Plugins**.
242
+
243
+ You can also enable plugins in document metadata (in the document's front matter):
244
+
245
+ ```yaml
246
+ ---
247
+ title: Plugin demo
248
+ plugins: true
249
+ ---
250
+ ```
251
+
252
+ Marked provides an **Install Plugins** option that allows you to select a plugin directory on your disk and have it automatically installed to `~/.config/apex/plugins`. Marked will list available plugins in a **Plugins panel** within the Processor settings.
253
+ ```
254
+
255
+ ## Notes
256
+
257
+ - This transformation is designed for apps like Marked.app that provide a GUI for Apex
258
+ - The goal is to make documentation user-friendly for app users who don't use the command line
259
+ - Settings paths are suggestions and should be adjusted to match your app's actual settings structure
260
+ - Some pages may need additional app-specific context beyond these general rules
@@ -0,0 +1,119 @@
1
+ # Bracketed Spans Demo
2
+
3
+ Bracketed spans are a Pandoc-inspired feature that allows you to create HTML `<span>` elements with attributes using the syntax `[text]{IAL}`. The text inside the brackets is processed as markdown, and the IAL (Inline Attribute List) provides HTML attributes.
4
+
5
+ ## Basic Usage
6
+
7
+ This is [some *text*]{.highlight} with a class.
8
+
9
+ This is [another example]{#custom-id .important} with an ID
10
+ and class.
11
+
12
+ This is [text with **bold**]{.bold-style} that processes
13
+ markdown inside.
14
+
15
+ ## Attributes
16
+
17
+ You can use all standard IAL attribute types:
18
+
19
+ ### IDs
20
+
21
+ This is [text]{#my-id} with just an ID.
22
+
23
+ ### Classes
24
+
25
+ This is [text]{.class1 .class2 .class3} with multiple
26
+ classes.
27
+
28
+ ### Key-Value Attributes
29
+
30
+ This is [text]{key="value" title="Tooltip"} with custom
31
+ attributes.
32
+
33
+ This is [text]{data-id="123" aria-label="Description"} with
34
+ data and ARIA attributes.
35
+
36
+ ### Combined Attributes
37
+
38
+ This is [text]{#my-id .highlight .important key="value"}
39
+ combining all attribute types.
40
+
41
+ ## Markdown Processing
42
+
43
+ The text inside brackets is fully processed as markdown:
44
+
45
+ - [**Bold text**]{.bold}
46
+ - [*Italic text*]{.italic}
47
+ - [`Code spans`]{.code}
48
+ - [Text with [nested brackets]]{.nested}
49
+
50
+ ## Nested Brackets
51
+
52
+ Bracketed spans support nested brackets. The parser
53
+ correctly matches the outer brackets:
54
+
55
+ This is [Text with [nested brackets]]{.nested} that
56
+ preserves the inner brackets.
57
+
58
+ This is [Text with [multiple [levels] of
59
+ nesting]]{.multi-level} that handles deep nesting.
60
+
61
+ This is [Text with [inner] and [more inner]
62
+ brackets]{.multiple-nested} that handles multiple nested
63
+ pairs.
64
+
65
+ ## Reference Links Take Precedence
66
+
67
+ If the bracketed text matches a reference link definition,
68
+ it will be treated as a link instead of a span:
69
+
70
+ This is [a link][example] that should be a link, not a span.
71
+
72
+ [example]: https://example.com
73
+
74
+ This is [another link][example2] with a title.
75
+
76
+ [example2]: https://example.org "Example Site"
77
+
78
+ ## Use Cases
79
+
80
+ ### Styling Inline Text
81
+
82
+ You can [highlight important text]{.highlight .important}
83
+ inline.
84
+
85
+ You can [mark text as new]{.new} or
86
+ [deprecated]{.deprecated}.
87
+
88
+ ### Adding Metadata
89
+
90
+ You can [add data attributes]{data-type="note" data-id="42"}
91
+ for JavaScript.
92
+
93
+ You can [add ARIA labels]{aria-label="Important notice"} for
94
+ accessibility.
95
+
96
+ ### Semantic Markup
97
+
98
+ You can [mark text as a term]{.term} or
99
+ [citation]{.citation}.
100
+
101
+ ## Examples in Context
102
+
103
+ Here's a paragraph with [highlighted text]{.highlight},
104
+ [important text]{.important}, and [a term]{.term}.
105
+
106
+ Here's a list with styled items:
107
+
108
+ - [First item]{.first}
109
+ - [Second item]{.second}
110
+ - [Third item]{.third}
111
+
112
+ ## Notes
113
+
114
+ - Bracketed spans are enabled by default in unified mode
115
+ - Use `--spans` to enable in other modes
116
+ - Use `--no-spans` to disable in unified mode
117
+ - Reference links always take precedence over spans
118
+ - Markdown inside spans is fully processed
119
+
@@ -0,0 +1,11 @@
1
+ ---
2
+ id: emoji-span
3
+ description: Wrap :emoji: markers in a span for styling
4
+ phase: post_render
5
+ pattern: "(:[a-zA-Z0-9_+-]+:)"
6
+ replacement: "<span class=\"emoji\">$1</span>"
7
+ flags: "i"
8
+ priority: 200
9
+ timeout_ms: 0
10
+ ---
11
+
@@ -0,0 +1,53 @@
1
+ <h1>Apex Markdown Example</h1>
2
+ <p>This is a comprehensive example document showing various Markdown features supported by Apex.</p>
3
+ <h2>Basic Formatting</h2>
4
+ <p>This is a paragraph with **bold text**, *italic text*, and ***bold italic text***.</p>
5
+ <p>You can also use `inline code` within paragraphs.</p>
6
+ <h2>Headings</h2>
7
+ <h3>Level 3</h3>
8
+ <h4>Level 4</h4>
9
+ <h5>Level 5</h5>
10
+ <h6>Level 6</h6>
11
+ <h2>Lists</h2>
12
+ <h3>Unordered Lists</h3>
13
+ <p>- Item 1
14
+ - Item 2
15
+ - Nested item
16
+ - Another nested item
17
+ - Item 3</p>
18
+ <h3>Ordered Lists</h3>
19
+ <p>1. First item
20
+ 2. Second item
21
+ 3. Third item</p>
22
+ <h2>Code Blocks</h2>
23
+ <pre><code class="language-python">def hello_world():
24
+ print(&quot;Hello, World!&quot;)
25
+ return 42
26
+
27
+ result = hello_world()
28
+ </code></pre>
29
+ <pre><code class="language-javascript">function greet(name) {
30
+ console.log(`Hello, ${name}!`);
31
+ }
32
+
33
+ greet(&quot;Apex&quot;);
34
+ </code></pre>
35
+ <h2>Links and Images</h2>
36
+ <p>[Apex on GitHub](https://github.com)</p>
37
+ <p>![Sample Image](https://placehold.co/600x400)</p>
38
+ <h2>Blockquotes</h2>
39
+ <p>&gt; This is a blockquote.
40
+ &gt; It can span multiple lines.
41
+ &gt;
42
+ &gt; And contain multiple paragraphs.</p>
43
+ <h2>Horizontal Rules</h2>
44
+ <p>---</p>
45
+ <h2>Special Characters</h2>
46
+ <p>HTML characters like &lt;tag&gt; and &amp; are automatically escaped.
47
+ Quotes like &quot;these&quot; are handled properly.</p>
48
+ <h2>More Features (Coming Soon)</h2>
49
+ <p>- [ ] Task lists
50
+ - [x] Basic Markdown
51
+ - [ ] Tables
52
+ - [ ] Footnotes
53
+ - [ ] Definition lists</p>
@@ -0,0 +1,85 @@
1
+ # Apex Markdown Example
2
+
3
+ This is a comprehensive example document showing various
4
+ Markdown features supported by Apex.
5
+
6
+ ## Basic Formatting
7
+
8
+ This is a paragraph with **bold text**, *italic text*, and
9
+ ***bold italic text***.
10
+
11
+ You can also use `inline code` within paragraphs.
12
+
13
+ ## Headings
14
+
15
+ ### Level 3
16
+ #### Level 4
17
+ ##### Level 5
18
+ ###### Level 6
19
+
20
+ ## Lists
21
+
22
+ ### Unordered Lists
23
+
24
+ - Item 1
25
+ - Item 2
26
+ - Nested item
27
+ - Another nested item
28
+ - Item 3
29
+
30
+ ### Ordered Lists
31
+
32
+ 1. First item
33
+ 2. Second item
34
+ 3. Third item
35
+
36
+ ## Code Blocks
37
+
38
+ ```python
39
+ def hello_world():
40
+ print("Hello, World!")
41
+ return 42
42
+
43
+ result = hello_world()
44
+
45
+ ```
46
+
47
+ ```javascript
48
+ function greet(name) {
49
+ console.log(`Hello, ${name}!`);
50
+ }
51
+
52
+ greet("Apex");
53
+
54
+ ```
55
+
56
+ ## Links and Images
57
+
58
+ [Apex on GitHub](https://github.com)
59
+
60
+ ![Sample Image](https://placehold.co/600x400)
61
+
62
+ ## Blockquotes
63
+
64
+ > This is a blockquote.
65
+ > It can span multiple lines.
66
+ >
67
+ > And contain multiple paragraphs.
68
+
69
+ ## Horizontal Rules
70
+
71
+ ---
72
+
73
+ ## Special Characters
74
+
75
+ HTML characters like <tag> and & are automatically escaped.
76
+ Quotes like "these" are handled properly.
77
+
78
+ ## More Features (Coming Soon)
79
+
80
+ - [ ] Task lists
81
+ - [x] Basic Markdown
82
+ - [ ] Tables
83
+ - [ ] Footnotes
84
+ - [ ] Definition lists
85
+
@@ -0,0 +1,158 @@
1
+ # Pandoc Fenced Divs Demo
2
+
3
+ This document demonstrates all features of the Pandoc fenced
4
+ divs extension.
5
+
6
+ ## Basic Fenced Div
7
+
8
+ A simple fenced div with ID and class:
9
+
10
+ ::::: {#special .sidebar}
11
+ Here is a paragraph.
12
+
13
+ And another paragraph with more content.
14
+ :::::
15
+
16
+ ## Fenced Div with Multiple Classes
17
+
18
+ ::::: {.warning .important .highlight}
19
+ This is a warning div with multiple classes.
20
+ :::::
21
+
22
+ ## Fenced Div with Attributes
23
+
24
+ ::::: {#mydiv .container key="value" data-id="123"}
25
+ This div has an ID, a class, and custom attributes.
26
+ :::::
27
+
28
+ ## Single Unbraced Word (Treated as Class)
29
+
30
+ ::: sidebar
31
+ This is a div with a single unbraced word treated as a class
32
+ name.
33
+ :::
34
+
35
+ ## Fenced Div with Trailing Colons
36
+
37
+ According to the spec, attributes may optionally be followed
38
+ by another string of consecutive colons:
39
+
40
+ ::::: {#special .sidebar} ::::
41
+ Here is a paragraph with trailing colons after the
42
+ attributes.
43
+
44
+ And another.
45
+ ::::::::::::::::::
46
+
47
+ ## Nested Divs
48
+
49
+ Fenced divs can be nested. Opening fences must have
50
+ attributes:
51
+
52
+ ::: Warning ::::::
53
+ This is a warning.
54
+
55
+ ::: Danger
56
+ This is a warning within a warning.
57
+ :::
58
+ ::::::::::::::::::
59
+
60
+ ## Complex Nested Example
61
+
62
+ ::::: {#outer .container} ::::
63
+ Outer div content.
64
+
65
+ ::: {.inner .nested}
66
+ First inner div.
67
+
68
+ ::: {.deep}
69
+ Deeply nested div.
70
+ :::
71
+ :::
72
+
73
+ More outer content.
74
+ ::::::::::::::::::
75
+
76
+ ## Div with All Attribute Types
77
+
78
+ ::::: {#complex-id .class1 .class2 .class3 key1="value1"
79
+ key2='value2' data-test="123"}
80
+ This div demonstrates:
81
+
82
+ - ID (#complex-id)
83
+ - Multiple classes (.class1, .class2, .class3)
84
+ - Custom attributes (key1, key2, data-test)
85
+
86
+ :::::
87
+
88
+ ## Div Separated by Blank Lines
89
+
90
+ This paragraph is before the div.
91
+
92
+ ::::: {.separated}
93
+ This div is properly separated by blank lines from the
94
+ preceding paragraph.
95
+ :::::
96
+
97
+ This paragraph is after the div.
98
+
99
+ ## Minimal Div (3 Colons Minimum)
100
+
101
+ ::: {.minimal}
102
+ This uses the minimum 3 colons for the fence.
103
+ :::
104
+
105
+ ## Div with Quoted Values
106
+
107
+ ::::: {#quoted .test attr1="quoted value" attr2='single
108
+ quoted'}
109
+ This div has attributes with quoted values containing
110
+ spaces.
111
+ :::::
112
+
113
+ ## Multiple Divs in Sequence
114
+
115
+ ::: {.first}
116
+ First div.
117
+ :::
118
+
119
+ ::: {.second}
120
+ Second div.
121
+ :::
122
+
123
+ ::: {.third}
124
+ Third div.
125
+ :::
126
+
127
+ ## Div with Empty Content
128
+
129
+ ::: {.empty}
130
+ :::
131
+
132
+ ## Div with Only ID
133
+
134
+ ::: {#only-id}
135
+ This div has only an ID, no classes.
136
+ :::
137
+
138
+ ## Div with Only Classes
139
+
140
+ ::: {.only-classes .multiple}
141
+ This div has only classes, no ID.
142
+ :::
143
+
144
+ ## Div with Mixed Content
145
+
146
+ ::::: {#mixed .content}
147
+ This div contains:
148
+
149
+ - A list item
150
+ - Another list item
151
+
152
+ And a paragraph.
153
+
154
+ > A blockquote
155
+
156
+ And more content.
157
+ :::::
158
+
@@ -0,0 +1,8 @@
1
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit,
2
+ sed do eiusmod tempor incididunt ut labore et dolore magna
3
+ aliqua. Ut enim ad minim veniam, quis nostrud exercitation
4
+ ullamco laboris nisi ut aliquip ex ea commodo consequat.
5
+ Duis aute irure dolor in reprehenderit in {% kbd $@3 %}
6
+ voluptate velit esse cillum dolore eu fugiat nulla pariatur.
7
+ Excepteur sint occaecat cupidatat non proident, sunt in
8
+ culpa qui officia deserunt mollit anim id est laborum.