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,803 +0,0 @@
1
- % APEX(1)
2
- % Brett Terpstra
3
- % December 2025
4
-
5
- # NAME
6
-
7
- apex - Unified Markdown processor supporting CommonMark,
8
- GFM, MultiMarkdown, and Kramdown
9
-
10
- # SYNOPSIS
11
-
12
- **apex** [*options*] [*file*]
13
-
14
- **apex** --combine [*files*...]
15
-
16
- **apex** --mmd-merge [*index files*...]
17
-
18
- # DESCRIPTION
19
-
20
- Apex is a unified Markdown processor that combines the best
21
- features from CommonMark, GitHub Flavored Markdown (GFM),
22
- MultiMarkdown, Kramdown, and Marked. One processor to rule
23
- them all.
24
-
25
- If no file is specified, **apex** reads from stdin.
26
-
27
- # OPTIONS
28
-
29
- ## Processing Modes
30
-
31
- **-m** *MODE*, **--mode** *MODE*
32
- : Processor mode: **commonmark**, **gfm**, **mmd** (or
33
- **multimarkdown**), **kramdown**, or **unified** (default).
34
- Each mode enables different features and syntax
35
- compatibility.
36
-
37
- ## Input/Output
38
-
39
- **-o** *FILE*, **--output** *FILE*
40
- : Write output to *FILE* instead of stdout.
41
-
42
- **-s**, **--standalone**
43
- : Generate complete HTML document with `<html>`, `<head>`,
44
- and `<body>` tags.
45
-
46
- **--style** *FILE*, **--css** *FILE*
47
- : Link to CSS file(s) in document head (requires
48
- **--standalone**). Can be used multiple times or accept
49
- comma-separated list (e.g., `--css style.css --css syntax.css`
50
- or `--css style.css,syntax.css`). Overrides CSS metadata if
51
- specified.
52
-
53
- **--embed-css**
54
- : When used with **--css FILE**, read the CSS file(s) and embed
55
- their contents into `<style>` tags in the document head instead
56
- of emitting `<link rel="stylesheet">` tags. All specified
57
- stylesheets are embedded.
58
-
59
- **--width** *N*
60
- : When using **--to terminal** or **--to terminal256**, hard-wrap ANSI-colored
61
- output at *N* visible columns. This is especially useful in file manager
62
- preview panes (such as **lf** or **yazi**) where Apex cannot detect the pane
63
- width automatically. ANSI escape sequences are preserved and are not counted
64
- toward the column limit. If not specified, Apex does not add extra wrapping
65
- and the terminal itself controls line wrapping.
66
-
67
- **-p**, **--paginate**
68
- : When using **--to terminal**, **--to cli**, or **--to terminal256**, send
69
- the rendered terminal output through a pager instead of writing directly to
70
- stdout. The pager command is chosen in this order:
71
-
72
- - If `$APEX_PAGER` is set and non-empty, Apex uses its value as the pager.
73
- - Otherwise, if `$PAGER` is set and non-empty, Apex uses that.
74
- - Otherwise, Apex falls back to `less -R`.
75
-
76
- Pagination is ignored when the output format is not a terminal format or when
77
- `-o/--output` is used to write to a file. You can also enable pagination via
78
- metadata or config by setting `paginate: true`.
79
-
80
- When pagination is enabled and the rendered output contains inline terminal
81
- graphics (iTerm **imgcat** / OSC 1337 sequences or Kitty graphics), Apex
82
- automatically skips the pager and writes directly to stdout, because **`less -R`**
83
- and most pagers only support ANSI color, not inline image protocols. A short
84
- notice is printed to stderr.
85
-
86
- **--paginate-symbols**
87
- : Page terminal output (same pager selection as **--paginate**) and render
88
- Markdown images as **chafa** ANSI block art (`chafa -f symbols`) so images
89
- display correctly in **`less -R`**. Requires **chafa** on **PATH**. With
90
- **--to terminal256**, Apex passes `-c 256` to chafa; with **--to terminal**,
91
- `-c 16`. Equivalent to metadata `paginate: symbols`. Implies pagination is
92
- enabled.
93
-
94
- **--no-paginate**
95
- : Do not page terminal output. Overrides **-p** / **--paginate** and
96
- `paginate: true` or `paginate: symbols` from metadata or config.
97
-
98
- **--theme** *NAME*
99
- : Terminal theme name for **--to terminal** / **--to terminal256**. Themes are YAML files under `~/.config/apex/terminal/themes/` (see the Apex wiki).
100
-
101
- **--no-terminal-images**
102
- : Disable inline terminal rendering of Markdown images for **--to terminal** / **--to terminal256**. Default is to render when **stdout** is a TTY, a supported viewer exists on **PATH**, and inline images are enabled (see **METADATA CONTROL OF OPTIONS** for `terminal.inline_images`).
103
-
104
- **--terminal-image-width** *N*
105
- : Maximum width in character cells passed to the image viewer (default: 50).
106
- When **stdout** is a TTY and inline images are enabled, Apex selects a viewer
107
- on **PATH** as follows:
108
-
109
- - **imgcat** — only when **TERM_PROGRAM** indicates iTerm2 (iTerm inline-image protocol).
110
- - **chafa** — otherwise, if available (`-f` format depends on terminal: **iterm** on iTerm/WezTerm, **kitty** on Kitty, **symbols** on other terminals).
111
- - **catimg** — if chafa is not found.
112
- - **viu** — if neither chafa nor catimg is found.
113
-
114
- For `http://` and `https://` image URLs, Apex downloads with **curl** (60 second
115
- timeout, 10 MiB maximum size) to a file under **$TMPDIR** or `/tmp`, then
116
- displays it. If **curl** is missing, download fails, no viewer is found,
117
- **stdout** is not a TTY, or **--no-terminal-images** is set, images are emitted
118
- as styled link text and URL (like hyperlinks), not as Markdown `![alt](url)` syntax.
119
-
120
- When **--paginate-symbols** or `paginate: symbols` is active, Apex always uses
121
- **chafa** with `-f symbols` for images so pager output remains compatible with
122
- **less -R**.
123
-
124
- **--code-highlight** *TOOL*
125
- : Use external tool for syntax highlighting of code blocks.
126
- *TOOL* must be **pygments** (or **p**, **pyg**), **skylighting**
127
- (or **s**, **sky**), or **shiki** (or **sh**). Code blocks are sent
128
- to the external tool with their language specifier (if present) or
129
- with auto-detection enabled. Output format is HTML or ANSI
130
- depending on destination (e.g. **--to terminal**). Shiki requires
131
- a language when it cannot auto-detect; on error, the block is
132
- left as plain text.
133
-
134
- **--code-highlight-theme** *THEME*
135
- : Theme/style name for external syntax highlighters.
136
- When using **pygments**, this maps to the Pygments style name in
137
- both HTML and terminal output (e.g. `style=THEME`). When using
138
- **skylighting**, it maps to the Skylighting style name via
139
- `--style THEME` for both HTML and ANSI terminal output. When using
140
- **shiki**, it maps to the Shiki theme via `--theme THEME` for
141
- both HTML and terminal/ANSI output. See **--list-themes** for
142
- available theme names for each tool.
143
-
144
- **--code-line-numbers**
145
- : Include line numbers in syntax-highlighted code blocks.
146
- Requires **--code-highlight**. When used with Pygments, adds
147
- `linenos=1` option. When used with Skylighting, adds `-n` flag.
148
- Shiki does not support line numbers in CLI mode.
149
-
150
- **--highlight-language-only**
151
- : Only apply syntax highlighting to code blocks that have a language
152
- specified (via ` ```language ` or IAL). Code blocks without a language
153
- will be left unhighlighted. Requires **--code-highlight**.
154
-
155
- **--script** *VALUE*
156
- : Inject `<script>` tags either before `</body>` in standalone mode or at the end of the HTML fragment in snippet mode. *VALUE* can be a path, a URL, or one of the following shorthands: `mermaid`, `mathjax`, `katex`, `highlightjs`, `highlight.js`, `prism`, `prismjs`, `htmx`, `alpine`, `alpinejs`. Can be used multiple times or with a comma-separated list (e.g., `--script mermaid,mathjax`).
157
-
158
- **--title** *TITLE*
159
- : Document title (requires **--standalone**, default:
160
- "Document").
161
-
162
- **--pretty**
163
- : Pretty-print HTML with indentation and whitespace.
164
-
165
- **--aria**
166
- : Add ARIA labels and accessibility attributes to HTML
167
- output. When enabled, adds:
168
-
169
- `aria-label="Table of contents"` to TOC navigation elements (`<nav class="toc">`)
170
-
171
- - `role="figure"` to `<figure>` elements
172
- - `role="table"` to `<table>` elements
173
- - `id` attributes to `<figcaption>` elements within
174
-
175
- table figures (if missing)
176
-
177
- - `aria-describedby` attributes to tables linking them
178
-
179
- to their captions
180
-
181
- This enhances screen reader support and makes the HTML
182
- output more accessible. Default: disabled.
183
-
184
- **-t** *FORMAT*, **--to** *FORMAT*
185
- : Output format. One of:
186
-
187
- - **html** (default) - Rendered HTML
188
- - **xhtml** - Same as **html** with **`--xhtml`** (self-closing void tags). Alias; **`--xhtml`** remains valid.
189
- - **strict-xhtml** - Same as **html** with **`--strict-xhtml`** (polyglot XHTML when used with **--standalone**). Alias; **`--strict-xhtml`** remains valid.
190
- - **json**, **json-filtered**, **ast-json**, **ast** - JSON output (before or after filters)
191
- - **markdown**, **md**, **mmd**, **commonmark**, **cmark**, **kramdown**, **gfm** - Markdown variants
192
- - **toc** - Markdown unordered list of heading links only (default depth **#**–**###**)
193
- - **terminal**, **cli**, **terminal256** - ANSI-colored output for TTYs and terminal emulators
194
- - **man** - Man page roff source (.TH, .SH, etc.)
195
- - **man-html** - Styled HTML man page (use **--standalone** for full page with nav sidebar)
196
- - **rtf** - Rich Text Format (native writer; write to a `.rtf` file for best results)
197
-
198
- When using a terminal format, Apex emits ANSI-colored output suitable for TTYs and
199
- terminal emulators.
200
-
201
- **--toc-min-max** *MIN,MAX*
202
- :: Inclusive heading depth for **--to toc** and for HTML TOC markers without an
203
- explicit range. The default is **1,3**, which includes headings from **#**
204
- through **###**. Marker syntax with an explicit range, such as `{{TOC:2-5}}`,
205
- overrides this setting. Values must satisfy `1 <= MIN <= MAX <= 6`.
206
-
207
- ## Feature Flags
208
-
209
- **--accept**
210
- : Accept all Critic Markup changes (apply edits).
211
-
212
- **--reject**
213
- : Reject all Critic Markup changes (revert edits).
214
-
215
- **--code-highlight** *TOOL*
216
- : Use external tool for syntax highlighting of code blocks.
217
- *TOOL* must be **pygments** (or **p**, **pyg**), **skylighting**
218
- (or **s**, **sky**), or **shiki** (or **sh**). Code blocks are sent
219
- to the external tool with their language specifier (if present) or
220
- with auto-detection enabled. Output format is HTML or ANSI
221
- depending on destination. Shiki falls back to plain text when
222
- language cannot be determined.
223
-
224
- **--code-line-numbers**
225
- : Include line numbers in syntax-highlighted code blocks.
226
- Requires **--code-highlight**. When used with Pygments, adds
227
- `linenos=1` option. When used with Skylighting, adds `-n` flag.
228
- Shiki does not support line numbers in CLI mode.
229
-
230
- **--highlight-language-only**
231
- : Only apply syntax highlighting to code blocks that have a language
232
- specified (via ` ```language ` or IAL). Code blocks without a language
233
- will be left unhighlighted. Requires **--code-highlight**.
234
-
235
- **--includes**, **--no-includes**
236
- : Enable or disable file inclusion. Enabled by default in unified mode.
237
-
238
- **--transforms**, **--no-transforms**
239
- : Enable or disable metadata variable transforms
240
- (`[%key:transform]`). When enabled, metadata values can be
241
- transformed (case conversion, string manipulation, regex
242
- replacement, date formatting, etc.) when inserted into the
243
- document. Enabled by default in unified mode.
244
-
245
- **--meta-file** *FILE*
246
- : Load metadata from an external file. Auto-detects format: YAML (starts with `---`), MultiMarkdown (key: value pairs), or Pandoc (starts with `%`). 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 `--meta-file` is provided, Apex will automatically load `$XDG_CONFIG_HOME/apex/config.yml` (or `~/.config/apex/config.yml` when `XDG_CONFIG_HOME` is not set) if it exists, as if it were passed via `--meta-file`.
247
-
248
- **--meta** *KEY=VALUE*
249
- : Set a metadata key-value pair. Can be used multiple times. Supports comma-separated pairs (e.g., `--meta KEY1=value1,KEY2=value2`). 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).
250
-
251
- **--hardbreaks**
252
- : Treat newlines as hard breaks.
253
-
254
- **--widont**
255
- : Prevent short widows in headings by inserting non-breaking spaces
256
- (`&nbsp;`) between trailing words when their combined length is 10
257
- characters or less. Applies to h1-h6 headings.
258
-
259
- **--code-is-poetry**
260
- : Treat code blocks without a language as poetry by adding the `poetry`
261
- class. Automatically enables **--highlight-language-only**.
262
-
263
- **--markdown-in-html**, **--no-markdown-in-html**
264
- : Enable or disable markdown processing inside HTML blocks with
265
- `markdown` attributes. Enabled by default in unified mode.
266
-
267
- **--random-footnote-ids**
268
- : Use hash-based footnote IDs (e.g., `fn-a7b3c9d2-1`) instead of
269
- sequential IDs to avoid collisions when combining multiple documents.
270
-
271
- **--hashtags**
272
- : Convert `#tags` into span-wrapped hashtags with the `mkhashtag` class.
273
-
274
- **--style-hashtags**
275
- : Use the `mkstyledtag` class instead of `mkhashtag` for hashtags.
276
- Requires **--hashtags**.
277
-
278
- **--proofreader**
279
- : Treat `==highlight==` and `~~delete~~` as CriticMarkup highlight and
280
- deletion syntax. Automatically enables CriticMarkup processing.
281
-
282
- **--hr-page-break**
283
- : Replace `<hr>` elements with Marked-style page break divs.
284
-
285
- **--title-from-h1**
286
- : Use the first H1 heading as the document title when no title is
287
- specified via **--title** or metadata. Requires **--standalone**.
288
-
289
- **--page-break-before-footnotes**
290
- : Insert a page break before the footnotes section.
291
-
292
- **--no-footnotes**
293
- : Disable footnote support.
294
-
295
- **--no-math**
296
- : Disable math support.
297
-
298
- **--no-smart**
299
- : Disable smart typography.
300
-
301
- **--no-tables**
302
- : Disable table support.
303
-
304
- **--no-ids**
305
- : Disable automatic header ID generation.
306
-
307
- **--header-anchors**
308
- : Generate `<a>` anchor tags instead of header IDs.
309
-
310
- **--wikilinks**, **--no-wikilinks**
311
- : Enable wiki link syntax `[[PageName]]`. Default: disabled.
312
-
313
- ## Header ID Format
314
-
315
- **--id-format** *FORMAT*
316
- : Header ID format: **gfm** (default), **mmd**, or
317
- **kramdown**. Modes auto-set format; use this to override in
318
- unified mode.
319
-
320
- ## List Options
321
-
322
- **--alpha-lists**, **--no-alpha-lists**
323
- : Support alpha list markers (a., b., c. and A., B., C.).
324
-
325
- **--mixed-lists**, **--no-mixed-lists**
326
- : Allow mixed list markers at same level (inherit type from
327
- first item).
328
-
329
- ## Table Options
330
-
331
- **--relaxed-tables**, **--no-relaxed-tables**
332
- : Enable relaxed table parsing (no separator rows required).
333
-
334
- **--per-cell-alignment**, **--no-per-cell-alignment**
335
- : Enable per-cell alignment markers in tables. When enabled, cells
336
- starting with a colon (`:`) are left-aligned, ending with a colon
337
- (`:`) are right-aligned, or both (`:content:`) are center-aligned.
338
- The colons are stripped from the output and replaced with
339
- `style="text-align: ..."` attributes. Default: enabled in unified
340
- mode, disabled in commonmark, gfm, mmd, and kramdown modes.
341
-
342
- **--captions** *POSITION*
343
- : Table caption position: **above** or **below** (default:
344
- **below**). Controls where table captions appear relative to
345
- the table.
346
-
347
- ## HTML and Links
348
-
349
- **--unsafe**, **--no-unsafe**
350
- : Allow raw HTML in output. Default: true for
351
- unified/mmd/kramdown modes, false for commonmark/gfm modes.
352
-
353
- **--autolink**, **--no-autolink**
354
- : Enable autolinking of URLs and email addresses. Default:
355
- enabled in GFM, MultiMarkdown, Kramdown, and unified modes;
356
- disabled in CommonMark mode.
357
-
358
- **--obfuscate-emails**
359
- : Obfuscate email links and text using HTML entities
360
- (hex-encoded).
361
-
362
- **--wikilink-space** *MODE*
363
- : Control how spaces in wiki link page names are handled in
364
- the generated URL. **MODE** must be one of:
365
-
366
- `dash` - Convert spaces to dashes: `[[Home Page]]` → `href="Home-Page"`
367
-
368
- `none` - Remove spaces: `[[Home Page]]` → `href="HomePage"`
369
-
370
- `underscore` - Convert spaces to underscores: `[[Home Page]]` → `href="Home_Page"`
371
-
372
- `space` - Keep spaces (rendered as `%%20` in HTML): `[[Home Page]]` → `href="Home%20Page"`
373
-
374
- Default: `dash`.
375
-
376
- **--wikilink-extension** *EXT*
377
- : Add a file extension to wiki link URLs. The extension is automatically
378
- prefixed with a dot if not provided. For example, `--wikilink-extension html`
379
- creates `href="Page.html"` and `--wikilink-extension .html` also creates
380
- `href="Page.html"`.
381
-
382
- **--wikilink-sanitize**, **--no-wikilink-sanitize**
383
- : Sanitize wiki link URLs for cleaner, more compatible links. When enabled:
384
-
385
- - Removes apostrophes and quotation marks (i.e. removes `"'\`´‘’“”`)
386
- - Converts select latin-1 characters to ASCII (e.g. e-acute -> e)
387
- - Converts uppercase to lowercase
388
- - Replaces non-ascii and any non-alphanumeric ascii characters with the space-mode character (except `/` and `.`)
389
- - Removes duplicate space-mode characters
390
- - Removes leading and trailing space-mode characters
391
-
392
- For example, with `--wikilink-sanitize --wikilink-space dash`:
393
-
394
- `[[O'Brien's Page]]` → `href="obriens-page"`
395
-
396
- `[[Hello World!!!]]` → `href="hello-world"`
397
-
398
- `[[path/to/FILE.MD]]` → `href="path/to/file.md"`
399
-
400
- Default: disabled.
401
-
402
- ## Image Embedding
403
-
404
- **--embed-images**
405
- : 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., `data:image/png;base64,...`). Relative paths are resolved using the base directory (see **--base-dir**).
406
-
407
- **--image-captions**, **--no-image-captions**
408
- : Wrap images with title or alt text in `<figure>` elements with `<figcaption>`. Default: enabled in unified and MultiMarkdown modes; disabled in commonmark, gfm, and kramdown modes.
409
-
410
- **--emoji-autocorrect**, **--no-emoji-autocorrect**
411
- : Convert emoji names (e.g., `:rocket:`) to Unicode emoji characters. Default: enabled in unified mode; disabled in other modes.
412
-
413
- ## Path Resolution
414
-
415
- **--base-dir** *DIR*
416
- : Base directory for resolving relative paths. Used for:
417
-
418
- - Image embedding (with **--embed-images**)
419
- - File includes/transclusions
420
- - Relative path resolution when reading from stdin or
421
-
422
- when the working directory differs from the document
423
- location
424
-
425
- If not specified and reading from a file, the base directory
426
- is automatically set to the input file's directory. When
427
- reading from stdin, this flag must be used to resolve
428
- relative paths.
429
-
430
- ## Superscript/Subscript
431
-
432
- **--sup-sub**, **--no-sup-sub**
433
- : Enable MultiMarkdown-style superscript and subscript syntax. The `^` character creates superscript for the text immediately following it (stops at space or punctuation). The `~` character creates subscript when used within a word/identifier (e.g., `H~2~O` creates H₂O). When tildes are at word boundaries (e.g., `~text~`), they create underline instead. Default: enabled in unified and MultiMarkdown modes.
434
-
435
- **--strikethrough**, **--no-strikethrough**
436
- : Enable or disable GFM-style strikethrough processing (`~~text~~`). When enabled, `~~text~~` renders as `<del>text</del>`. Default: enabled in GFM and unified modes; disabled in commonmark, mmd, and kramdown modes.
437
-
438
- **--divs**, **--no-divs**
439
- : Enable or disable Pandoc fenced divs syntax (`:::: {#id .class} ... :::::`). Fenced divs allow you to create HTML block elements with attributes using a special fence syntax. By default, fenced divs create `<div>` elements, but you can specify different block types using the `>blocktype` syntax (e.g., `:: >aside {.sidebar} ... :::` creates an `<aside>` 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.
440
-
441
- **--py-callouts**, **--no-py-callouts**
442
- : Enable or disable Python-Markdown callout syntax (`!!! note "Optional Title"` followed by indented content) and markdown-callouts label syntax (`NOTE: ...`, `>? NOTE: ...` for collapsed callouts). Disabled by default to avoid ambiguity with regular markdown prose.
443
-
444
- **--quarto-callouts**, **--no-quarto-callouts**
445
- : Enable or disable Quarto callout syntax using fenced div markers (`::: {.callout-note}` ... `:::`). When enabled, recognized Quarto callout blocks bypass generic fenced-div conversion and are rendered as callouts; non-callout fenced divs continue to be processed as regular Pandoc fenced divs.
446
-
447
- **--spans**, **--no-spans**
448
- : Enable or disable Pandoc-style bracketed spans syntax (`[text]{#id .class key="val"}`). Bracketed spans allow you to create HTML `<span>` 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.
449
-
450
- ## Citations and Bibliography
451
-
452
- **--bibliography** *FILE*
453
- : Bibliography file in BibTeX, CSL JSON, or CSL YAML format.
454
- Can be specified multiple times to load multiple
455
- bibliography files. Citations are automatically enabled when
456
- this option is used. Bibliography can also be specified in
457
- document metadata.
458
-
459
- **--csl** *FILE*
460
- : Citation Style Language (CSL) file for formatting
461
- citations and bibliography. Citations are automatically
462
- enabled when this option is used. CSL file can also be
463
- specified in document metadata.
464
-
465
- **--no-bibliography**
466
- : Suppress bibliography output even when citations are
467
- present.
468
-
469
- **--link-citations**
470
- : Link citations to their corresponding bibliography
471
- entries. Citations will include `href` attributes pointing
472
- to the bibliography entry.
473
-
474
- **--show-tooltips**
475
- : Show tooltips on citations when hovering (requires CSS
476
- support).
477
-
478
- Citation syntax is supported in MultiMarkdown and unified
479
- modes:
480
-
481
- - Pandoc: `[@key]`, `[@key1; @key2]`, `@key`
482
- - MultiMarkdown: `[#key]`
483
- - mmark: `[@RFC1234]`
484
-
485
- Bibliography is inserted at the `<!-- REFERENCES -->` marker
486
- or appended to the end of the document if no marker is
487
- found.
488
-
489
- ## Indices
490
-
491
- **--concordance** *FILE*
492
- : TextIndex concordance file (tab-separated). Searches the
493
- document for each rule's column-1 pattern and inserts
494
- `[match]{^col2}` index marks before TextIndex processing.
495
- Can be specified multiple times. Enables indices and
496
- TextIndex syntax when used. Matches inside existing index
497
- marks, `{index}` directives, and HTML tags are skipped.
498
- See https://mattgemmell.scot/textindex/#concordance-files
499
- for the concordance file format.
500
-
501
- **--indices**
502
- : Enable index processing. Supports both mmark and TextIndex
503
- syntax. Default: enabled in MultiMarkdown and unified modes.
504
-
505
- **--no-indices**
506
- : Disable index processing.
507
-
508
- **--no-index**
509
- : Suppress index generation at the end of the document.
510
- Index markers are still created in the document, but the
511
- index section is not generated.
512
-
513
- Index syntax is supported in MultiMarkdown and unified
514
- modes:
515
-
516
- - **mmark syntax**: `(!item)`, `(!item, subitem)`, `(!!item, subitem)` for primary entries
517
-
518
- - **TextIndex syntax**: `word{^}`, `[term]{^}`, `{^params}`
519
-
520
- The index is automatically generated at the end of the
521
- document or at the `<!--INDEX-->` marker if present. Entries
522
- are sorted alphabetically and can be grouped by first
523
- letter.
524
-
525
- ## AST Filters
526
-
527
- **--filter** *NAME*
528
- : Run a single AST filter from the user filters directory
529
- (`$XDG_CONFIG_HOME/apex/filters` or `~/.config/apex/filters`). *NAME* is
530
- the basename of an executable that reads Pandoc JSON from stdin and writes
531
- Pandoc JSON to stdout.
532
-
533
- **--filters**
534
- : Run all executable files in the user filters directory, in sorted
535
- filename order. Directory filters run first if **--filter** is also used.
536
-
537
- **--lua-filter** *FILE*
538
- : Run a Lua script as an AST filter. Apex invokes the system **lua**
539
- interpreter with *FILE*. The script reads a Pandoc JSON document from
540
- stdin and must write a Pandoc JSON document to stdout. A JSON library
541
- (e.g. dkjson) is required; see the Filters documentation for details.
542
-
543
- **--no-strict-filters**
544
- : Do not abort when a filter fails or returns invalid JSON; log a
545
- warning and continue with the previous AST. Default: abort on error.
546
-
547
- **--list-filters**
548
- : List installed filters and available filters from the central
549
- apex-filters directory. Shows filter IDs; available filters show
550
- title, author, description, and homepage.
551
-
552
- **--install-filter** *ID-or-URL*
553
- : Install an AST filter into the user filters directory. *ID-or-URL*
554
- may be a filter ID from the central apex-filters directory (e.g.
555
- **unwrap**) or a Git URL / GitHub shorthand. When installing from a URL,
556
- Apex may prompt for confirmation.
557
-
558
- **--uninstall-filter** *ID*
559
- : Uninstall a filter by ID. Removes the filter (file or directory)
560
- from the user filters directory. Apex prompts for confirmation.
561
-
562
- ## Plugins
563
-
564
- **--plugins**, **--no-plugins**
565
- : Enable or disable external/plugin processing. Plugins
566
- extend Apex with custom processing capabilities.
567
-
568
- **--list-plugins**
569
- : List installed plugins and available plugins from the
570
- remote directory. Shows both locally installed plugins and
571
- plugins available for installation from the Apex plugin
572
- directory.
573
-
574
- **--install-plugin** *ID*
575
- : Install a plugin by ID from the remote directory, or by Git URL/GitHub shorthand (user/repo). Plugins are installed to `$XDG_CONFIG_HOME/apex/plugins` (or `~/.config/apex/plugins` when `XDG_CONFIG_HOME` is not set). When installing from a URL or GitHub shorthand, Apex will prompt for confirmation since plugins execute unverified code.
576
-
577
- **--uninstall-plugin** *ID*
578
- : Uninstall a plugin by ID. Removes the plugin directory
579
- from the plugins folder. Apex will prompt for confirmation
580
- before removing the plugin.
581
-
582
- ## General Options
583
-
584
- **-h**, **--help**
585
- : Show help message and exit.
586
-
587
- **-v**, **--version**
588
- : Show version information and exit.
589
-
590
- **--progress**, **--no-progress**
591
- : Show progress indicator during processing. Default: enabled when stderr is a TTY.
592
-
593
- ## Multi-file Utilities
594
-
595
- **--combine** *files...*
596
- : Concatenate one or more Markdown files into a single
597
- Markdown stream, expanding all supported include syntaxes.
598
- When a `SUMMARY.md` file is provided, Apex treats it as a
599
- GitBook-style index and combines the linked files in order.
600
- Output is raw Markdown suitable for piping back into Apex.
601
-
602
- **--mmd-merge** *index files...*
603
- : Merge files from one or more MultiMarkdown `mmd_merge`-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 `#` 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:
604
-
605
- apex --mmd-merge index.txt | apex --mode mmd --standalone -o book.html
606
-
607
- # EXAMPLES
608
-
609
- Process a markdown file:
610
-
611
- apex input.md
612
-
613
- Output to a file:
614
-
615
- apex input.md -o output.html
616
-
617
- Generate standalone HTML document:
618
-
619
- apex input.md --standalone --title "My Document"
620
-
621
- Pretty-print HTML output:
622
-
623
- apex input.md --pretty
624
-
625
- Use GFM mode:
626
-
627
- apex input.md --mode gfm
628
-
629
- Process document with citations and bibliography:
630
-
631
- apex document.md --bibliography refs.bib
632
-
633
- Use metadata to specify bibliography:
634
-
635
- apex document.md
636
-
637
- (With bibliography specified in YAML front matter)
638
-
639
- Use Kramdown mode with relaxed tables:
640
-
641
- apex input.md --mode kramdown
642
-
643
- Process from stdin:
644
-
645
- echo "# Hello" | apex
646
-
647
- # PROCESSING MODES
648
-
649
- **commonmark**
650
- : Pure CommonMark specification. Minimal features, maximum
651
- compatibility.
652
-
653
- **gfm**
654
- : GitHub Flavored Markdown. Includes tables, strikethrough,
655
- task lists, autolinks, and more.
656
-
657
- **mmd**, **multimarkdown**
658
- : MultiMarkdown compatibility. Includes metadata, definition
659
- lists, footnotes, and more.
660
-
661
- **kramdown**
662
- : Kramdown compatibility. Includes relaxed tables, IAL
663
- (Inline Attribute Lists) for adding HTML attributes to
664
- elements, and more.
665
-
666
- **unified** (default)
667
- : All features enabled. Combines features from all modes.
668
-
669
- # METADATA CONTROL OF OPTIONS
670
-
671
- Most command-line options can be controlled via document
672
- metadata, allowing different files to be processed with
673
- different settings when processing batches. This enables
674
- per-document configuration without needing separate
675
- command-line invocations.
676
-
677
- **Boolean options** accept `true`/`false`, `yes`/`no`, or
678
- `1`/`0` (case-insensitive). **String options** use the value
679
- directly.
680
-
681
- **Supported boolean options:**
682
- `indices`, `wikilinks`, `wikilink-sanitize`, `includes`, `relaxed-tables`, `per-cell-alignment`, `alpha-lists`, `mixed-lists`, `sup-sub`, `strikethrough`, `autolink`, `transforms`, `unsafe`, `tables`, `footnotes`, `smart`, `math`, `callouts`, `py-callouts`, `quarto-callouts`, `divs`, `spans`, `ids`, `header-anchors`, `embed-images`, `image-captions`, `link-citations`, `show-tooltips`, `suppress-bibliography`, `suppress-index`, `group-index-by-letter`, `obfuscate-emails`, `pretty`, `standalone`, `hardbreaks`, `plugins`, `emoji-autocorrect`, `code-line-numbers`, `highlight-language-only`, `markdown-in-html`
683
-
684
- **Supported string options:**
685
- `bibliography`, `csl`, `title`, `style` (or `css`),
686
- `id-format`, `toc-min-max`, `base-dir`, `mode`, `wikilink-space`,
687
- `wikilink-extension`
688
-
689
- **Terminal output metadata** (for **--to terminal** / **terminal256**): `terminal.theme` (`terminal_theme`), `terminal.width` (`terminal_width`, wrap width), `terminal.inline_images` (`terminal_inline_images`, boolean), `terminal.image_width` (`terminal_image_width`, viewer width in character cells), `terminal.paginate` (`terminal_paginate`), `paginate` (`true`, `false`, or `symbols` for pager-friendly chafa ANSI images), `code-highlight`, `code-highlight-theme`.
690
-
691
- **Example YAML front matter:**
692
- ```
693
- ---
694
- indices: false
695
- wikilinks: true
696
- bibliography: references.bib
697
- title: My Research Paper
698
- pretty: true
699
- standalone: true
700
- ---
701
-
702
- ```
703
-
704
- **Example MultiMarkdown metadata:**
705
- ```
706
- indices: false
707
- wikilinks: true
708
- bibliography: references.bib
709
- title: My Research Paper
710
-
711
- ```
712
-
713
- When processing multiple files with `apex *.md`, each file can use its own configuration via metadata. You can also use `--meta-file` to specify a shared configuration file that applies to all processed files.
714
-
715
- **Note:** If `mode` is specified in metadata, it resets all
716
- options to that mode's defaults before applying other
717
- metadata options.
718
-
719
- # FEATURES
720
-
721
- Apex supports a wide range of Markdown extensions:
722
-
723
- - **Tables**: GFM-style tables with alignment
724
- - **Strikethrough**: GFM-style `~~text~~` (controlled by **--strikethrough**)
725
- - **Footnotes**: Reference-style footnotes
726
- - **Math**: Inline (`$...$`) and display (`$$...$$`) math
727
- with LaTeX
728
- - **Wiki Links**: `[[Page]]`, `[[Page|Display]]`,
729
- `[[Page#Section]]`
730
- - **Critic Markup**: All 5 types ({++add++}, {--del--},
731
- {~~sub~~}, {==mark==}, {>>comment<<})
732
- - **Smart Typography**: Smart quotes, dashes, ellipsis
733
- - **Definition Lists**: MultiMarkdown-style definition lists
734
- - **Task Lists**: GFM-style task lists
735
- - **Metadata**: YAML front matter, MultiMarkdown metadata,
736
- Pandoc title blocks
737
- - **Metadata Transforms**: Transform metadata values with
738
- `[%key:transform]` syntax (case conversion, string
739
- manipulation, regex replacement, date formatting, etc.)
740
- - **Metadata Control of Options**: Control command-line
741
- options via metadata for per-document configuration
742
- - **Header IDs**: Automatic or manual header IDs with
743
- multiple format options
744
- - **Relaxed Tables**: Support for tables without separator
745
- rows (Kramdown-style). Enabled by default in unified and
746
- Kramdown modes.
747
- - **Per-Cell Alignment**: Support for alignment markers using
748
- colons at the start and/or end of table cells. Enabled by default
749
- in unified mode only.
750
- - **Inline Tables from CSV/TSV**: Convert inline CSV/TSV
751
- text to tables using ```table fences or `<!--TABLE-->`
752
- markers
753
- - **Superscript/Subscript**: MultiMarkdown-style superscript (`^text`) and
754
- subscript (`~text~` within words) syntax. Subscript uses paired tildes within
755
- word boundaries (e.g., `H~2~O`), while tildes at word boundaries create
756
- underline
757
- - **Image Embedding**: Embed local images as base64 data URLs with `--embed-images` flag
758
- - **Inline Attribute Lists (IAL)**: Kramdown-style syntax for adding HTML
759
- attributes (IDs, classes, key-value pairs) to block-level and inline elements.
760
- Supports Attribute List Definitions (ALDs) for reusable attribute sets. Available in
761
- kramdown and unified modes. See
762
- [Inline Attribute Lists](https://github.com/ttscoff/apex/wiki/Inline-Attribute-Lists)
763
- for complete documentation
764
-
765
-
766
- # ENVIRONMENT
767
-
768
- **APEX_PAGER**
769
- : When set and non-empty, used as the pager command for **-p** / **--paginate**
770
- and **--paginate-symbols** before **$PAGER**.
771
-
772
- **PAGER**
773
- : Fallback pager command when **APEX_PAGER** is unset.
774
-
775
- **APEX_DEBUG_TERMINAL**
776
- : When set to any non-empty value, Apex prints terminal rendering diagnostics
777
- to stderr: selected image viewer, full viewer command lines, **TERM_PROGRAM**,
778
- pagination mode, and syntax highlighter commands.
779
-
780
- **TMPDIR**
781
- : Directory for temporary files when downloading remote images for terminal
782
- display (falls back to `/tmp` when unset).
783
-
784
- # SEE ALSO
785
-
786
- **apex-config**(5), **apex-plugins**(7), **pandoc**(1), **markdown**(7)
787
-
788
- For complete documentation, see the [Apex Wiki](https://github.com/ttscoff/apex/wiki).
789
-
790
- Project homepage: <https://github.com/ApexMarkdown/apex>
791
-
792
- # AUTHOR
793
-
794
- Brett Terpstra
795
-
796
- # COPYRIGHT
797
-
798
- Copyright (c) 2025 Brett Terpstra. Licensed under MIT
799
- License.
800
-
801
- # BUGS
802
-
803
- Report bugs at <https://github.com/ttscoff/apex/issues>.