apex-ruby 1.0.29 → 1.0.31

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 (490) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -8
  3. data/apex-ruby.gemspec +14 -3
  4. data/ext/apex_ext/apex_src/include/apex/apex.h +11 -2
  5. data/ext/apex_ext/apex_src/src/apex.c +64 -5
  6. data/ext/apex_ext/apex_src/src/ast_terminal.c +2 -4
  7. data/ext/apex_ext/apex_src/src/extensions/callouts.c +103 -63
  8. data/ext/apex_ext/apex_src/src/extensions/callouts.h +3 -2
  9. data/ext/apex_ext/apex_src/src/extensions/citations.c +15 -2
  10. data/ext/apex_ext/apex_src/src/extensions/emoji.c +73 -7
  11. data/ext/apex_ext/apex_src/src/extensions/html_markdown.c +25 -4
  12. data/ext/apex_ext/apex_src/src/extensions/html_markdown.h +4 -1
  13. data/ext/apex_ext/apex_src/src/extensions/insert.c +49 -0
  14. data/ext/apex_ext/apex_src/src/extensions/metadata.c +275 -55
  15. data/ext/apex_ext/apex_src/src/extensions/metadata.h +9 -0
  16. data/ext/apex_ext/apex_src/src/extensions/relaxed_tables.c +172 -254
  17. data/ext/apex_ext/apex_src/src/extensions/table_html_postprocess.c +36 -127
  18. data/ext/apex_ext/apex_src/src/html_renderer.c +99 -157
  19. data/ext/apex_ext/extconf.rb +31 -79
  20. data/lib/apex/version.rb +1 -1
  21. metadata +1 -470
  22. data/ext/apex_ext/apex_src/AGENTS.md +0 -41
  23. data/ext/apex_ext/apex_src/BENCHMARK.md +0 -32
  24. data/ext/apex_ext/apex_src/BENCHMARK_COMPARISON.md +0 -67
  25. data/ext/apex_ext/apex_src/CHANGELOG.md +0 -3373
  26. data/ext/apex_ext/apex_src/CMakeLists.txt +0 -481
  27. data/ext/apex_ext/apex_src/Dockerfile.linux-build +0 -15
  28. data/ext/apex_ext/apex_src/Formula/apex.rb +0 -43
  29. data/ext/apex_ext/apex_src/Info.plist.in +0 -27
  30. data/ext/apex_ext/apex_src/Package.swift +0 -192
  31. data/ext/apex_ext/apex_src/PackageSupport/README.md +0 -17
  32. data/ext/apex_ext/apex_src/PackageSupport/cmark-gfm/cmark_gfm_spm_stub.c +0 -4
  33. data/ext/apex_ext/apex_src/README.md +0 -536
  34. data/ext/apex_ext/apex_src/ROADMAP.md +0 -5
  35. data/ext/apex_ext/apex_src/VERSION +0 -1
  36. data/ext/apex_ext/apex_src/apex-debug.log +0 -4
  37. data/ext/apex_ext/apex_src/apex-header-2-rb@2x.webp +0 -0
  38. data/ext/apex_ext/apex_src/apex-plugins.json.example +0 -20
  39. data/ext/apex_ext/apex_src/apex.code-workspace +0 -38
  40. data/ext/apex_ext/apex_src/apex.pc.in +0 -11
  41. data/ext/apex_ext/apex_src/apex.taskpaper +0 -12
  42. data/ext/apex_ext/apex_src/apex_deflist_debug.log +0 -25
  43. data/ext/apex_ext/apex_src/buildnotes.md +0 -1435
  44. data/ext/apex_ext/apex_src/cli/main.c +0 -4588
  45. data/ext/apex_ext/apex_src/debug.log +0 -7
  46. data/ext/apex_ext/apex_src/debug_test.sh +0 -22
  47. data/ext/apex_ext/apex_src/docs/API_REFERENCE.md +0 -451
  48. data/ext/apex_ext/apex_src/docs/ARCHITECTURE.md +0 -166
  49. data/ext/apex_ext/apex_src/docs/CITATIONS_EXAMPLES.md +0 -274
  50. data/ext/apex_ext/apex_src/docs/CITATIONS_IMPLEMENTATION_PLAN.md +0 -749
  51. data/ext/apex_ext/apex_src/docs/CITATIONS_PLAN.md +0 -744
  52. data/ext/apex_ext/apex_src/docs/CMARK_INTEGRATION.md +0 -220
  53. data/ext/apex_ext/apex_src/docs/CRITICMARKUP.md +0 -501
  54. data/ext/apex_ext/apex_src/docs/DEBUGGING.md +0 -73
  55. data/ext/apex_ext/apex_src/docs/FINAL_STATUS.md +0 -391
  56. data/ext/apex_ext/apex_src/docs/FINAL_STATUS_UPDATE.md +0 -237
  57. data/ext/apex_ext/apex_src/docs/IAL_FEATURES.md +0 -210
  58. data/ext/apex_ext/apex_src/docs/IAL_STATUS.md +0 -344
  59. data/ext/apex_ext/apex_src/docs/INDEX_IMPLEMENTATION_ANALYSIS.md +0 -382
  60. data/ext/apex_ext/apex_src/docs/INTEGRATION_EXAMPLE.m +0 -144
  61. data/ext/apex_ext/apex_src/docs/LIMITATIONS_RESOLVED.md +0 -278
  62. data/ext/apex_ext/apex_src/docs/OUTPUT_MODES.md +0 -321
  63. data/ext/apex_ext/apex_src/docs/PROGRESS.md +0 -167
  64. data/ext/apex_ext/apex_src/docs/STANDALONE_FEATURE.md +0 -174
  65. data/ext/apex_ext/apex_src/docs/TABLE_SPANS_STATUS.md +0 -243
  66. data/ext/apex_ext/apex_src/docs/TEST_COVERAGE.md +0 -316
  67. data/ext/apex_ext/apex_src/docs/USER_GUIDE.md +0 -803
  68. data/ext/apex_ext/apex_src/docs/WIKI_LINKS_ISSUE.md +0 -91
  69. data/ext/apex_ext/apex_src/docs/index.md +0 -459
  70. data/ext/apex_ext/apex_src/docs/plans/2025-02-27-man-page-output-implementation.md +0 -351
  71. data/ext/apex_ext/apex_src/docs/superpowers/plans/2026-07-12-toc-output-format.md +0 -745
  72. data/ext/apex_ext/apex_src/docs/superpowers/plans/2026-07-18-bear-image-attributes.md +0 -829
  73. data/ext/apex_ext/apex_src/docs/superpowers/plans/2026-07-19-apex-node-npm.md +0 -1148
  74. data/ext/apex_ext/apex_src/docs/superpowers/specs/2026-07-12-toc-output-format-design.md +0 -161
  75. data/ext/apex_ext/apex_src/docs/superpowers/specs/2026-07-18-bear-image-attributes-design.md +0 -184
  76. data/ext/apex_ext/apex_src/docs/superpowers/specs/2026-07-19-apex-node-npm-design.md +0 -211
  77. data/ext/apex_ext/apex_src/documentation/README.md +0 -160
  78. data/ext/apex_ext/apex_src/documentation/app-settings-table.md +0 -67
  79. data/ext/apex_ext/apex_src/documentation/app-transformed/Citations.md +0 -340
  80. data/ext/apex_ext/apex_src/documentation/app-transformed/Credits.md +0 -11
  81. data/ext/apex_ext/apex_src/documentation/app-transformed/Header-IDs.md +0 -234
  82. data/ext/apex_ext/apex_src/documentation/app-transformed/Inline-Attribute-Lists.md +0 -516
  83. data/ext/apex_ext/apex_src/documentation/app-transformed/Metadata-Transforms.md +0 -461
  84. data/ext/apex_ext/apex_src/documentation/app-transformed/Modes.md +0 -193
  85. data/ext/apex_ext/apex_src/documentation/app-transformed/Multi-File-Documents.md +0 -201
  86. data/ext/apex_ext/apex_src/documentation/app-transformed/Plugins.md +0 -678
  87. data/ext/apex_ext/apex_src/documentation/app-transformed/Syntax.md +0 -1367
  88. data/ext/apex_ext/apex_src/documentation/docsets/Apex Command Line Options.cheatsheet.txt +0 -371
  89. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Info.plist +0 -24
  90. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/C-API.html +0 -2211
  91. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Callouts.html +0 -1194
  92. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Citations.html +0 -1620
  93. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Command-Line-Options.html +0 -6024
  94. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Configuration.html +0 -1877
  95. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Credits.html +0 -1040
  96. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Examples.html +0 -1402
  97. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Filters.html +0 -1656
  98. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Generating-Man-Pages.html +0 -1226
  99. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Getting-Started.html +0 -1148
  100. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Header-IDs.html +0 -1478
  101. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Home.html +0 -1225
  102. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Indices.html +0 -2327
  103. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Inline-Attribute-Lists.html +0 -2041
  104. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Installation.html +0 -1314
  105. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Limitations-and-Roadmap.html +0 -1868
  106. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Metadata-Transforms.html +0 -1731
  107. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Modes.html +0 -2242
  108. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Multi-File-Documents.html +0 -1533
  109. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Multi-Format-Images.html +0 -1362
  110. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Pandoc-Integration.html +0 -1338
  111. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Plugins.html +0 -3188
  112. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Quarto-Mode.html +0 -1405
  113. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Rendering-Markdown-In-Terminal.html +0 -1902
  114. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Syntax.html +0 -4222
  115. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Tables.html +0 -1781
  116. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Troubleshooting.html +0 -1629
  117. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Usage.html +0 -1394
  118. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Using-Apex-with-Jekyll.html +0 -1132
  119. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Writing-Tests.html +0 -1754
  120. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Xcode-Integration.html +0 -2562
  121. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/docSet.dsidx +0 -0
  122. data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/optimizedIndex.dsidx +0 -0
  123. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Info.plist +0 -22
  124. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans.woff +0 -0
  125. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Bold.woff +0 -0
  126. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Bold_Italic.woff +0 -0
  127. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Extrabold.woff +0 -0
  128. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Extrabold_Italic.woff +0 -0
  129. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Italic.woff +0 -0
  130. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Semibold.woff +0 -0
  131. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Semibold_Italic.woff +0 -0
  132. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/index.html +0 -914
  133. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/style.css +0 -399
  134. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/docSet.dsidx +0 -0
  135. data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/optimizedIndex.dsidx +0 -0
  136. data/ext/apex_ext/apex_src/documentation/generate_app_docs.rb +0 -772
  137. data/ext/apex_ext/apex_src/documentation/generate_app_docs_ai.rb +0 -678
  138. data/ext/apex_ext/apex_src/documentation/generate_docset.rb +0 -873
  139. data/ext/apex_ext/apex_src/documentation/generate_single_html.rb +0 -733
  140. data/ext/apex_ext/apex_src/documentation/html/apex-app-docs.html +0 -8746
  141. data/ext/apex_ext/apex_src/documentation/html/apex-docs.html +0 -17073
  142. data/ext/apex_ext/apex_src/documentation/shared_scripts.js +0 -64
  143. data/ext/apex_ext/apex_src/documentation/shared_styles.css +0 -651
  144. data/ext/apex_ext/apex_src/documentation/transform_for_app.example.md +0 -260
  145. data/ext/apex_ext/apex_src/documentation/transform_for_app.md +0 -55
  146. data/ext/apex_ext/apex_src/escaping-repro.md +0 -103
  147. data/ext/apex_ext/apex_src/examples/bracketed_spans_demo.md +0 -119
  148. data/ext/apex_ext/apex_src/examples/emoji_span_plugin.yml +0 -11
  149. data/ext/apex_ext/apex_src/examples/example.html +0 -53
  150. data/ext/apex_ext/apex_src/examples/example.md +0 -85
  151. data/ext/apex_ext/apex_src/examples/fenced_divs_demo.md +0 -158
  152. data/ext/apex_ext/apex_src/examples/kbd.md +0 -8
  153. data/ext/apex_ext/apex_src/examples/kbd_plugin.rb +0 -250
  154. data/ext/apex_ext/apex_src/examples/kbd_plugin.yml +0 -9
  155. data/ext/apex_ext/apex_src/examples/quick-actions/Markdown to RTF.workflow/Contents/Info.plist +0 -8
  156. data/ext/apex_ext/apex_src/examples/quick-actions/Markdown to RTF.workflow/Contents/QuickLook/Preview.png +0 -0
  157. data/ext/apex_ext/apex_src/examples/quick-actions/Markdown to RTF.workflow/Contents/document.wflow +0 -547
  158. data/ext/apex_ext/apex_src/examples/quick-actions/Markdown-to-RTF.workflow.zip +0 -0
  159. data/ext/apex_ext/apex_src/examples/quick-actions/README.md +0 -33
  160. data/ext/apex_ext/apex_src/ial.html +0 -24
  161. data/ext/apex_ext/apex_src/icon/apexicon-outline-black.png +0 -0
  162. data/ext/apex_ext/apex_src/icon/apexicon-outline-black@2x.png +0 -0
  163. data/ext/apex_ext/apex_src/icon/apexicon-outline-mark.png +0 -0
  164. data/ext/apex_ext/apex_src/icon/apexicon-outline-mark@2x.png +0 -0
  165. data/ext/apex_ext/apex_src/icon/apexicon-outline-white.png +0 -0
  166. data/ext/apex_ext/apex_src/icon/apexicon-outline-white@2x.png +0 -0
  167. data/ext/apex_ext/apex_src/icon/apexicon.png +0 -0
  168. data/ext/apex_ext/apex_src/icon/apexicon@2x.png +0 -0
  169. data/ext/apex_ext/apex_src/man/apex-config.5 +0 -455
  170. data/ext/apex_ext/apex_src/man/apex-config.5.md +0 -262
  171. data/ext/apex_ext/apex_src/man/apex-plugins.7 +0 -541
  172. data/ext/apex_ext/apex_src/man/apex-plugins.7.md +0 -365
  173. data/ext/apex_ext/apex_src/man/apex.1 +0 -583
  174. data/ext/apex_ext/apex_src/man/apex.1.html +0 -703
  175. data/ext/apex_ext/apex_src/man/apex.1.md +0 -803
  176. data/ext/apex_ext/apex_src/man/apex.1.new +0 -338
  177. data/ext/apex_ext/apex_src/objc/Apex.swift +0 -316
  178. data/ext/apex_ext/apex_src/objc/ApexPlugins.swift +0 -79
  179. data/ext/apex_ext/apex_src/objc/NSString+Apex.h +0 -207
  180. data/ext/apex_ext/apex_src/objc/NSString+Apex.m +0 -584
  181. data/ext/apex_ext/apex_src/objc/NSString+ApexPlugins.h +0 -76
  182. data/ext/apex_ext/apex_src/objc/NSString+ApexPlugins.m +0 -169
  183. data/ext/apex_ext/apex_src/output.html +0 -87
  184. data/ext/apex_ext/apex_src/pages/index.md +0 -459
  185. data/ext/apex_ext/apex_src/plans/quarto-mode.md +0 -442
  186. data/ext/apex_ext/apex_src/src/_README.md +0 -413
  187. data/ext/apex_ext/apex_src/src/extensions/github-emoji.txt +0 -869
  188. data/ext/apex_ext/apex_src/test-linux-build.sh +0 -20
  189. data/ext/apex_ext/apex_src/test.html +0 -103
  190. data/ext/apex_ext/apex_src/test_coverage.sh +0 -121
  191. data/ext/apex_ext/apex_src/test_ial_fenced.md +0 -6
  192. data/ext/apex_ext/apex_src/test_math_norm.py +0 -79
  193. data/ext/apex_ext/apex_src/test_pandoc_output.html +0 -48
  194. data/ext/apex_ext/apex_src/test_spm.sh +0 -107
  195. data/ext/apex_ext/apex_src/tests/ApexSPMTest/main.swift +0 -50
  196. data/ext/apex_ext/apex_src/tests/BENCHMARK_RESULTS.md +0 -229
  197. data/ext/apex_ext/apex_src/tests/CMakeLists.txt +0 -25
  198. data/ext/apex_ext/apex_src/tests/README.md +0 -152
  199. data/ext/apex_ext/apex_src/tests/benchmark.sh +0 -113
  200. data/ext/apex_ext/apex_src/tests/benchmark_comparison.sh +0 -166
  201. data/ext/apex_ext/apex_src/tests/compare_header_ids.sh +0 -31
  202. data/ext/apex_ext/apex_src/tests/fixtures/basic/headers.md +0 -25
  203. data/ext/apex_ext/apex_src/tests/fixtures/basic/list-interruption.md +0 -24
  204. data/ext/apex_ext/apex_src/tests/fixtures/basic/misc_markup.md +0 -33
  205. data/ext/apex_ext/apex_src/tests/fixtures/basic/test_basic.md +0 -26
  206. data/ext/apex_ext/apex_src/tests/fixtures/code/code-blocks.md +0 -260
  207. data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/SUMMARY.md +0 -6
  208. data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/chapter1.md +0 -7
  209. data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/index.txt +0 -9
  210. data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/intro.md +0 -5
  211. data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/section1_1.md +0 -5
  212. data/ext/apex_ext/apex_src/tests/fixtures/comprehensive_test.md +0 -652
  213. data/ext/apex_ext/apex_src/tests/fixtures/debug_ref_image_ial.md +0 -3
  214. data/ext/apex_ext/apex_src/tests/fixtures/demos/ial.md +0 -11
  215. data/ext/apex_ext/apex_src/tests/fixtures/demos/ial_demo.md +0 -177
  216. data/ext/apex_ext/apex_src/tests/fixtures/extensions/emoji-autocorrect.md +0 -94
  217. data/ext/apex_ext/apex_src/tests/fixtures/extensions/emoji_test.md +0 -3
  218. data/ext/apex_ext/apex_src/tests/fixtures/extensions/kbd_test.md +0 -3
  219. data/ext/apex_ext/apex_src/tests/fixtures/filters/filter_output_with_rawblock.json +0 -1
  220. data/ext/apex_ext/apex_src/tests/fixtures/filters/unwrap.md +0 -7
  221. data/ext/apex_ext/apex_src/tests/fixtures/ial/bracketed_spans_test.md +0 -74
  222. data/ext/apex_ext/apex_src/tests/fixtures/images/auto-wildcard.md +0 -8
  223. data/ext/apex_ext/apex_src/tests/fixtures/images/bear_image_attributes.md +0 -10
  224. data/ext/apex_ext/apex_src/tests/fixtures/images/image_and_encoding_test.md +0 -27
  225. data/ext/apex_ext/apex_src/tests/fixtures/images/img/app-pass-1-profile-menu.avif +0 -0
  226. data/ext/apex_ext/apex_src/tests/fixtures/images/img/app-pass-1-profile-menu.jpg +0 -0
  227. data/ext/apex_ext/apex_src/tests/fixtures/images/img/app-pass-1-profile-menu.webp +0 -0
  228. data/ext/apex_ext/apex_src/tests/fixtures/images/img/app-pass-1-profile-menu@2x.avif +0 -0
  229. data/ext/apex_ext/apex_src/tests/fixtures/images/img/app-pass-1-profile-menu@2x.jpg +0 -0
  230. data/ext/apex_ext/apex_src/tests/fixtures/images/img/app-pass-1-profile-menu@2x.webp +0 -0
  231. data/ext/apex_ext/apex_src/tests/fixtures/images/media_formats_test.md +0 -63
  232. data/ext/apex_ext/apex_src/tests/fixtures/images/multimarkdown_image_attributes_test.md +0 -60
  233. data/ext/apex_ext/apex_src/tests/fixtures/images/pandoc_ial_image_test.md +0 -27
  234. data/ext/apex_ext/apex_src/tests/fixtures/images/width_height_conversion_test.md +0 -94
  235. data/ext/apex_ext/apex_src/tests/fixtures/img-in-div.md +0 -16
  236. data/ext/apex_ext/apex_src/tests/fixtures/includes/code.py +0 -4
  237. data/ext/apex_ext/apex_src/tests/fixtures/includes/data-semi.csv +0 -3
  238. data/ext/apex_ext/apex_src/tests/fixtures/includes/data.csv +0 -5
  239. data/ext/apex_ext/apex_src/tests/fixtures/includes/data.tsv +0 -5
  240. data/ext/apex_ext/apex_src/tests/fixtures/includes/image.png +0 -2
  241. data/ext/apex_ext/apex_src/tests/fixtures/includes/metadata_options.yml +0 -11
  242. data/ext/apex_ext/apex_src/tests/fixtures/includes/nested.md +0 -8
  243. data/ext/apex_ext/apex_src/tests/fixtures/includes/raw.html +0 -4
  244. data/ext/apex_ext/apex_src/tests/fixtures/includes/sections.md +0 -19
  245. data/ext/apex_ext/apex_src/tests/fixtures/includes/sections.txt +0 -11
  246. data/ext/apex_ext/apex_src/tests/fixtures/includes/simple.md +0 -7
  247. data/ext/apex_ext/apex_src/tests/fixtures/includes/test_image.png +0 -0
  248. data/ext/apex_ext/apex_src/tests/fixtures/includes/with space.txt +0 -1
  249. data/ext/apex_ext/apex_src/tests/fixtures/large_doc.md +0 -1094
  250. data/ext/apex_ext/apex_src/tests/fixtures/metadata/mmd-metadata.md +0 -5
  251. data/ext/apex_ext/apex_src/tests/fixtures/metadata/pandoc-meta.md +0 -4
  252. data/ext/apex_ext/apex_src/tests/fixtures/metadata/yaml-frontmatter.md +0 -6
  253. data/ext/apex_ext/apex_src/tests/fixtures/metadata_options.yml +0 -11
  254. data/ext/apex_ext/apex_src/tests/fixtures/minimal_pb.md +0 -2
  255. data/ext/apex_ext/apex_src/tests/fixtures/obsidian-callouts.md +0 -46
  256. data/ext/apex_ext/apex_src/tests/fixtures/output/gfm_header_id_test.md +0 -96
  257. data/ext/apex_ext/apex_src/tests/fixtures/output/test_citations.md +0 -43
  258. data/ext/apex_ext/apex_src/tests/fixtures/output/test_def_list_links.md +0 -12
  259. data/ext/apex_ext/apex_src/tests/fixtures/output/test_index_mmark.md +0 -53
  260. data/ext/apex_ext/apex_src/tests/fixtures/output/test_index_textindex.md +0 -37
  261. data/ext/apex_ext/apex_src/tests/fixtures/pagebreak_html_repro.md +0 -5
  262. data/ext/apex_ext/apex_src/tests/fixtures/python-callouts.md +0 -47
  263. data/ext/apex_ext/apex_src/tests/fixtures/quarto/callouts.md +0 -3
  264. data/ext/apex_ext/apex_src/tests/fixtures/quarto/code-attrs.md +0 -3
  265. data/ext/apex_ext/apex_src/tests/fixtures/quarto/diagrams.md +0 -8
  266. data/ext/apex_ext/apex_src/tests/fixtures/quarto/lists.md +0 -19
  267. data/ext/apex_ext/apex_src/tests/fixtures/quarto/raw-content.md +0 -5
  268. data/ext/apex_ext/apex_src/tests/fixtures/quarto/shortcodes.md +0 -7
  269. data/ext/apex_ext/apex_src/tests/fixtures/quarto/smoke.md +0 -81
  270. data/ext/apex_ext/apex_src/tests/fixtures/quarto/spans.md +0 -5
  271. data/ext/apex_ext/apex_src/tests/fixtures/quarto-callouts.md +0 -47
  272. data/ext/apex_ext/apex_src/tests/fixtures/speed.md +0 -192
  273. data/ext/apex_ext/apex_src/tests/fixtures/tables/advanced_tables_test.md +0 -93
  274. data/ext/apex_ext/apex_src/tests/fixtures/tables/grid-tables.md +0 -37
  275. data/ext/apex_ext/apex_src/tests/fixtures/tables/inline_tables_test.md +0 -41
  276. data/ext/apex_ext/apex_src/tests/fixtures/tables/relaxed-table.md +0 -12
  277. data/ext/apex_ext/apex_src/tests/fixtures/tables/table_cr_line_endings.md +0 -15
  278. data/ext/apex_ext/apex_src/tests/fixtures/tables/table_no_trailing_newline.md +0 -15
  279. data/ext/apex_ext/apex_src/tests/generate_gfm_ids.sh +0 -105
  280. data/ext/apex_ext/apex_src/tests/generate_ial_demo.sh +0 -143
  281. data/ext/apex_ext/apex_src/tests/gfm_id_comparison_summary.md +0 -96
  282. data/ext/apex_ext/apex_src/tests/gh_api_test.md +0 -6
  283. data/ext/apex_ext/apex_src/tests/ial_demo.html +0 -186
  284. data/ext/apex_ext/apex_src/tests/include_code.py +0 -19
  285. data/ext/apex_ext/apex_src/tests/include_snippet.md +0 -15
  286. data/ext/apex_ext/apex_src/tests/metadata_cli_test.sh +0 -119
  287. data/ext/apex_ext/apex_src/tests/multi_file_cli_test.sh +0 -64
  288. data/ext/apex_ext/apex_src/tests/paginate_cli_test.sh +0 -80
  289. data/ext/apex_ext/apex_src/tests/sample_data.csv +0 -7
  290. data/ext/apex_ext/apex_src/tests/table_escaped_ltlt.md +0 -4
  291. data/ext/apex_ext/apex_src/tests/terminal_width_test.sh +0 -29
  292. data/ext/apex_ext/apex_src/tests/test-swift-package.sh +0 -14
  293. data/ext/apex_ext/apex_src/tests/test_basic.c +0 -74
  294. data/ext/apex_ext/apex_src/tests/test_bear_image_attrs.c +0 -301
  295. data/ext/apex_ext/apex_src/tests/test_cmark_callback.c +0 -189
  296. data/ext/apex_ext/apex_src/tests/test_concordance.tsv +0 -4
  297. data/ext/apex_ext/apex_src/tests/test_custom_plugins.c +0 -78
  298. data/ext/apex_ext/apex_src/tests/test_escaping_repro.c +0 -82
  299. data/ext/apex_ext/apex_src/tests/test_extensions.c +0 -3337
  300. data/ext/apex_ext/apex_src/tests/test_helpers.c +0 -183
  301. data/ext/apex_ext/apex_src/tests/test_helpers.h +0 -91
  302. data/ext/apex_ext/apex_src/tests/test_ial.c +0 -289
  303. data/ext/apex_ext/apex_src/tests/test_links.c +0 -418
  304. data/ext/apex_ext/apex_src/tests/test_marked_integration.c +0 -290
  305. data/ext/apex_ext/apex_src/tests/test_metadata.c +0 -1147
  306. data/ext/apex_ext/apex_src/tests/test_output.c +0 -2056
  307. data/ext/apex_ext/apex_src/tests/test_plugins.c +0 -219
  308. data/ext/apex_ext/apex_src/tests/test_refs.bib +0 -31
  309. data/ext/apex_ext/apex_src/tests/test_runner.c +0 -268
  310. data/ext/apex_ext/apex_src/tests/test_syntax_highlight.c +0 -198
  311. data/ext/apex_ext/apex_src/tests/test_tables.c +0 -1298
  312. data/ext/apex_ext/apex_src/tests/update_benchmarks.sh +0 -9
  313. data/ext/apex_ext/apex_src/tests/yaml_test.md +0 -13
  314. data/ext/apex_ext/apex_src/tests.rb +0 -39
  315. data/ext/apex_ext/apex_src/vendor/cmark-gfm/CMakeLists.txt +0 -48
  316. data/ext/apex_ext/apex_src/vendor/cmark-gfm/CheckFileOffsetBits.c +0 -14
  317. data/ext/apex_ext/apex_src/vendor/cmark-gfm/CheckFileOffsetBits.cmake +0 -43
  318. data/ext/apex_ext/apex_src/vendor/cmark-gfm/FindAsan.cmake +0 -74
  319. data/ext/apex_ext/apex_src/vendor/cmark-gfm/Makefile.nmake +0 -38
  320. data/ext/apex_ext/apex_src/vendor/cmark-gfm/README.md +0 -206
  321. data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/CMakeLists.txt +0 -30
  322. data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/cplusplus.cpp +0 -15
  323. data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/cplusplus.h +0 -16
  324. data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/harness.c +0 -111
  325. data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/harness.h +0 -35
  326. data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/main.c +0 -1169
  327. data/ext/apex_ext/apex_src/vendor/cmark-gfm/appveyor.yml +0 -21
  328. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-bq-flat.md +0 -16
  329. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-bq-nested.md +0 -13
  330. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-code.md +0 -11
  331. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-fences.md +0 -14
  332. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-heading.md +0 -9
  333. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-hr.md +0 -10
  334. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-html.md +0 -32
  335. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-lheading.md +0 -8
  336. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-list-flat.md +0 -67
  337. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-list-nested.md +0 -36
  338. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-ref-flat.md +0 -15
  339. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-ref-nested.md +0 -17
  340. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-autolink.md +0 -14
  341. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-backticks.md +0 -3
  342. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-em-flat.md +0 -5
  343. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-em-nested.md +0 -5
  344. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-em-worst.md +0 -5
  345. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-entity.md +0 -11
  346. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-escape.md +0 -15
  347. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-html.md +0 -44
  348. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-links-flat.md +0 -23
  349. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-links-nested.md +0 -13
  350. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-newlines.md +0 -24
  351. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/lorem1.md +0 -13
  352. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/rawtabs.md +0 -18
  353. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/statistics.py +0 -595
  354. data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/stats.py +0 -19
  355. data/ext/apex_ext/apex_src/vendor/cmark-gfm/benchmarks.md +0 -33
  356. data/ext/apex_ext/apex_src/vendor/cmark-gfm/changelog.txt +0 -1245
  357. data/ext/apex_ext/apex_src/vendor/cmark-gfm/data/CaseFolding.txt +0 -1495
  358. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/CMakeLists.txt +0 -119
  359. data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/ext_scanners.re +0 -92
  360. data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/CMakeLists.txt +0 -22
  361. data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/README.md +0 -12
  362. data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/fuzz_quadratic.c +0 -91
  363. data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/fuzz_quadratic_brackets.c +0 -110
  364. data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/fuzzloop.sh +0 -28
  365. data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/CMakeLists.txt +0 -10
  366. data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/make_man_page.py +0 -133
  367. data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/man1/cmark-gfm.1 +0 -78
  368. data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/man3/cmark-gfm.3 +0 -1041
  369. data/ext/apex_ext/apex_src/vendor/cmark-gfm/nmake.bat +0 -1
  370. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/CMakeLists.txt +0 -230
  371. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/cmark-gfm_version.h.in +0 -7
  372. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/config.h +0 -38
  373. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/config.h.in +0 -76
  374. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/libcmark-gfm.pc.in +0 -10
  375. data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/scanners.re +0 -365
  376. data/ext/apex_ext/apex_src/vendor/cmark-gfm/suppressions +0 -10
  377. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/CMakeLists.txt +0 -114
  378. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/__pycache__/cmark.cpython-314.pyc +0 -0
  379. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/__pycache__/normalize.cpython-314.pyc +0 -0
  380. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/afl_test_cases/test.md +0 -49
  381. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/cmark-fuzz.c +0 -58
  382. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/cmark.py +0 -105
  383. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/entity_tests.py +0 -67
  384. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/extensions-full-info-string.txt +0 -0
  385. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/extensions-table-prefer-style-attributes.txt +0 -38
  386. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/extensions.txt +0 -989
  387. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/fuzzing_dictionary +0 -67
  388. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/normalize.py +0 -194
  389. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/pathological_tests.py +0 -160
  390. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/regression.txt +0 -375
  391. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/roundtrip_tests.py +0 -50
  392. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/run-cmark-fuzz +0 -4
  393. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/smart_punct.txt +0 -177
  394. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/spec.txt +0 -10212
  395. data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/spec_tests.py +0 -152
  396. data/ext/apex_ext/apex_src/vendor/cmark-gfm/toolchain-mingw32.cmake +0 -17
  397. data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/Dockerfile +0 -41
  398. data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/appveyor-build.bat +0 -13
  399. data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/make_entities_inc.py +0 -32
  400. data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/mkcasefold.pl +0 -22
  401. data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/xml2md.xsl +0 -319
  402. data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/xml2md_gfm.xsl +0 -80
  403. data/ext/apex_ext/apex_src/vendor/cmark-gfm/why-cmark-and-not-x.md +0 -104
  404. data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.js +0 -6
  405. data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.py +0 -37
  406. data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.rb +0 -15
  407. data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.rkt +0 -208
  408. data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper_ext.py +0 -109
  409. data/ext/apex_ext/apex_src/vendor/libyaml/CMakeLists.txt +0 -160
  410. data/ext/apex_ext/apex_src/vendor/libyaml/Changes +0 -372
  411. data/ext/apex_ext/apex_src/vendor/libyaml/License +0 -20
  412. data/ext/apex_ext/apex_src/vendor/libyaml/Makefile.am +0 -51
  413. data/ext/apex_ext/apex_src/vendor/libyaml/ReadMe.md +0 -46
  414. data/ext/apex_ext/apex_src/vendor/libyaml/announcement.msg +0 -89
  415. data/ext/apex_ext/apex_src/vendor/libyaml/bootstrap +0 -3
  416. data/ext/apex_ext/apex_src/vendor/libyaml/cmake/config.h.in +0 -4
  417. data/ext/apex_ext/apex_src/vendor/libyaml/configure.ac +0 -73
  418. data/ext/apex_ext/apex_src/vendor/libyaml/doc/doxygen.cfg +0 -222
  419. data/ext/apex_ext/apex_src/vendor/libyaml/docker/README.mkd +0 -17
  420. data/ext/apex_ext/apex_src/vendor/libyaml/docker/alpine-3.7 +0 -26
  421. data/ext/apex_ext/apex_src/vendor/libyaml/docker/fedora-25 +0 -26
  422. data/ext/apex_ext/apex_src/vendor/libyaml/docker/ubuntu-14.04 +0 -29
  423. data/ext/apex_ext/apex_src/vendor/libyaml/docker/ubuntu-16.04 +0 -24
  424. data/ext/apex_ext/apex_src/vendor/libyaml/examples/anchors.yaml +0 -10
  425. data/ext/apex_ext/apex_src/vendor/libyaml/examples/array.yaml +0 -2
  426. data/ext/apex_ext/apex_src/vendor/libyaml/examples/global-tag.yaml +0 -14
  427. data/ext/apex_ext/apex_src/vendor/libyaml/examples/json.yaml +0 -1
  428. data/ext/apex_ext/apex_src/vendor/libyaml/examples/mapping.yaml +0 -2
  429. data/ext/apex_ext/apex_src/vendor/libyaml/examples/numbers.yaml +0 -1
  430. data/ext/apex_ext/apex_src/vendor/libyaml/examples/strings.yaml +0 -7
  431. data/ext/apex_ext/apex_src/vendor/libyaml/examples/tags.yaml +0 -7
  432. data/ext/apex_ext/apex_src/vendor/libyaml/examples/yaml-version.yaml +0 -3
  433. data/ext/apex_ext/apex_src/vendor/libyaml/include/Makefile.am +0 -17
  434. data/ext/apex_ext/apex_src/vendor/libyaml/include/yaml.h +0 -1999
  435. data/ext/apex_ext/apex_src/vendor/libyaml/pkg/ReadMe.md +0 -77
  436. data/ext/apex_ext/apex_src/vendor/libyaml/pkg/docker/Dockerfile +0 -32
  437. data/ext/apex_ext/apex_src/vendor/libyaml/pkg/docker/output/ReadMe +0 -1
  438. data/ext/apex_ext/apex_src/vendor/libyaml/pkg/docker/scripts/libyaml-dist.sh +0 -23
  439. data/ext/apex_ext/apex_src/vendor/libyaml/regression-inputs/clusterfuzz-testcase-minimized-5607885063061504.yml +0 -1
  440. data/ext/apex_ext/apex_src/vendor/libyaml/src/Makefile.am +0 -4
  441. data/ext/apex_ext/apex_src/vendor/libyaml/src/api.c +0 -1393
  442. data/ext/apex_ext/apex_src/vendor/libyaml/src/dumper.c +0 -394
  443. data/ext/apex_ext/apex_src/vendor/libyaml/src/emitter.c +0 -2358
  444. data/ext/apex_ext/apex_src/vendor/libyaml/src/loader.c +0 -544
  445. data/ext/apex_ext/apex_src/vendor/libyaml/src/parser.c +0 -1416
  446. data/ext/apex_ext/apex_src/vendor/libyaml/src/reader.c +0 -469
  447. data/ext/apex_ext/apex_src/vendor/libyaml/src/scanner.c +0 -3598
  448. data/ext/apex_ext/apex_src/vendor/libyaml/src/writer.c +0 -141
  449. data/ext/apex_ext/apex_src/vendor/libyaml/src/yaml_private.h +0 -684
  450. data/ext/apex_ext/apex_src/vendor/libyaml/tests/CMakeLists.txt +0 -27
  451. data/ext/apex_ext/apex_src/vendor/libyaml/tests/Makefile.am +0 -9
  452. data/ext/apex_ext/apex_src/vendor/libyaml/tests/ReadMe.md +0 -63
  453. data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-deconstructor-alt.c +0 -800
  454. data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-deconstructor.c +0 -1127
  455. data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-reformatter-alt.c +0 -217
  456. data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-reformatter.c +0 -202
  457. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-all-tests.sh +0 -29
  458. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-dumper.c +0 -314
  459. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-emitter-test-suite.c +0 -290
  460. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-emitter.c +0 -327
  461. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-loader.c +0 -63
  462. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-parser-test-suite.c +0 -196
  463. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-parser.c +0 -88
  464. data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-scanner.c +0 -63
  465. data/ext/apex_ext/apex_src/vendor/libyaml/tests/test-reader.c +0 -354
  466. data/ext/apex_ext/apex_src/vendor/libyaml/tests/test-version.c +0 -29
  467. data/ext/apex_ext/apex_src/vendor/libyaml/yaml-0.1.pc.in +0 -10
  468. data/ext/apex_ext/apex_src/vendor/libyaml/yamlConfig.cmake.in +0 -16
  469. data/ext/apex_ext/apex_src/xcode_build/CMakeScripts/ReRunCMake.make +0 -74
  470. data/ext/apex_ext/apex_src/xcode_build/CTestTestfile.cmake +0 -22
  471. data/ext/apex_ext/apex_src/xcode_build/Debug/Apex.framework/Versions/A/Apex +0 -0
  472. data/ext/apex_ext/apex_src/xcode_build/Debug/Apex.framework/Versions/A/Resources/Info.plist +0 -44
  473. data/ext/apex_ext/apex_src/xcode_build/Debug/Apex.framework/Versions/A/_CodeSignature/CodeResources +0 -128
  474. data/ext/apex_ext/apex_src/xcode_build/apex.xcodeproj/project.pbxproj +0 -5118
  475. data/ext/apex_ext/apex_src/xcode_build/apex.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +0 -8
  476. data/ext/apex_ext/apex_src/xcode_build/apex.xcodeproj/project.xcworkspace/xcuserdata/ttscoff.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  477. data/ext/apex_ext/apex_src/xcode_build/apex.xcodeproj/project.xcworkspace/xcuserdata/ttscoff.xcuserdatad/WorkspaceSettings.xcsettings +0 -8
  478. data/ext/apex_ext/apex_src/xcode_build/apex.xcodeproj/xcuserdata/ttscoff.xcuserdatad/xcschemes/xcschememanagement.plist +0 -99
  479. data/ext/apex_ext/apex_src/xcode_build/cmake_install.cmake +0 -452
  480. data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/CMakeScripts/ReRunCMake.make +0 -52
  481. data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/cmake_install.cmake +0 -55
  482. data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/cmark-gfm.xcodeproj/project.pbxproj +0 -2455
  483. data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/cmark-gfm.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +0 -8
  484. data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/extensions/cmake_install.cmake +0 -171
  485. data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/man/cmake_install.cmake +0 -55
  486. data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/cmake_install.cmake +0 -220
  487. data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/cmark-gfm_export.h +0 -43
  488. data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/cmark-gfm_version.h +0 -7
  489. data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/config.h +0 -76
  490. data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/libcmark-gfm.pc +0 -10
@@ -1,703 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <title>APEX(1) — Unified Markdown processor supporting CommonMark,GFM, MultiMarkdown, and Kramdown</title>
6
- <style>
7
- body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; max-width: 65em; margin: 1em auto; padding: 0 1em; line-height: 1.4; color: #333; }
8
- body.man-standalone { margin: 0; }
9
- .man-headline { font-size: 1.75rem; font-weight: bold; margin: 0.5em 0 0.75em; border-bottom: none; color: #a02172; }
10
- .man-nav { position: fixed; left: 0; top: 0; width: 14em; height: 100vh; overflow-y: auto; padding: 1.25em 1.5em; border-right: 1px solid #e0ddd6; background: #f5f4f0; font-size: 0.9rem; }
11
- .man-nav ul { list-style: none; padding: 0; margin: 0; }
12
- .man-nav li { margin: 0.35em 0; }
13
- .man-nav a { color: #444; text-decoration: none; display: block; padding: 0.2em 0; }
14
- .man-nav a:hover { color: #2376b1; background: rgba(0,0,0,0.03); }
15
- .man-main { margin-left: 16em; padding: 1.5em 2em; max-width: 65em; }
16
- .man-section { font-weight: bold; margin-top: 1em; margin-bottom: 0.25em; }
17
- .man-section h2, .man-section h3, .man-section h4 { font-size: 1em; margin: 0; color: #3f789b; }
18
- p { margin: 0.5em 0; }
19
- strong, .man-option { color: #a02172; font-weight: bold; }
20
- code, .man-option { font-family: monospace; background: #f5f5f5; padding: 0 0.2em; }
21
- pre { background: #f5f5f5; padding: 0.75em; overflow-x: auto; }
22
- ul, ol { margin: 0.5em 0; padding-left: 1.5em; }
23
- a { color: #2376b1; }
24
- </style>
25
- </head>
26
- <body class="man-standalone">
27
- <nav class="man-nav"><ul>
28
- <li><a href="#NAME">NAME</a></li>
29
- <li><a href="#SYNOPSIS">SYNOPSIS</a></li>
30
- <li><a href="#DESCRIPTION">DESCRIPTION</a></li>
31
- <li><a href="#OPTIONS">OPTIONS</a></li>
32
- <li><a href="#EXAMPLES">EXAMPLES</a></li>
33
- <li><a href="#PROCESSING-MODES">PROCESSING MODES</a></li>
34
- <li><a href="#METADATA-CONTROL-OF-OPTIONS">METADATA CONTROL OF OPTIONS</a></li>
35
- <li><a href="#FEATURES">FEATURES</a></li>
36
- <li><a href="#SEE-ALSO">SEE ALSO</a></li>
37
- <li><a href="#AUTHOR">AUTHOR</a></li>
38
- <li><a href="#COPYRIGHT">COPYRIGHT</a></li>
39
- <li><a href="#BUGS">BUGS</a></li>
40
- </ul></nav>
41
- <main class="man-main">
42
- <h1 class="man-headline">APEX(1) — Unified Markdown processor supporting CommonMark,GFM, MultiMarkdown, and Kramdown</h1>
43
-
44
- <div class="man-section"><h2 id="NAME">NAME</h2></div>
45
- <p>apex - Unified Markdown processor supporting CommonMark, GFM, MultiMarkdown, and Kramdown</p>
46
-
47
- <div class="man-section"><h2 id="SYNOPSIS">SYNOPSIS</h2></div>
48
- <p><strong>apex</strong> [<em>options</em>] [<em>file</em>]</p>
49
- <p><strong>apex</strong> –combine [<em>files</em>…]</p>
50
- <p><strong>apex</strong> –mmd-merge [<em>index files</em>…]</p>
51
-
52
- <div class="man-section"><h2 id="DESCRIPTION">DESCRIPTION</h2></div>
53
- <p>Apex is a unified Markdown processor that combines the best features from CommonMark, GitHub Flavored Markdown (GFM), MultiMarkdown, Kramdown, and Marked. One processor to rule them all.</p>
54
- <p>If no file is specified, <strong>apex</strong> reads from stdin.</p>
55
-
56
- <div class="man-section"><h2 id="OPTIONS">OPTIONS</h2></div>
57
-
58
- <div class="man-section"><h3 id="Processing-Modes">Processing Modes</h3></div>
59
- <dl>
60
- <dt><strong>-m</strong> <em>MODE</em>, <strong>–mode</strong> <em>MODE</em></dt>
61
- <dd>Processor mode: <strong>commonmark</strong>, <strong>gfm</strong>, <strong>mmd</strong> (or</dd>
62
- </dl>
63
- <p><strong>multimarkdown</strong>), <strong>kramdown</strong>, or <strong>unified</strong> (default). Each mode enables different features and syntax compatibility.</p>
64
-
65
- <div class="man-section"><h3 id="InputOutput">Input/Output</h3></div>
66
- <dl>
67
- <dt><strong>-o</strong> <em>FILE</em>, <strong>–output</strong> <em>FILE</em></dt>
68
- <dd>Write output to <em>FILE</em> instead of stdout.</dd>
69
- </dl>
70
- <dl>
71
- <dt><strong>-s</strong>, <strong>–standalone</strong></dt>
72
- <dd>Generate complete HTML document with <code>&lt;html&gt;</code>, <code>&lt;head&gt;</code>,</dd>
73
- </dl>
74
- <p>and <code>&lt;body&gt;</code> tags.</p>
75
- <dl>
76
- <dt><strong>–style</strong> <em>FILE</em>, <strong>–css</strong> <em>FILE</em></dt>
77
- <dd>Link to CSS file(s) in document head (requires</dd>
78
- </dl>
79
- <p><strong>–standalone</strong>). Can be used multiple times or accept comma-separated list (e.g., <code>--css style.css --css syntax.css</code> or <code>--css style.css,syntax.css</code>). Overrides CSS metadata if specified.</p>
80
- <dl>
81
- <dt><strong>–embed-css</strong></dt>
82
- <dd>When used with <strong>–css FILE</strong>, read the CSS file(s) and embed</dd>
83
- </dl>
84
- <p>their contents into <code>&lt;style&gt;</code> tags in the document head instead of emitting <code>&lt;link rel=&quot;stylesheet&quot;&gt;</code> tags. All specified stylesheets are embedded.</p>
85
- <dl>
86
- <dt><strong>–code-highlight</strong> <em>TOOL</em></dt>
87
- <dd>Use external tool for syntax highlighting of code blocks.</dd>
88
- </dl>
89
- <p><em>TOOL</em> must be <strong>pygments</strong> (or <strong>p</strong>, <strong>pyg</strong>) or <strong>skylighting</strong> (or <strong>s</strong>, <strong>sky</strong>). Code blocks are sent to the external tool with their language specifier (if present) or with auto-detection enabled. The highlighted HTML output replaces the original code block in the document.</p>
90
- <dl>
91
- <dt><strong>–code-line-numbers</strong></dt>
92
- <dd>Include line numbers in syntax-highlighted code blocks.</dd>
93
- </dl>
94
- <p>Requires <strong>–code-highlight</strong>. When used with Pygments, adds <code>linenos=1</code> option. When used with Skylighting, adds <code>-n</code> flag.</p>
95
- <dl>
96
- <dt><strong>–highlight-language-only</strong></dt>
97
- <dd>Only apply syntax highlighting to code blocks that have a language</dd>
98
- </dl>
99
- <p>specified (via <code>```language</code> or IAL). Code blocks without a language will be left unhighlighted. Requires <strong>–code-highlight</strong>.</p>
100
- <dl>
101
- <dt><strong>–script</strong> <em>VALUE</em></dt>
102
- <dd>Inject <code>&lt;script&gt;</code> tags either before <code>&lt;/body&gt;</code> in standalone mode or at the end of the HTML fragment in snippet mode. <em>VALUE</em> can be a path, a URL, or one of the following shorthands: <code>mermaid</code>, <code>mathjax</code>, <code>katex</code>, <code>highlightjs</code>, <code>highlight.js</code>, <code>prism</code>, <code>prismjs</code>, <code>htmx</code>, <code>alpine</code>, <code>alpinejs</code>. Can be used multiple times or with a comma-separated list (e.g., <code>--script mermaid,mathjax</code>).</dd>
103
- </dl>
104
- <dl>
105
- <dt><strong>–title</strong> <em>TITLE</em></dt>
106
- <dd>Document title (requires <strong>–standalone</strong>, default:</dd>
107
- </dl>
108
- <p>“Document”).</p>
109
- <dl>
110
- <dt><strong>–pretty</strong></dt>
111
- <dd>Pretty-print HTML with indentation and whitespace.</dd>
112
- </dl>
113
- <dl>
114
- <dt><strong>–aria</strong></dt>
115
- <dd>Add ARIA labels and accessibility attributes to HTML</dd>
116
- </dl>
117
- <p>output. When enabled, adds:</p>
118
- <p><code>aria-label=&quot;Table of contents&quot;</code> to TOC navigation elements (<code>&lt;nav class=&quot;toc&quot;&gt;</code>)</p>
119
-
120
- <pre><code>- `role=&quot;figure&quot;` to `&lt;figure&gt;` elements
121
- - `role=&quot;table&quot;` to `&lt;table&gt;` elements
122
- - `id` attributes to `&lt;figcaption&gt;` elements within
123
-
124
- table figures (if missing)
125
-
126
- - `aria-describedby` attributes to tables linking them
127
-
128
- to their captions
129
- </code></pre>
130
- <p>This enhances screen reader support and makes the HTML output more accessible. Default: disabled.</p>
131
-
132
- <div class="man-section"><h3 id="Feature-Flags">Feature Flags</h3></div>
133
- <dl>
134
- <dt><strong>–accept</strong></dt>
135
- <dd>Accept all Critic Markup changes (apply edits).</dd>
136
- </dl>
137
- <dl>
138
- <dt><strong>–reject</strong></dt>
139
- <dd>Reject all Critic Markup changes (revert edits).</dd>
140
- </dl>
141
- <dl>
142
- <dt><strong>–code-highlight</strong> <em>TOOL</em></dt>
143
- <dd>Use external tool for syntax highlighting of code blocks.</dd>
144
- </dl>
145
- <p><em>TOOL</em> must be <strong>pygments</strong> (or abbreviations <strong>p</strong>, <strong>pyg</strong>) or <strong>skylighting</strong> (or abbreviations <strong>s</strong>, <strong>sky</strong>). Code blocks are sent to the external tool with their language specifier (if present) or with auto-detection enabled. The highlighted HTML output replaces the original code block in the document.</p>
146
- <dl>
147
- <dt><strong>–code-line-numbers</strong></dt>
148
- <dd>Include line numbers in syntax-highlighted code blocks.</dd>
149
- </dl>
150
- <p>Requires <strong>–code-highlight</strong>. When used with Pygments, adds <code>linenos=1</code> option. When used with Skylighting, adds <code>-n</code> flag.</p>
151
- <dl>
152
- <dt><strong>–highlight-language-only</strong></dt>
153
- <dd>Only apply syntax highlighting to code blocks that have a language</dd>
154
- </dl>
155
- <p>specified (via <code>```language</code> or IAL). Code blocks without a language will be left unhighlighted. Requires <strong>–code-highlight</strong>.</p>
156
- <dl>
157
- <dt><strong>–includes</strong>, <strong>–no-includes</strong></dt>
158
- <dd>Enable or disable file inclusion. Enabled by default in</dd>
159
- </dl>
160
- <p>unified mode.</p>
161
- <dl>
162
- <dt><strong>–meta-file</strong> <em>FILE</em></dt>
163
- <dd>Load metadata from an external file. Auto-detects format: YAML (starts with <code>---</code>), MultiMarkdown (key: value pairs), or Pandoc (starts with <code>%</code>). Metadata from the file is merged with document metadata, with document metadata taking precedence. Metadata can also control command-line options (see METADATA CONTROL OF OPTIONS below). If no <code>--meta-file</code> is provided, Apex will automatically load <code>$XDG_CONFIG_HOME/apex/config.yml</code> (or <code>~/.config/apex/config.yml</code> when <code>XDG_CONFIG_HOME</code> is not set) if it exists, as if it were passed via <code>--meta-file</code>.</dd>
164
- </dl>
165
- <dl>
166
- <dt><strong>–meta</strong> <em>KEY=VALUE</em></dt>
167
- <dd>Set a metadata key-value pair. Can be used multiple times. Supports comma-separated pairs (e.g., <code>--meta KEY1=value1,KEY2=value2</code>). Values can be quoted to include spaces and special characters. Command-line metadata takes precedence over both file and document metadata. Metadata can also control command-line options (see METADATA CONTROL OF OPTIONS below).</dd>
168
- </dl>
169
- <dl>
170
- <dt><strong>–hardbreaks</strong></dt>
171
- <dd>Treat newlines as hard breaks.</dd>
172
- </dl>
173
- <dl>
174
- <dt><strong>–widont</strong></dt>
175
- <dd>Prevent short widows in headings by inserting non-breaking spaces</dd>
176
- </dl>
177
-
178
- <pre><code>(`&amp;nbsp;`) between trailing words when their combined length is 10
179
- characters or less. Applies to h1-h6 headings.
180
- </code></pre>
181
- <dl>
182
- <dt><strong>–code-is-poetry</strong></dt>
183
- <dd>Treat code blocks without a language as poetry by adding the <code>poetry</code></dd>
184
- </dl>
185
-
186
- <pre><code>class. Automatically enables **--highlight-language-only**.
187
- </code></pre>
188
- <dl>
189
- <dt><strong>–markdown-in-html</strong>, <strong>–no-markdown-in-html</strong></dt>
190
- <dd>Enable or disable markdown processing inside HTML blocks with</dd>
191
- </dl>
192
-
193
- <pre><code>`markdown` attributes. Enabled by default in unified mode.
194
- </code></pre>
195
- <dl>
196
- <dt><strong>–random-footnote-ids</strong></dt>
197
- <dd>Use hash-based footnote IDs (e.g., <code>fn-a7b3c9d2-1</code>) instead of</dd>
198
- </dl>
199
-
200
- <pre><code>sequential IDs to avoid collisions when combining multiple documents.
201
- </code></pre>
202
- <dl>
203
- <dt><strong>–hashtags</strong></dt>
204
- <dd>Convert <code>#tags</code> into span-wrapped hashtags with the <code>mkhashtag</code> class.</dd>
205
- </dl>
206
- <dl>
207
- <dt><strong>–style-hashtags</strong></dt>
208
- <dd>Use the <code>mkstyledtag</code> class instead of <code>mkhashtag</code> for hashtags.</dd>
209
- </dl>
210
-
211
- <pre><code>Requires **--hashtags**.
212
- </code></pre>
213
- <dl>
214
- <dt><strong>–proofreader</strong></dt>
215
- <dd>Treat <code>==highlight==</code> and <code>~~delete~~</code> as CriticMarkup highlight and</dd>
216
- </dl>
217
-
218
- <pre><code>deletion syntax. Automatically enables CriticMarkup processing.
219
- </code></pre>
220
- <dl>
221
- <dt><strong>–hr-page-break</strong></dt>
222
- <dd>Replace <code>&lt;hr&gt;</code> elements with Marked-style page break divs.</dd>
223
- </dl>
224
- <dl>
225
- <dt><strong>–title-from-h1</strong></dt>
226
- <dd>Use the first H1 heading as the document title when no title is</dd>
227
- </dl>
228
-
229
- <pre><code>specified via **--title** or metadata. Requires **--standalone**.
230
- </code></pre>
231
- <dl>
232
- <dt><strong>–page-break-before-footnotes</strong></dt>
233
- <dd>Insert a page break before the footnotes section.</dd>
234
- </dl>
235
- <dl>
236
- <dt><strong>–no-footnotes</strong></dt>
237
- <dd>Disable footnote support.</dd>
238
- </dl>
239
- <dl>
240
- <dt><strong>–no-math</strong></dt>
241
- <dd>Disable math support.</dd>
242
- </dl>
243
- <dl>
244
- <dt><strong>–no-smart</strong></dt>
245
- <dd>Disable smart typography.</dd>
246
- </dl>
247
- <dl>
248
- <dt><strong>–no-tables</strong></dt>
249
- <dd>Disable table support.</dd>
250
- </dl>
251
- <dl>
252
- <dt><strong>–no-ids</strong></dt>
253
- <dd>Disable automatic header ID generation.</dd>
254
- </dl>
255
- <dl>
256
- <dt><strong>–header-anchors</strong></dt>
257
- <dd>Generate <code>&lt;a&gt;</code> anchor tags instead of header IDs.</dd>
258
- </dl>
259
- <dl>
260
- <dt><strong>–wikilinks</strong>, <strong>–no-wikilinks</strong></dt>
261
- <dd>Enable wiki link syntax <code>[[PageName]]</code>. Default: disabled.</dd>
262
- </dl>
263
-
264
- <div class="man-section"><h3 id="Header-ID-Format">Header ID Format</h3></div>
265
- <dl>
266
- <dt><strong>–id-format</strong> <em>FORMAT</em></dt>
267
- <dd>Header ID format: <strong>gfm</strong> (default), <strong>mmd</strong>, or</dd>
268
- </dl>
269
- <p><strong>kramdown</strong>. Modes auto-set format; use this to override in unified mode.</p>
270
-
271
- <div class="man-section"><h3 id="List-Options">List Options</h3></div>
272
- <dl>
273
- <dt><strong>–alpha-lists</strong>, <strong>–no-alpha-lists</strong></dt>
274
- <dd>Support alpha list markers (a., b., c. and A., B., C.).</dd>
275
- </dl>
276
- <dl>
277
- <dt><strong>–mixed-lists</strong>, <strong>–no-mixed-lists</strong></dt>
278
- <dd>Allow mixed list markers at same level (inherit type from</dd>
279
- </dl>
280
- <p>first item).</p>
281
-
282
- <div class="man-section"><h3 id="Table-Options">Table Options</h3></div>
283
- <dl>
284
- <dt><strong>–relaxed-tables</strong>, <strong>–no-relaxed-tables</strong></dt>
285
- <dd>Enable relaxed table parsing (no separator rows required).</dd>
286
- </dl>
287
- <dl>
288
- <dt><strong>–per-cell-alignment</strong>, <strong>–no-per-cell-alignment</strong></dt>
289
- <dd>Enable per-cell alignment markers in tables. When enabled, cells</dd>
290
- </dl>
291
- <p>starting with a colon (<code>:</code>) are left-aligned, ending with a colon (<code>:</code>) are right-aligned, or both (<code>:tent:</code>) are center-aligned. The colons are stripped from the output and replaced with <code>style=&quot;text-align: ...&quot;</code> attributes. Default: enabled in unified mode, disabled in commonmark, gfm, mmd, and kramdown modes.</p>
292
- <dl>
293
- <dt><strong>–captions</strong> <em>POSITION</em></dt>
294
- <dd>Table caption position: <strong>above</strong> or <strong>below</strong> (default:</dd>
295
- </dl>
296
- <p><strong>below</strong>). Controls where table captions appear relative to the table.</p>
297
-
298
- <div class="man-section"><h3 id="HTML-and-Links">HTML and Links</h3></div>
299
- <dl>
300
- <dt><strong>–unsafe</strong>, <strong>–no-unsafe</strong></dt>
301
- <dd>Allow raw HTML in output. Default: true for</dd>
302
- </dl>
303
- <p>unified/mmd/kramdown modes, false for commonmark/gfm modes.</p>
304
- <dl>
305
- <dt><strong>–autolink</strong>, <strong>–no-autolink</strong></dt>
306
- <dd>Enable autolinking of URLs and email addresses. Default:</dd>
307
- </dl>
308
- <p>enabled in GFM, MultiMarkdown, Kramdown, and unified modes; disabled in CommonMark mode.</p>
309
- <dl>
310
- <dt><strong>–obfuscate-emails</strong></dt>
311
- <dd>Obfuscate email links and text using HTML entities</dd>
312
- </dl>
313
- <p>(hex-encoded).</p>
314
- <p><code>dash</code> - Convert spaces to dashes: <code>[[Home Page]]</code> → <code>href=&quot;Home-Page&quot;</code></p>
315
- <p><code>none</code> - Remove spaces: <code>[[Home Page]]</code> → <code>href=&quot;HomePage&quot;</code></p>
316
- <p><code>underscore</code> - Convert spaces to underscores: <code>[[Home Page]]</code> → <code>href=&quot;Home_Page&quot;</code></p>
317
- <p><code>space</code> - Keep spaces (rendered as <code>%%20</code> in HTML): <code>[[Home Page]]</code> → <code>href=&quot;Home%20Page&quot;</code></p>
318
-
319
- <pre><code>Default: `dash`.
320
- </code></pre>
321
- <dl>
322
- <dt><strong>–wikilink-sanitize</strong>, <strong>–no-wikilink-sanitize</strong></dt>
323
- <dd>Sanitize wiki link URLs for cleaner, more compatible links. When enabled:</dd>
324
- </dl>
325
-
326
- <ul>
327
- <li>Removes apostrophes and quotation marks (i.e. removes <code>&quot;&#39;\</code>´‘’“”`)
328
- </li>
329
- <li>Converts select latin-1 characters to ASCII (e.g. e-acute -&gt; e)
330
- </li>
331
- <li>Converts uppercase to lowercase
332
- </li>
333
- <li>Replaces non-ascii and any non-alphanumeric ascii characters with the space-mode character (except <code>/</code> and <code>.</code>)
334
- </li>
335
- <li>Removes duplicate space-mode characters
336
- </li>
337
- <li>Removes leading and trailing space-mode characters
338
- </li>
339
- </ul>
340
- <p>For example, with <code>--wikilink-sanitize --wikilink-space dash</code>:</p>
341
- <p><code>[[O&#39;Brien&#39;s Page]]</code> → <code>href=&quot;obriens-page&quot;</code></p>
342
- <p><code>[[Hello World!!!]]</code> → <code>href=&quot;hello-world&quot;</code></p>
343
- <p><code>[[path/to/FILE.MD]]</code> → <code>href=&quot;path/to/file.md&quot;</code></p>
344
- <p>Default: disabled.</p>
345
-
346
- <div class="man-section"><h3 id="Image-Embedding">Image Embedding</h3></div>
347
- <dl>
348
- <dt><strong>–embed-images</strong></dt>
349
- <dd>Embed local images as base64 data URLs in HTML output. Only local images (file paths) are embedded; remote images (http://, https://) are not processed. Images are read from the filesystem and encoded as base64 data URLs (e.g., <code>data:image/png;base64,...</code>). Relative paths are resolved using the base directory (see <strong>–base-dir</strong>).</dd>
350
- </dl>
351
- <dl>
352
- <dt><strong>–image-captions</strong>, <strong>–no-image-captions</strong></dt>
353
- <dd>Wrap images with title or alt text in <code>&lt;figure&gt;</code> elements with <code>&lt;figcaption&gt;</code>. Default: enabled in unified and MultiMarkdown modes; disabled in commonmark, gfm, and kramdown modes.</dd>
354
- </dl>
355
- <dl>
356
- <dt><strong>–emoji-autocorrect</strong>, <strong>–no-emoji-autocorrect</strong></dt>
357
- <dd>Convert emoji names (e.g., <code>:rocket:</code>) to Unicode emoji characters. Default: enabled in unified mode; disabled in other modes.</dd>
358
- </dl>
359
-
360
- <div class="man-section"><h3 id="Path-Resolution">Path Resolution</h3></div>
361
- <dl>
362
- <dt><strong>–base-dir</strong> <em>DIR</em></dt>
363
- <dd>Base directory for resolving relative paths. Used for:</dd>
364
- </dl>
365
-
366
- <pre><code>- Image embedding (with **--embed-images**)
367
- - File includes/transclusions
368
- - Relative path resolution when reading from stdin or
369
-
370
- when the working directory differs from the document
371
- location
372
- </code></pre>
373
- <p>If not specified and reading from a file, the base directory is automatically set to the input file’s directory. When reading from stdin, this flag must be used to resolve relative paths.</p>
374
-
375
- <div class="man-section"><h3 id="SuperscriptSubscript">Superscript/Subscript</h3></div>
376
- <dl>
377
- <dt><strong>–sup-sub</strong>, <strong>–no-sup-sub</strong></dt>
378
- <dd>Enable MultiMarkdown-style superscript and subscript syntax. The <code>&lt;sup&gt;</code></sup> character creates superscript for the text immediately following it (stops at space or punctuation). The <code>~</code> character creates subscript when used within a word/identifier (e.g., <code>H~2~O</code> creates H₂O). When tildes are at word boundaries (e.g., <code>~text~</code>), they create underline instead. Default: enabled in unified and MultiMarkdown modes.</dd>
379
- </dl>
380
- <dl>
381
- <dt><strong>–strikethrough</strong>, <strong>–no-strikethrough</strong></dt>
382
- <dd>Enable or disable GFM-style strikethrough processing (<code>~~text~~</code>). When enabled, <code>~~text~~</code> renders as <code>&lt;del&gt;text&lt;/del&gt;</code>. Default: enabled in GFM and unified modes; disabled in commonmark, mmd, and kramdown modes.</dd>
383
- </dl>
384
- <dl>
385
- <dt><strong>–divs</strong>, <strong>–no-divs</strong></dt>
386
- <dd>Enable or disable Pandoc fenced divs syntax (<code>::::: {#id .class} ... :::::</code>). Fenced divs allow you to create HTML block elements with attributes using a special fence syntax. By default, fenced divs create <code>&lt;div&gt;</code> elements, but you can specify different block types using the <code>&gt;blocktype</code> syntax (e.g., <code>::: &gt;aside {.sidebar} ... :::</code> creates an <code>&lt;aside&gt;</code> element instead). Opening fences must have at least 3 colons and attributes; closing fences need at least 3 colons. Fenced divs can be nested, including different block types. Default: enabled in unified mode only.</dd>
387
- </dl>
388
- <dl>
389
- <dt><strong>–spans</strong>, <strong>–no-spans</strong></dt>
390
- <dd>Enable or disable Pandoc-style bracketed spans syntax (<code>[text]{#id .class key=&quot;val&quot;}</code>). Bracketed spans allow you to create HTML <code>&lt;span&gt;</code> elements with attributes. The text inside the brackets is processed as markdown. If the bracketed text matches a reference link definition, it will be treated as a link instead of a span. Default: enabled in unified mode only.</dd>
391
- </dl>
392
-
393
- <div class="man-section"><h3 id="Citations-and-Bibliography">Citations and Bibliography</h3></div>
394
- <dl>
395
- <dt><strong>–bibliography</strong> <em>FILE</em></dt>
396
- <dd>Bibliography file in BibTeX, CSL JSON, or CSL YAML format.</dd>
397
- </dl>
398
- <p>Can be specified multiple times to load multiple bibliography files. Citations are automatically enabled when this option is used. Bibliography can also be specified in document metadata.</p>
399
- <dl>
400
- <dt><strong>–csl</strong> <em>FILE</em></dt>
401
- <dd>Citation Style Language (CSL) file for formatting</dd>
402
- </dl>
403
- <p>citations and bibliography. Citations are automatically enabled when this option is used. CSL file can also be specified in document metadata.</p>
404
- <dl>
405
- <dt><strong>–no-bibliography</strong></dt>
406
- <dd>Suppress bibliography output even when citations are</dd>
407
- </dl>
408
- <p>present.</p>
409
- <dl>
410
- <dt><strong>–link-citations</strong></dt>
411
- <dd>Link citations to their corresponding bibliography</dd>
412
- </dl>
413
- <p>entries. Citations will include <code>href</code> attributes pointing to the bibliography entry.</p>
414
- <dl>
415
- <dt><strong>–show-tooltips</strong></dt>
416
- <dd>Show tooltips on citations when hovering (requires CSS</dd>
417
- </dl>
418
- <p>support).</p>
419
- <p>Citation syntax is supported in MultiMarkdown and unified modes:</p>
420
-
421
- <ul>
422
- <li>Pandoc: <code>[@key]</code>, <code>[@key1; @key2]</code>, <code>@key</code>
423
- </li>
424
- <li>MultiMarkdown: <code>[#key]</code>
425
- </li>
426
- <li>mmark: <code>[@RFC1234]</code>
427
- </li>
428
- </ul>
429
- <p>Bibliography is inserted at the <code>&lt;!-- REFERENCES --&gt;</code> marker or appended to the end of the document if no marker is found.</p>
430
-
431
- <div class="man-section"><h3 id="Indices">Indices</h3></div>
432
- <dl>
433
- <dt><strong>–indices</strong></dt>
434
- <dd>Enable index processing. Supports both mmark and TextIndex</dd>
435
- </dl>
436
- <p>syntax. Default: enabled in MultiMarkdown and unified modes.</p>
437
- <dl>
438
- <dt><strong>–no-indices</strong></dt>
439
- <dd>Disable index processing.</dd>
440
- </dl>
441
- <dl>
442
- <dt><strong>–no-index</strong></dt>
443
- <dd>Suppress index generation at the end of the document.</dd>
444
- </dl>
445
- <p>Index markers are still created in the document, but the index section is not generated.</p>
446
- <p>Index syntax is supported in MultiMarkdown and unified modes:</p>
447
-
448
- <ul>
449
- <li><strong>mmark syntax</strong>: <code>(!item)</code>, <code>(!item, subitem)</code>, `(!!item,
450
- <p>subitem)` for primary entries</p>
451
- </li>
452
- <li><strong>TextIndex syntax</strong>: <code>word{^}</code>, <code>[term]{^}</code>, <code>{^params}</code>
453
- </li>
454
- </ul>
455
- <p>The index is automatically generated at the end of the document or at the <code>&lt;!--INDEX--&gt;</code> marker if present. Entries are sorted alphabetically and can be grouped by first letter.</p>
456
-
457
- <div class="man-section"><h3 id="AST-Filters">AST Filters</h3></div>
458
- <dl>
459
- <dt><strong>–filter</strong> <em>NAME</em></dt>
460
- <dd>Run a single AST filter from the user filters directory</dd>
461
- </dl>
462
- <p>(<code>$XDG_CONFIG_HOME/apex/filters</code> or <code>~/.config/apex/filters</code>). <em>NAME</em> is the basename of an executable that reads Pandoc JSON from stdin and writes Pandoc JSON to stdout.</p>
463
- <dl>
464
- <dt><strong>–filters</strong></dt>
465
- <dd>Run all executable files in the user filters directory, in sorted</dd>
466
- </dl>
467
- <p>filename order. Directory filters run first if <strong>–filter</strong> is also used.</p>
468
- <dl>
469
- <dt><strong>–lua-filter</strong> <em>FILE</em></dt>
470
- <dd>Run a Lua script as an AST filter. Apex invokes the system <strong>lua</strong></dd>
471
- </dl>
472
- <p>interpreter with <em>FILE</em>. The script reads a Pandoc JSON document from stdin and must write a Pandoc JSON document to stdout. A JSON library (e.g. dkjson) is required; see the Filters documentation for details.</p>
473
- <dl>
474
- <dt><strong>–no-strict-filters</strong></dt>
475
- <dd>Do not abort when a filter fails or returns invalid JSON; log a</dd>
476
- </dl>
477
- <p>warning and continue with the previous AST. Default: abort on error.</p>
478
- <dl>
479
- <dt><strong>–list-filters</strong></dt>
480
- <dd>List installed filters and available filters from the central</dd>
481
- </dl>
482
- <p>apex-filters directory. Shows filter IDs; available filters show title, author, description, and homepage.</p>
483
- <dl>
484
- <dt><strong>–install-filter</strong> <em>ID-or-URL</em></dt>
485
- <dd>Install an AST filter into the user filters directory. <em>ID-or-URL</em></dd>
486
- </dl>
487
- <p>may be a filter ID from the central apex-filters directory (e.g. <strong>unwrap</strong>) or a Git URL / GitHub shorthand. When installing from a URL, Apex may prompt for confirmation.</p>
488
- <dl>
489
- <dt><strong>–uninstall-filter</strong> <em>ID</em></dt>
490
- <dd>Uninstall a filter by ID. Removes the filter (file or directory)</dd>
491
- </dl>
492
- <p>from the user filters directory. Apex prompts for confirmation.</p>
493
-
494
- <div class="man-section"><h3 id="Plugins">Plugins</h3></div>
495
- <dl>
496
- <dt><strong>–plugins</strong>, <strong>–no-plugins</strong></dt>
497
- <dd>Enable or disable external/plugin processing. Plugins</dd>
498
- </dl>
499
- <p>extend Apex with custom processing capabilities.</p>
500
- <dl>
501
- <dt><strong>–list-plugins</strong></dt>
502
- <dd>List installed plugins and available plugins from the</dd>
503
- </dl>
504
- <p>remote directory. Shows both locally installed plugins and plugins available for installation from the Apex plugin directory.</p>
505
- <dl>
506
- <dt><strong>–install-plugin</strong> <em>ID</em></dt>
507
- <dd>Install a plugin by ID from the remote directory, or by Git URL/GitHub shorthand (user/repo). Plugins are installed to <code>$XDG_CONFIG_HOME/apex/plugins</code> (or <code>~/.config/apex/plugins</code> when <code>XDG_CONFIG_HOME</code> is not set). When installing from a URL or GitHub shorthand, Apex will prompt for confirmation since plugins execute unverified code.</dd>
508
- </dl>
509
- <dl>
510
- <dt><strong>–uninstall-plugin</strong> <em>ID</em></dt>
511
- <dd>Uninstall a plugin by ID. Removes the plugin directory</dd>
512
- </dl>
513
- <p>from the plugins folder. Apex will prompt for confirmation before removing the plugin.</p>
514
-
515
- <div class="man-section"><h3 id="General-Options">General Options</h3></div>
516
- <dl>
517
- <dt><strong>-h</strong>, <strong>–help</strong></dt>
518
- <dd>Show help message and exit.</dd>
519
- </dl>
520
- <dl>
521
- <dt><strong>-v</strong>, <strong>–version</strong></dt>
522
- <dd>Show version information and exit.</dd>
523
- </dl>
524
- <dl>
525
- <dt><strong>–progress</strong>, <strong>–no-progress</strong></dt>
526
- <dd>Show progress indicator during processing. Default: enabled when stderr is a TTY.</dd>
527
- </dl>
528
-
529
- <div class="man-section"><h3 id="Multi-file-Utilities">Multi-file Utilities</h3></div>
530
- <dl>
531
- <dt><strong>–combine</strong> <em>files…</em></dt>
532
- <dd>Concatenate one or more Markdown files into a single</dd>
533
- </dl>
534
- <p>Markdown stream, expanding all supported include syntaxes. When a <code>SUMMARY.md</code> file is provided, Apex treats it as a GitBook-style index and combines the linked files in order. Output is raw Markdown suitable for piping back into Apex.</p>
535
- <dl>
536
- <dt><strong>–mmd-merge</strong> <em>index files…</em></dt>
537
- <dd>Merge files from one or more MultiMarkdown <code>mmd_merge</code>-style index files into a single Markdown stream. Each non-empty, non-comment line in an index file specifies a document to include. Lines whose first non-whitespace character is <code>#</code> are treated as comments and ignored. Indentation (tabs or groups of four spaces) before the filename increases the header level of the included document (each indent level shifts all Markdown headings in that file down one level). Output is raw Markdown suitable for piping into Apex, for example:</dd>
538
- </dl>
539
- <p>apex –mmd-merge index.txt | apex –mode mmd –standalone -o book.html</p>
540
-
541
- <div class="man-section"><h2 id="EXAMPLES">EXAMPLES</h2></div>
542
- <p>Process a markdown file:</p>
543
-
544
- <pre><code>apex input.md
545
- </code></pre>
546
- <p>Output to a file:</p>
547
-
548
- <pre><code>apex input.md -o output.html
549
- </code></pre>
550
- <p>Generate standalone HTML document:</p>
551
-
552
- <pre><code>apex input.md --standalone --title &quot;My Document&quot;
553
- </code></pre>
554
- <p>Pretty-print HTML output:</p>
555
-
556
- <pre><code>apex input.md --pretty
557
- </code></pre>
558
- <p>Use GFM mode:</p>
559
-
560
- <pre><code>apex input.md --mode gfm
561
- </code></pre>
562
- <p>Process document with citations and bibliography:</p>
563
-
564
- <pre><code>apex document.md --bibliography refs.bib
565
- </code></pre>
566
- <p>Use metadata to specify bibliography:</p>
567
-
568
- <pre><code>apex document.md
569
- </code></pre>
570
- <p>(With bibliography specified in YAML front matter)</p>
571
- <p>Use Kramdown mode with relaxed tables:</p>
572
-
573
- <pre><code>apex input.md --mode kramdown
574
- </code></pre>
575
- <p>Process from stdin:</p>
576
-
577
- <pre><code>echo &quot;# Hello&quot; | apex
578
- </code></pre>
579
-
580
- <div class="man-section"><h2 id="PROCESSING-MODES">PROCESSING MODES</h2></div>
581
- <dl>
582
- <dt><strong>commonmark</strong></dt>
583
- <dd>Pure CommonMark specification. Minimal features, maximum</dd>
584
- </dl>
585
- <p>compatibility.</p>
586
- <dl>
587
- <dt><strong>gfm</strong></dt>
588
- <dd>GitHub Flavored Markdown. Includes tables, strikethrough,</dd>
589
- </dl>
590
- <p>task lists, autolinks, and more.</p>
591
- <dl>
592
- <dt><strong>mmd</strong>, <strong>multimarkdown</strong></dt>
593
- <dd>MultiMarkdown compatibility. Includes metadata, definition</dd>
594
- </dl>
595
- <p>lists, footnotes, and more.</p>
596
- <dl>
597
- <dt><strong>kramdown</strong></dt>
598
- <dd>Kramdown compatibility. Includes relaxed tables, IAL</dd>
599
- </dl>
600
- <p>(Inline Attribute Lists) for adding HTML attributes to elements, and more.</p>
601
- <dl>
602
- <dt><strong>unified</strong> (default)</dt>
603
- <dd>All features enabled. Combines features from all modes.</dd>
604
- </dl>
605
-
606
- <div class="man-section"><h2 id="METADATA-CONTROL-OF-OPTIONS">METADATA CONTROL OF OPTIONS</h2></div>
607
- <p>Most command-line options can be controlled via document metadata, allowing different files to be processed with different settings when processing batches. This enables per-document configuration without needing separate command-line invocations.</p>
608
- <p><strong>Boolean options</strong> accept <code>true</code>/<code>false</code>, <code>yes</code>/<code>no</code>, or <code>1</code>/<code>0</code> (case-insensitive). <strong>String options</strong> use the value directly.</p>
609
- <p><strong>Supported boolean options:</strong> <code>indices</code>, <code>wikilinks</code>, <code>wikilink-sanitize</code>, <code>includes</code>, <code>relaxed-tables</code>, <code>per-cell-alignment</code>, <code>alpha-lists</code>, <code>mixed-lists</code>, <code>sup-sub</code>, <code>strikethrough</code>, <code>autolink</code>, <code>transforms</code>, <code>unsafe</code>, <code>tables</code>, <code>footnotes</code>, <code>smart</code>, <code>math</code>, <code>ids</code>, <code>header-anchors</code>, <code>embed-images</code>, <code>image-captions</code>, <code>link-citations</code>, <code>show-tooltips</code>, <code>suppress-bibliography</code>, <code>suppress-index</code>, <code>group-index-by-letter</code>, <code>obfuscate-emails</code>, <code>pretty</code>, <code>standalone</code>, <code>hardbreaks</code>, <code>plugins</code>, <code>emoji-autocorrect</code>, <code>code-line-numbers</code>, <code>highlight-language-only</code>, <code>markdown-in-html</code></p>
610
- <p><strong>Supported string options:</strong> <code>bibliography</code>, <code>csl</code>, <code>title</code>, <code>style</code> (or <code>css</code>), <code>id-format</code>, <code>base-dir</code>, <code>mode</code>, <code>wikilink-space</code>, <code>wikilink-extension</code></p>
611
-
612
- <pre><code>---
613
- indices: false
614
- wikilinks: true
615
- bibliography: references.bib
616
- title: My Research Paper
617
- pretty: true
618
- standalone: true
619
- ---
620
-
621
- </code></pre>
622
-
623
- <pre><code>indices: false
624
- wikilinks: true
625
- bibliography: references.bib
626
- title: My Research Paper
627
-
628
- </code></pre>
629
- <p>When processing multiple files with <code>apex *.md</code>, each file can use its own configuration via metadata. You can also use <code>--meta-file</code> to specify a shared configuration file that applies to all processed files.</p>
630
- <p><strong>Note:</strong> If <code>mode</code> is specified in metadata, it resets all options to that mode’s defaults before applying other metadata options.</p>
631
-
632
- <div class="man-section"><h2 id="FEATURES">FEATURES</h2></div>
633
- <p>Apex supports a wide range of Markdown extensions:</p>
634
-
635
- <ul>
636
- <li><strong>Tables</strong>: GFM-style tables with alignment
637
- </li>
638
- <li><strong>Strikethrough</strong>: GFM-style <code>~~text~~</code> (controlled by <strong>–strikethrough</strong>)
639
- </li>
640
- <li><strong>Footnotes</strong>: Reference-style footnotes
641
- </li>
642
- <li><strong>Math</strong>: Inline (<code>$...$</code>) and display (<code>$$...$$</code>) math
643
- <p>with LaTeX</p>
644
- </li>
645
- <li><strong>Wiki Links</strong>: <code>[[Page]]</code>, <code>[[Page|Display]]</code>,
646
- <p><code>[[Page#Section]]</code></p>
647
- </li>
648
- <li><strong>Critic Markup</strong>: All 5 types (add, del,
649
- <p>sub, mark, comment)</p>
650
- </li>
651
- <li><strong>Smart Typography</strong>: Smart quotes, dashes, ellipsis
652
- </li>
653
- <li><strong>Definition Lists</strong>: MultiMarkdown-style definition lists
654
- </li>
655
- <li><strong>Task Lists</strong>: GFM-style task lists
656
- </li>
657
- <li><strong>Metadata</strong>: YAML front matter, MultiMarkdown metadata,
658
- <p>Pandoc title blocks</p>
659
- </li>
660
- <li><strong>Metadata Transforms</strong>: Transform metadata values with
661
- <p><code>[%key:transform]</code> syntax (case conversion, string manipulation, regex replacement, date formatting, etc.)</p>
662
- </li>
663
- <li><strong>Metadata Control of Options</strong>: Control command-line
664
- <p>options via metadata for per-document configuration</p>
665
- </li>
666
- <li><strong>Header IDs</strong>: Automatic or manual header IDs with
667
- <p>multiple format options</p>
668
- </li>
669
- <li><strong>Relaxed Tables</strong>: Support for tables without separator rows (Kramdown-style). Enabled by default in unified and Kramdown modes.
670
- </li>
671
- <li><strong>Per-Cell Alignment</strong>: Support for alignment markers using colons at the start and/or end of table cells. Enabled by default in unified mode only.
672
- <p>rows (Kramdown-style)</p>
673
- </li>
674
- <li><strong>Inline Tables from CSV/TSV</strong>: Convert inline CSV/TSV
675
- <p>text to tables using ```table fences or <code>&lt;!--TABLE--&gt;</code> markers</p>
676
- </li>
677
- </ul>
678
- <p><strong>Superscript/Subscript</strong>: MultiMarkdown-style superscript (<code>^text</code>) and subscript (<code>~text~</code> within words) syntax. Subscript uses paired tildes within word boundaries (e.g., <code>H~2~O</code>), while tildes at word boundaries create underline</p>
679
-
680
- <ul>
681
- <li><strong>Image Embedding</strong>: Embed local images as base64 data
682
- <p>URLs with <code>--embed-images</code> flag</p>
683
- </li>
684
- </ul>
685
- <p><strong>Inline Attribute Lists (IAL)</strong>: Kramdown-style syntax for adding HTML attributes (IDs, classes, key-value pairs) to block-level and inline elements. Supports Attribute List Definitions (ALDs) for reusable attribute sets. Available in kramdown and unified modes. See <a href="https://github.com/ttscoff/apex/wiki/Inline-Attribute-Lists">Inline Attribute Lists</a> for complete documentation</p>
686
-
687
- <div class="man-section"><h2 id="SEE-ALSO">SEE ALSO</h2></div>
688
- <p><strong>apex-config</strong>(5), <strong>apex-plugins</strong>(7), <strong>pandoc</strong>(1), <strong>markdown</strong>(7)</p>
689
- <p>For complete documentation, see the <a href="https://github.com/ttscoff/apex/wiki">Apex Wiki</a>.</p>
690
- <p>Project homepage: <a href="https://github.com/ApexMarkdown/apex">https://github.com/ApexMarkdown/apex</a></p>
691
-
692
- <div class="man-section"><h2 id="AUTHOR">AUTHOR</h2></div>
693
- <p>Brett Terpstra</p>
694
-
695
- <div class="man-section"><h2 id="COPYRIGHT">COPYRIGHT</h2></div>
696
- <p>Copyright (c) 2025 Brett Terpstra. Licensed under MIT License.</p>
697
-
698
- <div class="man-section"><h2 id="BUGS">BUGS</h2></div>
699
- <p>Report bugs at <a href="https://github.com/ttscoff/apex/issues">https://github.com/ttscoff/apex/issues</a>.</p>
700
-
701
- </main>
702
- </body>
703
- </html>