apex-ruby 1.0.30 → 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.
- checksums.yaml +4 -4
- data/README.md +2 -8
- data/apex-ruby.gemspec +14 -3
- data/ext/apex_ext/apex_src/include/apex/apex.h +11 -2
- data/ext/apex_ext/apex_src/src/apex.c +64 -5
- data/ext/apex_ext/apex_src/src/ast_terminal.c +2 -4
- data/ext/apex_ext/apex_src/src/extensions/callouts.c +103 -63
- data/ext/apex_ext/apex_src/src/extensions/callouts.h +3 -2
- data/ext/apex_ext/apex_src/src/extensions/citations.c +15 -2
- data/ext/apex_ext/apex_src/src/extensions/emoji.c +73 -7
- data/ext/apex_ext/apex_src/src/extensions/html_markdown.c +25 -4
- data/ext/apex_ext/apex_src/src/extensions/html_markdown.h +4 -1
- data/ext/apex_ext/apex_src/src/extensions/insert.c +49 -0
- data/ext/apex_ext/apex_src/src/extensions/metadata.c +275 -55
- data/ext/apex_ext/apex_src/src/extensions/metadata.h +9 -0
- data/ext/apex_ext/apex_src/src/extensions/relaxed_tables.c +172 -254
- data/ext/apex_ext/apex_src/src/extensions/table_html_postprocess.c +36 -127
- data/ext/apex_ext/apex_src/src/html_renderer.c +99 -157
- data/ext/apex_ext/extconf.rb +31 -79
- data/lib/apex/version.rb +1 -1
- metadata +1 -470
- data/ext/apex_ext/apex_src/AGENTS.md +0 -41
- data/ext/apex_ext/apex_src/BENCHMARK.md +0 -32
- data/ext/apex_ext/apex_src/BENCHMARK_COMPARISON.md +0 -67
- data/ext/apex_ext/apex_src/CHANGELOG.md +0 -3373
- data/ext/apex_ext/apex_src/CMakeLists.txt +0 -481
- data/ext/apex_ext/apex_src/Dockerfile.linux-build +0 -15
- data/ext/apex_ext/apex_src/Formula/apex.rb +0 -43
- data/ext/apex_ext/apex_src/Info.plist.in +0 -27
- data/ext/apex_ext/apex_src/Package.swift +0 -192
- data/ext/apex_ext/apex_src/PackageSupport/README.md +0 -17
- data/ext/apex_ext/apex_src/PackageSupport/cmark-gfm/cmark_gfm_spm_stub.c +0 -4
- data/ext/apex_ext/apex_src/README.md +0 -536
- data/ext/apex_ext/apex_src/ROADMAP.md +0 -5
- data/ext/apex_ext/apex_src/VERSION +0 -1
- data/ext/apex_ext/apex_src/apex-debug.log +0 -4
- data/ext/apex_ext/apex_src/apex-header-2-rb@2x.webp +0 -0
- data/ext/apex_ext/apex_src/apex-plugins.json.example +0 -20
- data/ext/apex_ext/apex_src/apex.code-workspace +0 -38
- data/ext/apex_ext/apex_src/apex.pc.in +0 -11
- data/ext/apex_ext/apex_src/apex.taskpaper +0 -12
- data/ext/apex_ext/apex_src/apex_deflist_debug.log +0 -25
- data/ext/apex_ext/apex_src/buildnotes.md +0 -1435
- data/ext/apex_ext/apex_src/cli/main.c +0 -4588
- data/ext/apex_ext/apex_src/debug.log +0 -7
- data/ext/apex_ext/apex_src/debug_test.sh +0 -22
- data/ext/apex_ext/apex_src/docs/API_REFERENCE.md +0 -451
- data/ext/apex_ext/apex_src/docs/ARCHITECTURE.md +0 -166
- data/ext/apex_ext/apex_src/docs/CITATIONS_EXAMPLES.md +0 -274
- data/ext/apex_ext/apex_src/docs/CITATIONS_IMPLEMENTATION_PLAN.md +0 -749
- data/ext/apex_ext/apex_src/docs/CITATIONS_PLAN.md +0 -744
- data/ext/apex_ext/apex_src/docs/CMARK_INTEGRATION.md +0 -220
- data/ext/apex_ext/apex_src/docs/CRITICMARKUP.md +0 -501
- data/ext/apex_ext/apex_src/docs/DEBUGGING.md +0 -73
- data/ext/apex_ext/apex_src/docs/FINAL_STATUS.md +0 -391
- data/ext/apex_ext/apex_src/docs/FINAL_STATUS_UPDATE.md +0 -237
- data/ext/apex_ext/apex_src/docs/IAL_FEATURES.md +0 -210
- data/ext/apex_ext/apex_src/docs/IAL_STATUS.md +0 -344
- data/ext/apex_ext/apex_src/docs/INDEX_IMPLEMENTATION_ANALYSIS.md +0 -382
- data/ext/apex_ext/apex_src/docs/INTEGRATION_EXAMPLE.m +0 -144
- data/ext/apex_ext/apex_src/docs/LIMITATIONS_RESOLVED.md +0 -278
- data/ext/apex_ext/apex_src/docs/OUTPUT_MODES.md +0 -321
- data/ext/apex_ext/apex_src/docs/PROGRESS.md +0 -167
- data/ext/apex_ext/apex_src/docs/STANDALONE_FEATURE.md +0 -174
- data/ext/apex_ext/apex_src/docs/TABLE_SPANS_STATUS.md +0 -243
- data/ext/apex_ext/apex_src/docs/TEST_COVERAGE.md +0 -316
- data/ext/apex_ext/apex_src/docs/USER_GUIDE.md +0 -803
- data/ext/apex_ext/apex_src/docs/WIKI_LINKS_ISSUE.md +0 -91
- data/ext/apex_ext/apex_src/docs/index.md +0 -459
- data/ext/apex_ext/apex_src/docs/plans/2025-02-27-man-page-output-implementation.md +0 -351
- data/ext/apex_ext/apex_src/docs/superpowers/plans/2026-07-12-toc-output-format.md +0 -745
- data/ext/apex_ext/apex_src/docs/superpowers/plans/2026-07-18-bear-image-attributes.md +0 -829
- data/ext/apex_ext/apex_src/docs/superpowers/plans/2026-07-19-apex-node-npm.md +0 -1148
- data/ext/apex_ext/apex_src/docs/superpowers/specs/2026-07-12-toc-output-format-design.md +0 -161
- data/ext/apex_ext/apex_src/docs/superpowers/specs/2026-07-18-bear-image-attributes-design.md +0 -184
- data/ext/apex_ext/apex_src/docs/superpowers/specs/2026-07-19-apex-node-npm-design.md +0 -211
- data/ext/apex_ext/apex_src/documentation/README.md +0 -160
- data/ext/apex_ext/apex_src/documentation/app-settings-table.md +0 -67
- data/ext/apex_ext/apex_src/documentation/app-transformed/Citations.md +0 -340
- data/ext/apex_ext/apex_src/documentation/app-transformed/Credits.md +0 -11
- data/ext/apex_ext/apex_src/documentation/app-transformed/Header-IDs.md +0 -234
- data/ext/apex_ext/apex_src/documentation/app-transformed/Inline-Attribute-Lists.md +0 -516
- data/ext/apex_ext/apex_src/documentation/app-transformed/Metadata-Transforms.md +0 -461
- data/ext/apex_ext/apex_src/documentation/app-transformed/Modes.md +0 -193
- data/ext/apex_ext/apex_src/documentation/app-transformed/Multi-File-Documents.md +0 -201
- data/ext/apex_ext/apex_src/documentation/app-transformed/Plugins.md +0 -678
- data/ext/apex_ext/apex_src/documentation/app-transformed/Syntax.md +0 -1367
- data/ext/apex_ext/apex_src/documentation/docsets/Apex Command Line Options.cheatsheet.txt +0 -371
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Info.plist +0 -24
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/C-API.html +0 -2211
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Callouts.html +0 -1194
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Citations.html +0 -1620
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Command-Line-Options.html +0 -6024
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Configuration.html +0 -1877
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Credits.html +0 -1040
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Examples.html +0 -1402
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Filters.html +0 -1656
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Generating-Man-Pages.html +0 -1226
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Getting-Started.html +0 -1148
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Header-IDs.html +0 -1478
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Home.html +0 -1225
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Indices.html +0 -2327
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Inline-Attribute-Lists.html +0 -2041
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Installation.html +0 -1314
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Limitations-and-Roadmap.html +0 -1868
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Metadata-Transforms.html +0 -1731
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Modes.html +0 -2242
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Multi-File-Documents.html +0 -1533
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Multi-Format-Images.html +0 -1362
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Pandoc-Integration.html +0 -1338
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Plugins.html +0 -3188
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Quarto-Mode.html +0 -1405
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Rendering-Markdown-In-Terminal.html +0 -1902
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Syntax.html +0 -4222
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Tables.html +0 -1781
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Troubleshooting.html +0 -1629
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Usage.html +0 -1394
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Using-Apex-with-Jekyll.html +0 -1132
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Writing-Tests.html +0 -1754
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Xcode-Integration.html +0 -2562
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/docSet.dsidx +0 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/optimizedIndex.dsidx +0 -0
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Info.plist +0 -22
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans.woff +0 -0
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Bold.woff +0 -0
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Bold_Italic.woff +0 -0
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Extrabold.woff +0 -0
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Extrabold_Italic.woff +0 -0
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Italic.woff +0 -0
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Semibold.woff +0 -0
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/cheatset_resources/Open_Sans_Semibold_Italic.woff +0 -0
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/index.html +0 -914
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/style.css +0 -399
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/docSet.dsidx +0 -0
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/optimizedIndex.dsidx +0 -0
- data/ext/apex_ext/apex_src/documentation/generate_app_docs.rb +0 -772
- data/ext/apex_ext/apex_src/documentation/generate_app_docs_ai.rb +0 -678
- data/ext/apex_ext/apex_src/documentation/generate_docset.rb +0 -873
- data/ext/apex_ext/apex_src/documentation/generate_single_html.rb +0 -733
- data/ext/apex_ext/apex_src/documentation/html/apex-app-docs.html +0 -8746
- data/ext/apex_ext/apex_src/documentation/html/apex-docs.html +0 -17073
- data/ext/apex_ext/apex_src/documentation/shared_scripts.js +0 -64
- data/ext/apex_ext/apex_src/documentation/shared_styles.css +0 -651
- data/ext/apex_ext/apex_src/documentation/transform_for_app.example.md +0 -260
- data/ext/apex_ext/apex_src/documentation/transform_for_app.md +0 -55
- data/ext/apex_ext/apex_src/escaping-repro.md +0 -103
- data/ext/apex_ext/apex_src/examples/bracketed_spans_demo.md +0 -119
- data/ext/apex_ext/apex_src/examples/emoji_span_plugin.yml +0 -11
- data/ext/apex_ext/apex_src/examples/example.html +0 -53
- data/ext/apex_ext/apex_src/examples/example.md +0 -85
- data/ext/apex_ext/apex_src/examples/fenced_divs_demo.md +0 -158
- data/ext/apex_ext/apex_src/examples/kbd.md +0 -8
- data/ext/apex_ext/apex_src/examples/kbd_plugin.rb +0 -250
- data/ext/apex_ext/apex_src/examples/kbd_plugin.yml +0 -9
- data/ext/apex_ext/apex_src/examples/quick-actions/Markdown to RTF.workflow/Contents/Info.plist +0 -8
- data/ext/apex_ext/apex_src/examples/quick-actions/Markdown to RTF.workflow/Contents/QuickLook/Preview.png +0 -0
- data/ext/apex_ext/apex_src/examples/quick-actions/Markdown to RTF.workflow/Contents/document.wflow +0 -547
- data/ext/apex_ext/apex_src/examples/quick-actions/Markdown-to-RTF.workflow.zip +0 -0
- data/ext/apex_ext/apex_src/examples/quick-actions/README.md +0 -33
- data/ext/apex_ext/apex_src/ial.html +0 -24
- data/ext/apex_ext/apex_src/icon/apexicon-outline-black.png +0 -0
- data/ext/apex_ext/apex_src/icon/apexicon-outline-black@2x.png +0 -0
- data/ext/apex_ext/apex_src/icon/apexicon-outline-mark.png +0 -0
- data/ext/apex_ext/apex_src/icon/apexicon-outline-mark@2x.png +0 -0
- data/ext/apex_ext/apex_src/icon/apexicon-outline-white.png +0 -0
- data/ext/apex_ext/apex_src/icon/apexicon-outline-white@2x.png +0 -0
- data/ext/apex_ext/apex_src/icon/apexicon.png +0 -0
- data/ext/apex_ext/apex_src/icon/apexicon@2x.png +0 -0
- data/ext/apex_ext/apex_src/man/apex-config.5 +0 -455
- data/ext/apex_ext/apex_src/man/apex-config.5.md +0 -262
- data/ext/apex_ext/apex_src/man/apex-plugins.7 +0 -541
- data/ext/apex_ext/apex_src/man/apex-plugins.7.md +0 -365
- data/ext/apex_ext/apex_src/man/apex.1 +0 -583
- data/ext/apex_ext/apex_src/man/apex.1.html +0 -703
- data/ext/apex_ext/apex_src/man/apex.1.md +0 -803
- data/ext/apex_ext/apex_src/man/apex.1.new +0 -338
- data/ext/apex_ext/apex_src/objc/Apex.swift +0 -316
- data/ext/apex_ext/apex_src/objc/ApexPlugins.swift +0 -79
- data/ext/apex_ext/apex_src/objc/NSString+Apex.h +0 -207
- data/ext/apex_ext/apex_src/objc/NSString+Apex.m +0 -584
- data/ext/apex_ext/apex_src/objc/NSString+ApexPlugins.h +0 -76
- data/ext/apex_ext/apex_src/objc/NSString+ApexPlugins.m +0 -169
- data/ext/apex_ext/apex_src/output.html +0 -87
- data/ext/apex_ext/apex_src/pages/index.md +0 -459
- data/ext/apex_ext/apex_src/plans/quarto-mode.md +0 -442
- data/ext/apex_ext/apex_src/src/_README.md +0 -413
- data/ext/apex_ext/apex_src/src/extensions/github-emoji.txt +0 -869
- data/ext/apex_ext/apex_src/test-linux-build.sh +0 -20
- data/ext/apex_ext/apex_src/test.html +0 -103
- data/ext/apex_ext/apex_src/test_coverage.sh +0 -121
- data/ext/apex_ext/apex_src/test_ial_fenced.md +0 -6
- data/ext/apex_ext/apex_src/test_math_norm.py +0 -79
- data/ext/apex_ext/apex_src/test_pandoc_output.html +0 -48
- data/ext/apex_ext/apex_src/test_spm.sh +0 -107
- data/ext/apex_ext/apex_src/tests/ApexSPMTest/main.swift +0 -50
- data/ext/apex_ext/apex_src/tests/BENCHMARK_RESULTS.md +0 -229
- data/ext/apex_ext/apex_src/tests/CMakeLists.txt +0 -25
- data/ext/apex_ext/apex_src/tests/README.md +0 -152
- data/ext/apex_ext/apex_src/tests/benchmark.sh +0 -113
- data/ext/apex_ext/apex_src/tests/benchmark_comparison.sh +0 -166
- data/ext/apex_ext/apex_src/tests/compare_header_ids.sh +0 -31
- data/ext/apex_ext/apex_src/tests/fixtures/basic/headers.md +0 -25
- data/ext/apex_ext/apex_src/tests/fixtures/basic/list-interruption.md +0 -24
- data/ext/apex_ext/apex_src/tests/fixtures/basic/misc_markup.md +0 -33
- data/ext/apex_ext/apex_src/tests/fixtures/basic/test_basic.md +0 -26
- data/ext/apex_ext/apex_src/tests/fixtures/code/code-blocks.md +0 -260
- data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/SUMMARY.md +0 -6
- data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/chapter1.md +0 -7
- data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/index.txt +0 -9
- data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/intro.md +0 -5
- data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/section1_1.md +0 -5
- data/ext/apex_ext/apex_src/tests/fixtures/comprehensive_test.md +0 -652
- data/ext/apex_ext/apex_src/tests/fixtures/debug_ref_image_ial.md +0 -3
- data/ext/apex_ext/apex_src/tests/fixtures/demos/ial.md +0 -11
- data/ext/apex_ext/apex_src/tests/fixtures/demos/ial_demo.md +0 -177
- data/ext/apex_ext/apex_src/tests/fixtures/extensions/emoji-autocorrect.md +0 -94
- data/ext/apex_ext/apex_src/tests/fixtures/extensions/emoji_test.md +0 -3
- data/ext/apex_ext/apex_src/tests/fixtures/extensions/kbd_test.md +0 -3
- data/ext/apex_ext/apex_src/tests/fixtures/filters/filter_output_with_rawblock.json +0 -1
- data/ext/apex_ext/apex_src/tests/fixtures/filters/unwrap.md +0 -7
- data/ext/apex_ext/apex_src/tests/fixtures/ial/bracketed_spans_test.md +0 -74
- data/ext/apex_ext/apex_src/tests/fixtures/images/auto-wildcard.md +0 -8
- data/ext/apex_ext/apex_src/tests/fixtures/images/bear_image_attributes.md +0 -10
- data/ext/apex_ext/apex_src/tests/fixtures/images/image_and_encoding_test.md +0 -27
- data/ext/apex_ext/apex_src/tests/fixtures/images/img/app-pass-1-profile-menu.avif +0 -0
- data/ext/apex_ext/apex_src/tests/fixtures/images/img/app-pass-1-profile-menu.jpg +0 -0
- data/ext/apex_ext/apex_src/tests/fixtures/images/img/app-pass-1-profile-menu.webp +0 -0
- data/ext/apex_ext/apex_src/tests/fixtures/images/img/app-pass-1-profile-menu@2x.avif +0 -0
- data/ext/apex_ext/apex_src/tests/fixtures/images/img/app-pass-1-profile-menu@2x.jpg +0 -0
- data/ext/apex_ext/apex_src/tests/fixtures/images/img/app-pass-1-profile-menu@2x.webp +0 -0
- data/ext/apex_ext/apex_src/tests/fixtures/images/media_formats_test.md +0 -63
- data/ext/apex_ext/apex_src/tests/fixtures/images/multimarkdown_image_attributes_test.md +0 -60
- data/ext/apex_ext/apex_src/tests/fixtures/images/pandoc_ial_image_test.md +0 -27
- data/ext/apex_ext/apex_src/tests/fixtures/images/width_height_conversion_test.md +0 -94
- data/ext/apex_ext/apex_src/tests/fixtures/img-in-div.md +0 -16
- data/ext/apex_ext/apex_src/tests/fixtures/includes/code.py +0 -4
- data/ext/apex_ext/apex_src/tests/fixtures/includes/data-semi.csv +0 -3
- data/ext/apex_ext/apex_src/tests/fixtures/includes/data.csv +0 -5
- data/ext/apex_ext/apex_src/tests/fixtures/includes/data.tsv +0 -5
- data/ext/apex_ext/apex_src/tests/fixtures/includes/image.png +0 -2
- data/ext/apex_ext/apex_src/tests/fixtures/includes/metadata_options.yml +0 -11
- data/ext/apex_ext/apex_src/tests/fixtures/includes/nested.md +0 -8
- data/ext/apex_ext/apex_src/tests/fixtures/includes/raw.html +0 -4
- data/ext/apex_ext/apex_src/tests/fixtures/includes/sections.md +0 -19
- data/ext/apex_ext/apex_src/tests/fixtures/includes/sections.txt +0 -11
- data/ext/apex_ext/apex_src/tests/fixtures/includes/simple.md +0 -7
- data/ext/apex_ext/apex_src/tests/fixtures/includes/test_image.png +0 -0
- data/ext/apex_ext/apex_src/tests/fixtures/includes/with space.txt +0 -1
- data/ext/apex_ext/apex_src/tests/fixtures/large_doc.md +0 -1094
- data/ext/apex_ext/apex_src/tests/fixtures/metadata/mmd-metadata.md +0 -5
- data/ext/apex_ext/apex_src/tests/fixtures/metadata/pandoc-meta.md +0 -4
- data/ext/apex_ext/apex_src/tests/fixtures/metadata/yaml-frontmatter.md +0 -6
- data/ext/apex_ext/apex_src/tests/fixtures/metadata_options.yml +0 -11
- data/ext/apex_ext/apex_src/tests/fixtures/minimal_pb.md +0 -2
- data/ext/apex_ext/apex_src/tests/fixtures/obsidian-callouts.md +0 -46
- data/ext/apex_ext/apex_src/tests/fixtures/output/gfm_header_id_test.md +0 -96
- data/ext/apex_ext/apex_src/tests/fixtures/output/test_citations.md +0 -43
- data/ext/apex_ext/apex_src/tests/fixtures/output/test_def_list_links.md +0 -12
- data/ext/apex_ext/apex_src/tests/fixtures/output/test_index_mmark.md +0 -53
- data/ext/apex_ext/apex_src/tests/fixtures/output/test_index_textindex.md +0 -37
- data/ext/apex_ext/apex_src/tests/fixtures/pagebreak_html_repro.md +0 -5
- data/ext/apex_ext/apex_src/tests/fixtures/python-callouts.md +0 -47
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/callouts.md +0 -3
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/code-attrs.md +0 -3
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/diagrams.md +0 -8
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/lists.md +0 -19
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/raw-content.md +0 -5
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/shortcodes.md +0 -7
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/smoke.md +0 -81
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/spans.md +0 -5
- data/ext/apex_ext/apex_src/tests/fixtures/quarto-callouts.md +0 -47
- data/ext/apex_ext/apex_src/tests/fixtures/speed.md +0 -192
- data/ext/apex_ext/apex_src/tests/fixtures/tables/advanced_tables_test.md +0 -93
- data/ext/apex_ext/apex_src/tests/fixtures/tables/grid-tables.md +0 -37
- data/ext/apex_ext/apex_src/tests/fixtures/tables/inline_tables_test.md +0 -41
- data/ext/apex_ext/apex_src/tests/fixtures/tables/relaxed-table.md +0 -12
- data/ext/apex_ext/apex_src/tests/fixtures/tables/table_cr_line_endings.md +0 -15
- data/ext/apex_ext/apex_src/tests/fixtures/tables/table_no_trailing_newline.md +0 -15
- data/ext/apex_ext/apex_src/tests/generate_gfm_ids.sh +0 -105
- data/ext/apex_ext/apex_src/tests/generate_ial_demo.sh +0 -143
- data/ext/apex_ext/apex_src/tests/gfm_id_comparison_summary.md +0 -96
- data/ext/apex_ext/apex_src/tests/gh_api_test.md +0 -6
- data/ext/apex_ext/apex_src/tests/ial_demo.html +0 -186
- data/ext/apex_ext/apex_src/tests/include_code.py +0 -19
- data/ext/apex_ext/apex_src/tests/include_snippet.md +0 -15
- data/ext/apex_ext/apex_src/tests/metadata_cli_test.sh +0 -119
- data/ext/apex_ext/apex_src/tests/multi_file_cli_test.sh +0 -64
- data/ext/apex_ext/apex_src/tests/paginate_cli_test.sh +0 -80
- data/ext/apex_ext/apex_src/tests/sample_data.csv +0 -7
- data/ext/apex_ext/apex_src/tests/table_escaped_ltlt.md +0 -4
- data/ext/apex_ext/apex_src/tests/terminal_width_test.sh +0 -29
- data/ext/apex_ext/apex_src/tests/test-swift-package.sh +0 -14
- data/ext/apex_ext/apex_src/tests/test_basic.c +0 -74
- data/ext/apex_ext/apex_src/tests/test_bear_image_attrs.c +0 -301
- data/ext/apex_ext/apex_src/tests/test_cmark_callback.c +0 -189
- data/ext/apex_ext/apex_src/tests/test_concordance.tsv +0 -4
- data/ext/apex_ext/apex_src/tests/test_custom_plugins.c +0 -78
- data/ext/apex_ext/apex_src/tests/test_escaping_repro.c +0 -82
- data/ext/apex_ext/apex_src/tests/test_extensions.c +0 -3337
- data/ext/apex_ext/apex_src/tests/test_helpers.c +0 -183
- data/ext/apex_ext/apex_src/tests/test_helpers.h +0 -91
- data/ext/apex_ext/apex_src/tests/test_ial.c +0 -289
- data/ext/apex_ext/apex_src/tests/test_links.c +0 -418
- data/ext/apex_ext/apex_src/tests/test_marked_integration.c +0 -290
- data/ext/apex_ext/apex_src/tests/test_metadata.c +0 -1147
- data/ext/apex_ext/apex_src/tests/test_output.c +0 -2056
- data/ext/apex_ext/apex_src/tests/test_plugins.c +0 -219
- data/ext/apex_ext/apex_src/tests/test_refs.bib +0 -31
- data/ext/apex_ext/apex_src/tests/test_runner.c +0 -268
- data/ext/apex_ext/apex_src/tests/test_syntax_highlight.c +0 -198
- data/ext/apex_ext/apex_src/tests/test_tables.c +0 -1298
- data/ext/apex_ext/apex_src/tests/update_benchmarks.sh +0 -9
- data/ext/apex_ext/apex_src/tests/yaml_test.md +0 -13
- data/ext/apex_ext/apex_src/tests.rb +0 -39
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/CMakeLists.txt +0 -48
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/CheckFileOffsetBits.c +0 -14
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/CheckFileOffsetBits.cmake +0 -43
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/FindAsan.cmake +0 -74
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/Makefile.nmake +0 -38
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/README.md +0 -206
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/CMakeLists.txt +0 -30
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/cplusplus.cpp +0 -15
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/cplusplus.h +0 -16
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/harness.c +0 -111
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/harness.h +0 -35
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/main.c +0 -1169
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/appveyor.yml +0 -21
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-bq-flat.md +0 -16
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-bq-nested.md +0 -13
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-code.md +0 -11
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-fences.md +0 -14
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-heading.md +0 -9
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-hr.md +0 -10
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-html.md +0 -32
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-lheading.md +0 -8
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-list-flat.md +0 -67
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-list-nested.md +0 -36
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-ref-flat.md +0 -15
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-ref-nested.md +0 -17
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-autolink.md +0 -14
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-backticks.md +0 -3
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-em-flat.md +0 -5
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-em-nested.md +0 -5
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-em-worst.md +0 -5
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-entity.md +0 -11
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-escape.md +0 -15
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-html.md +0 -44
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-links-flat.md +0 -23
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-links-nested.md +0 -13
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-newlines.md +0 -24
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/lorem1.md +0 -13
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/rawtabs.md +0 -18
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/statistics.py +0 -595
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/stats.py +0 -19
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/benchmarks.md +0 -33
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/changelog.txt +0 -1245
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/data/CaseFolding.txt +0 -1495
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/CMakeLists.txt +0 -119
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/ext_scanners.re +0 -92
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/CMakeLists.txt +0 -22
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/README.md +0 -12
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/fuzz_quadratic.c +0 -91
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/fuzz_quadratic_brackets.c +0 -110
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/fuzzloop.sh +0 -28
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/CMakeLists.txt +0 -10
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/make_man_page.py +0 -133
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/man1/cmark-gfm.1 +0 -78
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/man3/cmark-gfm.3 +0 -1041
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/nmake.bat +0 -1
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/CMakeLists.txt +0 -230
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/cmark-gfm_version.h.in +0 -7
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/config.h +0 -38
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/config.h.in +0 -76
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/libcmark-gfm.pc.in +0 -10
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/scanners.re +0 -365
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/suppressions +0 -10
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/CMakeLists.txt +0 -114
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/__pycache__/cmark.cpython-314.pyc +0 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/__pycache__/normalize.cpython-314.pyc +0 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/afl_test_cases/test.md +0 -49
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/cmark-fuzz.c +0 -58
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/cmark.py +0 -105
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/entity_tests.py +0 -67
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/extensions-full-info-string.txt +0 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/extensions-table-prefer-style-attributes.txt +0 -38
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/extensions.txt +0 -989
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/fuzzing_dictionary +0 -67
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/normalize.py +0 -194
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/pathological_tests.py +0 -160
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/regression.txt +0 -375
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/roundtrip_tests.py +0 -50
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/run-cmark-fuzz +0 -4
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/smart_punct.txt +0 -177
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/spec.txt +0 -10212
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/spec_tests.py +0 -152
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/toolchain-mingw32.cmake +0 -17
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/Dockerfile +0 -41
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/appveyor-build.bat +0 -13
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/make_entities_inc.py +0 -32
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/mkcasefold.pl +0 -22
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/xml2md.xsl +0 -319
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/xml2md_gfm.xsl +0 -80
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/why-cmark-and-not-x.md +0 -104
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.js +0 -6
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.py +0 -37
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.rb +0 -15
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.rkt +0 -208
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper_ext.py +0 -109
- data/ext/apex_ext/apex_src/vendor/libyaml/CMakeLists.txt +0 -160
- data/ext/apex_ext/apex_src/vendor/libyaml/Changes +0 -372
- data/ext/apex_ext/apex_src/vendor/libyaml/License +0 -20
- data/ext/apex_ext/apex_src/vendor/libyaml/Makefile.am +0 -51
- data/ext/apex_ext/apex_src/vendor/libyaml/ReadMe.md +0 -46
- data/ext/apex_ext/apex_src/vendor/libyaml/announcement.msg +0 -89
- data/ext/apex_ext/apex_src/vendor/libyaml/bootstrap +0 -3
- data/ext/apex_ext/apex_src/vendor/libyaml/cmake/config.h.in +0 -4
- data/ext/apex_ext/apex_src/vendor/libyaml/configure.ac +0 -73
- data/ext/apex_ext/apex_src/vendor/libyaml/doc/doxygen.cfg +0 -222
- data/ext/apex_ext/apex_src/vendor/libyaml/docker/README.mkd +0 -17
- data/ext/apex_ext/apex_src/vendor/libyaml/docker/alpine-3.7 +0 -26
- data/ext/apex_ext/apex_src/vendor/libyaml/docker/fedora-25 +0 -26
- data/ext/apex_ext/apex_src/vendor/libyaml/docker/ubuntu-14.04 +0 -29
- data/ext/apex_ext/apex_src/vendor/libyaml/docker/ubuntu-16.04 +0 -24
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/anchors.yaml +0 -10
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/array.yaml +0 -2
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/global-tag.yaml +0 -14
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/json.yaml +0 -1
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/mapping.yaml +0 -2
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/numbers.yaml +0 -1
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/strings.yaml +0 -7
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/tags.yaml +0 -7
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/yaml-version.yaml +0 -3
- data/ext/apex_ext/apex_src/vendor/libyaml/include/Makefile.am +0 -17
- data/ext/apex_ext/apex_src/vendor/libyaml/include/yaml.h +0 -1999
- data/ext/apex_ext/apex_src/vendor/libyaml/pkg/ReadMe.md +0 -77
- data/ext/apex_ext/apex_src/vendor/libyaml/pkg/docker/Dockerfile +0 -32
- data/ext/apex_ext/apex_src/vendor/libyaml/pkg/docker/output/ReadMe +0 -1
- data/ext/apex_ext/apex_src/vendor/libyaml/pkg/docker/scripts/libyaml-dist.sh +0 -23
- data/ext/apex_ext/apex_src/vendor/libyaml/regression-inputs/clusterfuzz-testcase-minimized-5607885063061504.yml +0 -1
- data/ext/apex_ext/apex_src/vendor/libyaml/src/Makefile.am +0 -4
- data/ext/apex_ext/apex_src/vendor/libyaml/src/api.c +0 -1393
- data/ext/apex_ext/apex_src/vendor/libyaml/src/dumper.c +0 -394
- data/ext/apex_ext/apex_src/vendor/libyaml/src/emitter.c +0 -2358
- data/ext/apex_ext/apex_src/vendor/libyaml/src/loader.c +0 -544
- data/ext/apex_ext/apex_src/vendor/libyaml/src/parser.c +0 -1416
- data/ext/apex_ext/apex_src/vendor/libyaml/src/reader.c +0 -469
- data/ext/apex_ext/apex_src/vendor/libyaml/src/scanner.c +0 -3598
- data/ext/apex_ext/apex_src/vendor/libyaml/src/writer.c +0 -141
- data/ext/apex_ext/apex_src/vendor/libyaml/src/yaml_private.h +0 -684
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/CMakeLists.txt +0 -27
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/Makefile.am +0 -9
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/ReadMe.md +0 -63
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-deconstructor-alt.c +0 -800
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-deconstructor.c +0 -1127
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-reformatter-alt.c +0 -217
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-reformatter.c +0 -202
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-all-tests.sh +0 -29
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-dumper.c +0 -314
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-emitter-test-suite.c +0 -290
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-emitter.c +0 -327
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-loader.c +0 -63
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-parser-test-suite.c +0 -196
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-parser.c +0 -88
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-scanner.c +0 -63
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/test-reader.c +0 -354
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/test-version.c +0 -29
- data/ext/apex_ext/apex_src/vendor/libyaml/yaml-0.1.pc.in +0 -10
- data/ext/apex_ext/apex_src/vendor/libyaml/yamlConfig.cmake.in +0 -16
- data/ext/apex_ext/apex_src/xcode_build/CMakeScripts/ReRunCMake.make +0 -74
- data/ext/apex_ext/apex_src/xcode_build/CTestTestfile.cmake +0 -22
- data/ext/apex_ext/apex_src/xcode_build/Debug/Apex.framework/Versions/A/Apex +0 -0
- data/ext/apex_ext/apex_src/xcode_build/Debug/Apex.framework/Versions/A/Resources/Info.plist +0 -44
- data/ext/apex_ext/apex_src/xcode_build/Debug/Apex.framework/Versions/A/_CodeSignature/CodeResources +0 -128
- data/ext/apex_ext/apex_src/xcode_build/apex.xcodeproj/project.pbxproj +0 -5118
- data/ext/apex_ext/apex_src/xcode_build/apex.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +0 -8
- data/ext/apex_ext/apex_src/xcode_build/apex.xcodeproj/project.xcworkspace/xcuserdata/ttscoff.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- data/ext/apex_ext/apex_src/xcode_build/apex.xcodeproj/project.xcworkspace/xcuserdata/ttscoff.xcuserdatad/WorkspaceSettings.xcsettings +0 -8
- data/ext/apex_ext/apex_src/xcode_build/apex.xcodeproj/xcuserdata/ttscoff.xcuserdatad/xcschemes/xcschememanagement.plist +0 -99
- data/ext/apex_ext/apex_src/xcode_build/cmake_install.cmake +0 -452
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/CMakeScripts/ReRunCMake.make +0 -52
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/cmake_install.cmake +0 -55
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/cmark-gfm.xcodeproj/project.pbxproj +0 -2455
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/cmark-gfm.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +0 -8
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/extensions/cmake_install.cmake +0 -171
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/man/cmake_install.cmake +0 -55
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/cmake_install.cmake +0 -220
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/cmark-gfm_export.h +0 -43
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/cmark-gfm_version.h +0 -7
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/config.h +0 -76
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/libcmark-gfm.pc +0 -10
|
@@ -1,455 +0,0 @@
|
|
|
1
|
-
.TH "NAME" "1" "1 January 1970" ""
|
|
2
|
-
|
|
3
|
-
.SH NAME
|
|
4
|
-
|
|
5
|
-
.PP
|
|
6
|
-
apex\-config \- Apex configuration file format
|
|
7
|
-
|
|
8
|
-
.SH DESCRIPTION
|
|
9
|
-
|
|
10
|
-
.PP
|
|
11
|
-
Apex supports flexible configuration through metadata files that allow you to define defaults once and reuse them across many documents, while still allowing per\-document and per\-invocation overrides.
|
|
12
|
-
|
|
13
|
-
.PP
|
|
14
|
-
Configuration can come from three main sources:
|
|
15
|
-
|
|
16
|
-
.IP "1." 4
|
|
17
|
-
\f[B]Global configuration file\f[] \- \fR$XDG_CONFIG_HOME/apex/config.yml\f[] or \fR~/.config/apex/config.yml\f[]
|
|
18
|
-
|
|
19
|
-
.IP "2." 4
|
|
20
|
-
\f[B]External metadata files\f[] \- Any file passed via \fR\-\-meta\-file\f[]
|
|
21
|
-
|
|
22
|
-
.IP "3." 4
|
|
23
|
-
\f[B]Per\-document metadata\f[] \- YAML, MultiMarkdown, or Pandoc\-style metadata in the document
|
|
24
|
-
|
|
25
|
-
.PP
|
|
26
|
-
Command\-line flags always override configuration file settings.
|
|
27
|
-
|
|
28
|
-
.SH GLOBAL CONFIG FILE
|
|
29
|
-
|
|
30
|
-
.PP
|
|
31
|
-
When you run \f[B]apex\f[](1) without an explicit \fR\-\-meta\-file\f[], Apex automatically checks for a global configuration file:
|
|
32
|
-
|
|
33
|
-
.IP \(bu 2
|
|
34
|
-
If \fR$XDG_CONFIG_HOME\f[] is set: \fR$XDG_CONFIG_HOME/apex/config.yml\f[]
|
|
35
|
-
|
|
36
|
-
.IP \(bu 2
|
|
37
|
-
Otherwise: \fR~/.config/apex/config.yml\f[]
|
|
38
|
-
|
|
39
|
-
.PP
|
|
40
|
-
If the file exists, Apex loads it as if you had passed it via \fR\-\-meta\-file\f[], and merges its metadata with the document and any \fR\-\-meta\f[] command\-line metadata.
|
|
41
|
-
|
|
42
|
-
.PP
|
|
43
|
-
This makes \fRconfig.yml\f[] ideal for defining project\-agnostic defaults such as:
|
|
44
|
-
|
|
45
|
-
.IP \(bu 2
|
|
46
|
-
Default \fRmode\f[] (e.g. \fRunified\f[], \fRgfm\f[], \fRmmd\f[])
|
|
47
|
-
|
|
48
|
-
.IP \(bu 2
|
|
49
|
-
Default \fRlanguage\f[] and \fRquoteslanguage\f[]
|
|
50
|
-
|
|
51
|
-
.IP \(bu 2
|
|
52
|
-
Common feature flags (\fRpretty\f[], \fRstandalone\f[], \fRindices\f[], \fRwikilinks\f[], etc.)
|
|
53
|
-
|
|
54
|
-
.IP \(bu 2
|
|
55
|
-
Default bibliography style
|
|
56
|
-
|
|
57
|
-
.SS Example \fRconfig.yml\f[]
|
|
58
|
-
|
|
59
|
-
.PP
|
|
60
|
-
.nf
|
|
61
|
-
\fR
|
|
62
|
-
\-\-\-
|
|
63
|
-
# Default processor mode and output style
|
|
64
|
-
mode: unified
|
|
65
|
-
standalone: true
|
|
66
|
-
pretty: true
|
|
67
|
-
# Locale and quotation style
|
|
68
|
-
language: en
|
|
69
|
-
quoteslanguage: english
|
|
70
|
-
# Common feature flags
|
|
71
|
-
autolink: true
|
|
72
|
-
includes: true
|
|
73
|
-
relaxed\-tables: true
|
|
74
|
-
sup\-sub: true
|
|
75
|
-
# Index and bibliography defaults
|
|
76
|
-
indices: true
|
|
77
|
-
group\-index\-by\-letter: true
|
|
78
|
-
bibliography: references.bib
|
|
79
|
-
csl: apa.csl
|
|
80
|
-
# Syntax highlighting (optional)
|
|
81
|
-
code\-highlight: pygments
|
|
82
|
-
code\-line\-numbers: true
|
|
83
|
-
highlight\-language\-only: true
|
|
84
|
-
\-\-\-
|
|
85
|
-
|
|
86
|
-
\f[]
|
|
87
|
-
.fi
|
|
88
|
-
|
|
89
|
-
.SH EXTERNAL METADATA FILES
|
|
90
|
-
|
|
91
|
-
.PP
|
|
92
|
-
For project\-specific or task\-specific configurations, use \fR\-\-meta\-file\f[] to point to a reusable metadata file:
|
|
93
|
-
|
|
94
|
-
.PP
|
|
95
|
-
.nf
|
|
96
|
-
\fR
|
|
97
|
-
apex document.md \-\-meta\-file project\-defaults.yml
|
|
98
|
-
|
|
99
|
-
\f[]
|
|
100
|
-
.fi
|
|
101
|
-
|
|
102
|
-
.PP
|
|
103
|
-
These files use the same metadata keys as \fRconfig.yml\f[] and document front matter.
|
|
104
|
-
|
|
105
|
-
.SS Example project config
|
|
106
|
-
|
|
107
|
-
.PP
|
|
108
|
-
.nf
|
|
109
|
-
\fR
|
|
110
|
-
\-\-\-
|
|
111
|
-
mode: unified
|
|
112
|
-
standalone: true
|
|
113
|
-
pretty: true
|
|
114
|
-
# Project\-specific bibliography
|
|
115
|
-
bibliography: project\-refs.bib
|
|
116
|
-
csl: chicago\-note\-bibliography.csl
|
|
117
|
-
# Enable wiki links and relaxed tables for this project
|
|
118
|
-
wikilinks: true
|
|
119
|
-
relaxed\-tables: true
|
|
120
|
-
\-\-\-
|
|
121
|
-
|
|
122
|
-
\f[]
|
|
123
|
-
.fi
|
|
124
|
-
|
|
125
|
-
.SH PER\-DOCUMENT METADATA
|
|
126
|
-
|
|
127
|
-
.PP
|
|
128
|
-
Each document can define its own metadata in YAML, MultiMarkdown, or Pandoc formats. Apex extracts this metadata before processing, merges it with any file/config metadata, and then applies it to options.
|
|
129
|
-
|
|
130
|
-
.SS YAML front matter example
|
|
131
|
-
|
|
132
|
-
.PP
|
|
133
|
-
.nf
|
|
134
|
-
\fR
|
|
135
|
-
\-\-\-
|
|
136
|
-
title: My Research Paper
|
|
137
|
-
author: Jane Doe
|
|
138
|
-
mode: unified
|
|
139
|
-
standalone: true
|
|
140
|
-
pretty: true
|
|
141
|
-
indices: false
|
|
142
|
-
wikilinks: true
|
|
143
|
-
bibliography: references.bib
|
|
144
|
-
language: en
|
|
145
|
-
quoteslanguage: english
|
|
146
|
-
\-\-\-
|
|
147
|
-
# Introduction
|
|
148
|
-
\&...
|
|
149
|
-
|
|
150
|
-
\f[]
|
|
151
|
-
.fi
|
|
152
|
-
|
|
153
|
-
.SS MultiMarkdown metadata example
|
|
154
|
-
|
|
155
|
-
.PP
|
|
156
|
-
.nf
|
|
157
|
-
\fR
|
|
158
|
-
Title: My Research Paper
|
|
159
|
-
Author: Jane Doe
|
|
160
|
-
Mode: unified
|
|
161
|
-
Standalone: true
|
|
162
|
-
Pretty: true
|
|
163
|
-
Indices: false
|
|
164
|
-
WikiLinks: true
|
|
165
|
-
Bibliography: references.bib
|
|
166
|
-
Language: en
|
|
167
|
-
Quotes Language: english
|
|
168
|
-
# Introduction
|
|
169
|
-
\&...
|
|
170
|
-
|
|
171
|
-
\f[]
|
|
172
|
-
.fi
|
|
173
|
-
|
|
174
|
-
.PP
|
|
175
|
-
Apex normalizes keys (case\-insensitive, ignores spaces and dashes), so \fRQuotes Language\f[], \fRquoteslanguage\f[], and \fRquotes\-language\f[] are treated equivalently.
|
|
176
|
-
|
|
177
|
-
.SH PRECEDENCE AND MERGING
|
|
178
|
-
|
|
179
|
-
.PP
|
|
180
|
-
When Apex builds the final configuration for a run, it merges all sources in this order:
|
|
181
|
-
|
|
182
|
-
.IP "1." 4
|
|
183
|
-
\f[B]File metadata\f[] (lowest precedence)
|
|
184
|
-
|
|
185
|
-
.IP \(bu 2
|
|
186
|
-
Global \fRconfig.yml\f[] if present and no explicit \fR\-\-meta\-file\f[] was given
|
|
187
|
-
|
|
188
|
-
.IP \(bu 2
|
|
189
|
-
Any metadata file provided via \fR\-\-meta\-file\f[]
|
|
190
|
-
|
|
191
|
-
.IP "2." 4
|
|
192
|
-
\f[B]Document metadata\f[]
|
|
193
|
-
|
|
194
|
-
.IP \(bu 2
|
|
195
|
-
YAML/MultiMarkdown/Pandoc metadata inside the document
|
|
196
|
-
|
|
197
|
-
.IP "3." 4
|
|
198
|
-
\f[B]Command\-line metadata\f[]
|
|
199
|
-
|
|
200
|
-
.IP \(bu 2
|
|
201
|
-
Values passed via \fR\-\-meta KEY=VALUE\f[]
|
|
202
|
-
|
|
203
|
-
.IP "4." 4
|
|
204
|
-
\f[B]Command\-line flags\f[]
|
|
205
|
-
|
|
206
|
-
.IP \(bu 2
|
|
207
|
-
Flags like \fR\-\-mode\f[], \fR\-\-pretty\f[], \fR\-\-no\-tables\f[], etc.
|
|
208
|
-
|
|
209
|
-
.PP
|
|
210
|
-
Later sources override earlier ones. In practice:
|
|
211
|
-
|
|
212
|
-
.IP \(bu 2
|
|
213
|
-
A document can override defaults from \fRconfig.yml\f[] or \fR\-\-meta\-file\f[]
|
|
214
|
-
|
|
215
|
-
.IP \(bu 2
|
|
216
|
-
\fR\-\-meta\f[] values can override both document and file metadata
|
|
217
|
-
|
|
218
|
-
.IP \(bu 2
|
|
219
|
-
Explicit CLI flags still behave as final overrides where applicable
|
|
220
|
-
|
|
221
|
-
.PP
|
|
222
|
-
\f[B]Note:\f[] If \fRmode\f[] is specified in metadata (file or document), Apex resets options to that mode's defaults before applying other metadata keys, so the mode behaves as if you had passed it on the command line first.
|
|
223
|
-
|
|
224
|
-
.SH CONFIGURATION KEYS
|
|
225
|
-
|
|
226
|
-
.PP
|
|
227
|
-
Configuration keys correspond closely to Apex command\-line options. Most options can be controlled via metadata in \fRconfig.yml\f[], \fR\-\-meta\-file\f[] files, or per\-document metadata.
|
|
228
|
-
|
|
229
|
-
.SS Boolean options
|
|
230
|
-
|
|
231
|
-
.PP
|
|
232
|
-
Boolean keys accept any of the following values (case\-insensitive):
|
|
233
|
-
|
|
234
|
-
.IP \(bu 2
|
|
235
|
-
\fRtrue\f[] / \fRfalse\f[]
|
|
236
|
-
|
|
237
|
-
.IP \(bu 2
|
|
238
|
-
\fRyes\f[] / \fRno\f[]
|
|
239
|
-
|
|
240
|
-
.IP \(bu 2
|
|
241
|
-
\fR1\f[] / \fR0\f[]
|
|
242
|
-
|
|
243
|
-
.PP
|
|
244
|
-
\f[B]Supported boolean keys include:\f[]
|
|
245
|
-
|
|
246
|
-
.IP \(bu 2
|
|
247
|
-
\fRindices\f[] \- Enable index processing
|
|
248
|
-
|
|
249
|
-
.IP \(bu 2
|
|
250
|
-
\fRwikilinks\f[] \- Enable wiki link syntax (\fR[[Page]]\f[])
|
|
251
|
-
|
|
252
|
-
.IP \(bu 2
|
|
253
|
-
\fRwikilink\-sanitize\f[] \- Sanitize wiki link URLs (lowercase, remove apostrophes, clean non\-alphanumeric)
|
|
254
|
-
|
|
255
|
-
.IP \(bu 2
|
|
256
|
-
\fRincludes\f[] \- Enable file inclusion
|
|
257
|
-
|
|
258
|
-
.IP \(bu 2
|
|
259
|
-
\fRrelaxed\-tables\f[] \- Enable relaxed table parsing
|
|
260
|
-
|
|
261
|
-
.IP \(bu 2
|
|
262
|
-
\fRalpha\-lists\f[] \- Enable alphabetic list markers
|
|
263
|
-
|
|
264
|
-
.IP \(bu 2
|
|
265
|
-
\fRmixed\-lists\f[] \- Allow mixing list marker types at the same level
|
|
266
|
-
|
|
267
|
-
.IP \(bu 2
|
|
268
|
-
\fRsup\-sub\f[] \- Enable MultiMarkdown\-style superscript/subscript
|
|
269
|
-
|
|
270
|
-
.IP \(bu 2
|
|
271
|
-
\fRautolink\f[] \- Enable automatic URL/email linking
|
|
272
|
-
|
|
273
|
-
.IP \(bu 2
|
|
274
|
-
\fRtransforms\f[] \- Enable metadata transforms (\fR[%key:transform]\f[])
|
|
275
|
-
|
|
276
|
-
.IP \(bu 2
|
|
277
|
-
\fRunsafe\f[] \- Allow raw HTML in output
|
|
278
|
-
|
|
279
|
-
.IP \(bu 2
|
|
280
|
-
\fRtables\f[] \- Enable/disable table support
|
|
281
|
-
|
|
282
|
-
.IP \(bu 2
|
|
283
|
-
\fRfootnotes\f[] \- Enable/disable footnote support
|
|
284
|
-
|
|
285
|
-
.IP \(bu 2
|
|
286
|
-
\fRsmart\f[] \- Enable/disable smart typography
|
|
287
|
-
|
|
288
|
-
.IP \(bu 2
|
|
289
|
-
\fRmath\f[] \- Enable/disable math support
|
|
290
|
-
|
|
291
|
-
.IP \(bu 2
|
|
292
|
-
\fRids\f[] \- Enable/disable automatic header IDs
|
|
293
|
-
|
|
294
|
-
.IP \(bu 2
|
|
295
|
-
\fRheader\-anchors\f[] \- Use \fR<a>\f[] anchors instead of plain \fRid\f[] attributes
|
|
296
|
-
|
|
297
|
-
.IP \(bu 2
|
|
298
|
-
\fRembed\-images\f[] \- Enable base64 image embedding
|
|
299
|
-
|
|
300
|
-
.IP \(bu 2
|
|
301
|
-
\fRlink\-citations\f[] \- Link citations to bibliography entries
|
|
302
|
-
|
|
303
|
-
.IP \(bu 2
|
|
304
|
-
\fRshow\-tooltips\f[] \- Add tooltips to citations
|
|
305
|
-
|
|
306
|
-
.IP \(bu 2
|
|
307
|
-
\fRsuppress\-bibliography\f[] \- Suppress bibliography output
|
|
308
|
-
|
|
309
|
-
.IP \(bu 2
|
|
310
|
-
\fRsuppress\-index\f[] \- Suppress index output while still creating markers
|
|
311
|
-
|
|
312
|
-
.IP \(bu 2
|
|
313
|
-
\fRgroup\-index\-by\-letter\f[] \- Group index entries alphabetically
|
|
314
|
-
|
|
315
|
-
.IP \(bu 2
|
|
316
|
-
\fRobfuscate\-emails\f[] \- Hex\-encode \fRmailto:\f[] links and visible email addresses
|
|
317
|
-
|
|
318
|
-
.IP \(bu 2
|
|
319
|
-
\fRpretty\f[] \- Pretty\-print HTML
|
|
320
|
-
|
|
321
|
-
.IP \(bu 2
|
|
322
|
-
\fRstandalone\f[] \- Generate a full HTML document (\fR<html>\f[], \fR<head>\f[], \fR<body>\f[])
|
|
323
|
-
|
|
324
|
-
.IP \(bu 2
|
|
325
|
-
\fRhardbreaks\f[] \- Treat newlines as \fR<br>\f[]
|
|
326
|
-
|
|
327
|
-
.IP \(bu 2
|
|
328
|
-
\fRplugins\f[] \- Enable plugin processing (see \f[B]apex\-plugins\f[](7))
|
|
329
|
-
|
|
330
|
-
.IP \(bu 2
|
|
331
|
-
\fRcode\-line\-numbers\f[] \- Include line numbers in syntax\-highlighted code blocks
|
|
332
|
-
|
|
333
|
-
.IP \(bu 2
|
|
334
|
-
\fRhighlight\-language\-only\f[] \- Only highlight code blocks that have a language specified
|
|
335
|
-
|
|
336
|
-
.SS String options
|
|
337
|
-
|
|
338
|
-
.PP
|
|
339
|
-
String keys take a free\-form string value (sometimes with a constrained set of options):
|
|
340
|
-
|
|
341
|
-
.IP \(bu 2
|
|
342
|
-
\fRmode\f[]
|
|
343
|
-
|
|
344
|
-
.IP \(bu 2
|
|
345
|
-
Values: \fRcommonmark\f[], \fRgfm\f[], \fRmmd\f[]/\fRmultimarkdown\f[], \fRkramdown\f[], \fRunified\f[]
|
|
346
|
-
|
|
347
|
-
.IP \(bu 2
|
|
348
|
-
\fRid\-format\f[]
|
|
349
|
-
|
|
350
|
-
.IP \(bu 2
|
|
351
|
-
Values: \fRgfm\f[], \fRmmd\f[], \fRkramdown\f[]
|
|
352
|
-
|
|
353
|
-
.IP \(bu 2
|
|
354
|
-
\fRtitle\f[]
|
|
355
|
-
|
|
356
|
-
.IP \(bu 2
|
|
357
|
-
Document title (used especially in standalone mode)
|
|
358
|
-
|
|
359
|
-
.IP \(bu 2
|
|
360
|
-
\fRstyle\f[] / \fRcss\f[]
|
|
361
|
-
|
|
362
|
-
.IP \(bu 2
|
|
363
|
-
Stylesheet path for standalone documents
|
|
364
|
-
|
|
365
|
-
.IP \(bu 2
|
|
366
|
-
\fRbase\-dir\f[]
|
|
367
|
-
|
|
368
|
-
.IP \(bu 2
|
|
369
|
-
Base directory used for resolving relative paths (images, includes, etc.)
|
|
370
|
-
|
|
371
|
-
.IP \(bu 2
|
|
372
|
-
\fRbibliography\f[]
|
|
373
|
-
|
|
374
|
-
.IP \(bu 2
|
|
375
|
-
Path to a bibliography file (\fR.bib\f[], \fR.json\f[], \fR.yml\f[], \fR.yaml\f[])
|
|
376
|
-
|
|
377
|
-
.IP \(bu 2
|
|
378
|
-
\fRcsl\f[]
|
|
379
|
-
|
|
380
|
-
.IP \(bu 2
|
|
381
|
-
Path to a CSL style file
|
|
382
|
-
|
|
383
|
-
.IP \(bu 2
|
|
384
|
-
\fRlanguage\f[]
|
|
385
|
-
|
|
386
|
-
.IP \(bu 2
|
|
387
|
-
BCP 47 or similar language tag (e.g. \fRen\f[], \fRen\-US\f[], \fRfr\f[]); sets the HTML \fRlang\f[] attribute
|
|
388
|
-
|
|
389
|
-
.IP \(bu 2
|
|
390
|
-
\fRquoteslanguage\f[] / \fRQuotes Language\f[]
|
|
391
|
-
|
|
392
|
-
.IP \(bu 2
|
|
393
|
-
Human\-readable language name used for quote styling (e.g. \fRenglish\f[], \fRfrench\f[], \fRgerman\f[])
|
|
394
|
-
|
|
395
|
-
.IP \(bu 2
|
|
396
|
-
\fRcode\-highlight\f[]
|
|
397
|
-
|
|
398
|
-
.IP \(bu 2
|
|
399
|
-
External syntax highlighting tool: \fRpygments\f[] (or \fRp\f[]/\fRpyg\f[]), \fRskylighting\f[] (or \fRs\f[]/\fRsky\f[]), \fRshiki\f[] (or \fRsh\f[]), or \fRfalse\f[]/\fRnone\f[] to disable
|
|
400
|
-
|
|
401
|
-
.IP \(bu 2
|
|
402
|
-
\fRcode\-highlight\-theme\f[] / \fRcode_highlight_theme\f[]
|
|
403
|
-
|
|
404
|
-
.IP \(bu 2
|
|
405
|
-
Preferred syntax highlighting theme/style name. Maps to Pygments styles, Skylighting styles, or Shiki themes in both HTML and terminal/ANSI output. Use \fRapex \-\-list\-themes\f[] for an overview of built\-in themes.
|
|
406
|
-
|
|
407
|
-
.PP
|
|
408
|
-
You can also use arbitrary keys for your own templates and transforms; Apex simply passes them through to the metadata system so they can be referenced via \fR[%key]\f[] and \fR[%key:transform]\f[].
|
|
409
|
-
|
|
410
|
-
.SH EXAMPLES
|
|
411
|
-
|
|
412
|
-
.PP
|
|
413
|
-
A typical setup might look like this:
|
|
414
|
-
|
|
415
|
-
.IP "1." 4
|
|
416
|
-
\f[B]Global defaults\f[] in \fRconfig.yml\f[] for your overall writing style and locale.
|
|
417
|
-
|
|
418
|
-
.IP "2." 4
|
|
419
|
-
\f[B]Project config\f[] via \fR\-\-meta\-file project.yml\f[] for bibliography and project\-specific settings.
|
|
420
|
-
|
|
421
|
-
.IP "3." 4
|
|
422
|
-
\f[B]Per\-document metadata\f[] for title, author, and any exceptions to the defaults.
|
|
423
|
-
|
|
424
|
-
.IP "4." 4
|
|
425
|
-
Occasional \f[B]CLI overrides\f[] for ad\-hoc one\-off changes (e.g. \fR\-\-mode gfm\f[] for a specific run).
|
|
426
|
-
|
|
427
|
-
.PP
|
|
428
|
-
Because all three configuration layers use the same metadata keys, you can gradually refine behavior without repeating yourself:
|
|
429
|
-
|
|
430
|
-
.IP \(bu 2
|
|
431
|
-
Put long\-lived, cross\-project settings in \fRconfig.yml\f[]
|
|
432
|
-
|
|
433
|
-
.IP \(bu 2
|
|
434
|
-
Put project\-scoped settings in \fR\-\-meta\-file\f[] configs
|
|
435
|
-
|
|
436
|
-
.IP \(bu 2
|
|
437
|
-
Put document\-specific settings in front matter
|
|
438
|
-
|
|
439
|
-
.SH SEE ALSO
|
|
440
|
-
|
|
441
|
-
.PP
|
|
442
|
-
\f[B]apex\f[](1), \f[B]apex\-plugins\f[](7)
|
|
443
|
-
|
|
444
|
-
.PP
|
|
445
|
-
For complete documentation, see the Apex Wiki (https://github.com/ttscoff/apex/wiki).
|
|
446
|
-
|
|
447
|
-
.SH AUTHOR
|
|
448
|
-
|
|
449
|
-
.PP
|
|
450
|
-
Brett Terpstra
|
|
451
|
-
|
|
452
|
-
.SH COPYRIGHT
|
|
453
|
-
|
|
454
|
-
.PP
|
|
455
|
-
Copyright (c) 2025 Brett Terpstra. Licensed under MIT License.
|
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
% APEX-CONFIG(5)
|
|
2
|
-
% Brett Terpstra
|
|
3
|
-
% December 2025
|
|
4
|
-
|
|
5
|
-
# NAME
|
|
6
|
-
|
|
7
|
-
apex-config - Apex configuration file format
|
|
8
|
-
|
|
9
|
-
# DESCRIPTION
|
|
10
|
-
|
|
11
|
-
Apex supports flexible configuration through metadata files that allow you to define defaults once and reuse them across many documents, while still allowing per-document and per-invocation overrides.
|
|
12
|
-
|
|
13
|
-
Configuration can come from three main sources:
|
|
14
|
-
|
|
15
|
-
1. **Global configuration file** - `$XDG_CONFIG_HOME/apex/config.yml` or `~/.config/apex/config.yml`
|
|
16
|
-
2. **External metadata files** - Any file passed via `--meta-file`
|
|
17
|
-
3. **Per-document metadata** - YAML, MultiMarkdown, or Pandoc-style metadata in the document
|
|
18
|
-
|
|
19
|
-
Command-line flags always override configuration file settings.
|
|
20
|
-
|
|
21
|
-
# GLOBAL CONFIG FILE
|
|
22
|
-
|
|
23
|
-
When you run **apex**(1) without an explicit `--meta-file`, Apex automatically checks for a global configuration file:
|
|
24
|
-
|
|
25
|
-
- If `$XDG_CONFIG_HOME` is set: `$XDG_CONFIG_HOME/apex/config.yml`
|
|
26
|
-
- Otherwise: `~/.config/apex/config.yml`
|
|
27
|
-
|
|
28
|
-
If the file exists, Apex loads it as if you had passed it via `--meta-file`, and merges its metadata with the document and any `--meta` command-line metadata.
|
|
29
|
-
|
|
30
|
-
This makes `config.yml` ideal for defining project-agnostic defaults such as:
|
|
31
|
-
|
|
32
|
-
- Default `mode` (e.g. `unified`, `gfm`, `mmd`)
|
|
33
|
-
- Default `language` and `quoteslanguage`
|
|
34
|
-
- Common feature flags (`pretty`, `standalone`, `indices`, `wikilinks`, etc.)
|
|
35
|
-
- Default bibliography style
|
|
36
|
-
|
|
37
|
-
## Example `config.yml`
|
|
38
|
-
|
|
39
|
-
```yaml
|
|
40
|
-
---
|
|
41
|
-
# Default processor mode and output style
|
|
42
|
-
mode: unified
|
|
43
|
-
standalone: true
|
|
44
|
-
pretty: true
|
|
45
|
-
|
|
46
|
-
# Locale and quotation style
|
|
47
|
-
language: en
|
|
48
|
-
quoteslanguage: english
|
|
49
|
-
|
|
50
|
-
# Common feature flags
|
|
51
|
-
autolink: true
|
|
52
|
-
includes: true
|
|
53
|
-
relaxed-tables: true
|
|
54
|
-
sup-sub: true
|
|
55
|
-
|
|
56
|
-
# Index and bibliography defaults
|
|
57
|
-
indices: true
|
|
58
|
-
group-index-by-letter: true
|
|
59
|
-
bibliography: references.bib
|
|
60
|
-
csl: apa.csl
|
|
61
|
-
|
|
62
|
-
# Syntax highlighting (optional)
|
|
63
|
-
code-highlight: pygments
|
|
64
|
-
code-line-numbers: true
|
|
65
|
-
highlight-language-only: true
|
|
66
|
-
---
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
# EXTERNAL METADATA FILES
|
|
70
|
-
|
|
71
|
-
For project-specific or task-specific configurations, use `--meta-file` to point to a reusable metadata file:
|
|
72
|
-
|
|
73
|
-
apex document.md --meta-file project-defaults.yml
|
|
74
|
-
|
|
75
|
-
These files use the same metadata keys as `config.yml` and document front matter.
|
|
76
|
-
|
|
77
|
-
## Example project config
|
|
78
|
-
|
|
79
|
-
```yaml
|
|
80
|
-
---
|
|
81
|
-
mode: unified
|
|
82
|
-
standalone: true
|
|
83
|
-
pretty: true
|
|
84
|
-
|
|
85
|
-
# Project-specific bibliography
|
|
86
|
-
bibliography: project-refs.bib
|
|
87
|
-
csl: chicago-note-bibliography.csl
|
|
88
|
-
|
|
89
|
-
# Enable wiki links and relaxed tables for this project
|
|
90
|
-
wikilinks: true
|
|
91
|
-
relaxed-tables: true
|
|
92
|
-
---
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
# PER-DOCUMENT METADATA
|
|
96
|
-
|
|
97
|
-
Each document can define its own metadata in YAML, MultiMarkdown, or Pandoc formats. Apex extracts this metadata before processing, merges it with any file/config metadata, and then applies it to options.
|
|
98
|
-
|
|
99
|
-
## YAML front matter example
|
|
100
|
-
|
|
101
|
-
```markdown
|
|
102
|
-
---
|
|
103
|
-
title: My Research Paper
|
|
104
|
-
author: Jane Doe
|
|
105
|
-
mode: unified
|
|
106
|
-
standalone: true
|
|
107
|
-
pretty: true
|
|
108
|
-
indices: false
|
|
109
|
-
wikilinks: true
|
|
110
|
-
bibliography: references.bib
|
|
111
|
-
language: en
|
|
112
|
-
quoteslanguage: english
|
|
113
|
-
---
|
|
114
|
-
|
|
115
|
-
# Introduction
|
|
116
|
-
...
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
## MultiMarkdown metadata example
|
|
120
|
-
|
|
121
|
-
```markdown
|
|
122
|
-
Title: My Research Paper
|
|
123
|
-
Author: Jane Doe
|
|
124
|
-
Mode: unified
|
|
125
|
-
Standalone: true
|
|
126
|
-
Pretty: true
|
|
127
|
-
Indices: false
|
|
128
|
-
WikiLinks: true
|
|
129
|
-
Bibliography: references.bib
|
|
130
|
-
Language: en
|
|
131
|
-
Quotes Language: english
|
|
132
|
-
|
|
133
|
-
# Introduction
|
|
134
|
-
...
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
Apex normalizes keys (case-insensitive, ignores spaces and dashes), so `Quotes Language`, `quoteslanguage`, and `quotes-language` are treated equivalently.
|
|
138
|
-
|
|
139
|
-
# PRECEDENCE AND MERGING
|
|
140
|
-
|
|
141
|
-
When Apex builds the final configuration for a run, it merges all sources in this order:
|
|
142
|
-
|
|
143
|
-
1. **File metadata** (lowest precedence)
|
|
144
|
-
- Global `config.yml` if present and no explicit `--meta-file` was given
|
|
145
|
-
- Any metadata file provided via `--meta-file`
|
|
146
|
-
2. **Document metadata**
|
|
147
|
-
- YAML/MultiMarkdown/Pandoc metadata inside the document
|
|
148
|
-
3. **Command-line metadata**
|
|
149
|
-
- Values passed via `--meta KEY=VALUE`
|
|
150
|
-
4. **Command-line flags**
|
|
151
|
-
- Flags like `--mode`, `--pretty`, `--no-tables`, etc.
|
|
152
|
-
|
|
153
|
-
Later sources override earlier ones. In practice:
|
|
154
|
-
|
|
155
|
-
- A document can override defaults from `config.yml` or `--meta-file`
|
|
156
|
-
- `--meta` values can override both document and file metadata
|
|
157
|
-
- Explicit CLI flags still behave as final overrides where applicable
|
|
158
|
-
|
|
159
|
-
**Note:** If `mode` is specified in metadata (file or document), Apex resets options to that mode's defaults before applying other metadata keys, so the mode behaves as if you had passed it on the command line first.
|
|
160
|
-
|
|
161
|
-
# CONFIGURATION KEYS
|
|
162
|
-
|
|
163
|
-
Configuration keys correspond closely to Apex command-line options. Most options can be controlled via metadata in `config.yml`, `--meta-file` files, or per-document metadata.
|
|
164
|
-
|
|
165
|
-
## Boolean options
|
|
166
|
-
|
|
167
|
-
Boolean keys accept any of the following values (case-insensitive):
|
|
168
|
-
|
|
169
|
-
- `true` / `false`
|
|
170
|
-
- `yes` / `no`
|
|
171
|
-
- `1` / `0`
|
|
172
|
-
|
|
173
|
-
**Supported boolean keys include:**
|
|
174
|
-
|
|
175
|
-
- `indices` - Enable index processing
|
|
176
|
-
- `wikilinks` - Enable wiki link syntax (`[[Page]]`)
|
|
177
|
-
- `wikilink-sanitize` - Sanitize wiki link URLs (lowercase, remove apostrophes, clean non-alphanumeric)
|
|
178
|
-
- `includes` - Enable file inclusion
|
|
179
|
-
- `relaxed-tables` - Enable relaxed table parsing
|
|
180
|
-
- `alpha-lists` - Enable alphabetic list markers
|
|
181
|
-
- `mixed-lists` - Allow mixing list marker types at the same level
|
|
182
|
-
- `sup-sub` - Enable MultiMarkdown-style superscript/subscript
|
|
183
|
-
- `autolink` - Enable automatic URL/email linking
|
|
184
|
-
- `transforms` - Enable metadata transforms (`[%key:transform]`)
|
|
185
|
-
- `unsafe` - Allow raw HTML in output
|
|
186
|
-
- `tables` - Enable/disable table support
|
|
187
|
-
- `footnotes` - Enable/disable footnote support
|
|
188
|
-
- `smart` - Enable/disable smart typography
|
|
189
|
-
- `math` - Enable/disable math support
|
|
190
|
-
- `ids` - Enable/disable automatic header IDs
|
|
191
|
-
- `header-anchors` - Use `<a>` anchors instead of plain `id` attributes
|
|
192
|
-
- `embed-images` - Enable base64 image embedding
|
|
193
|
-
- `link-citations` - Link citations to bibliography entries
|
|
194
|
-
- `show-tooltips` - Add tooltips to citations
|
|
195
|
-
- `suppress-bibliography` - Suppress bibliography output
|
|
196
|
-
- `suppress-index` - Suppress index output while still creating markers
|
|
197
|
-
- `group-index-by-letter` - Group index entries alphabetically
|
|
198
|
-
- `obfuscate-emails` - Hex-encode `mailto:` links and visible email addresses
|
|
199
|
-
- `pretty` - Pretty-print HTML
|
|
200
|
-
- `standalone` - Generate a full HTML document (`<html>`, `<head>`, `<body>`)
|
|
201
|
-
- `hardbreaks` - Treat newlines as `<br>`
|
|
202
|
-
- `plugins` - Enable plugin processing (see **apex-plugins**(7))
|
|
203
|
-
- `code-line-numbers` - Include line numbers in syntax-highlighted code blocks
|
|
204
|
-
- `highlight-language-only` - Only highlight code blocks that have a language specified
|
|
205
|
-
|
|
206
|
-
## String options
|
|
207
|
-
|
|
208
|
-
String keys take a free-form string value (sometimes with a constrained set of options):
|
|
209
|
-
|
|
210
|
-
- `mode`
|
|
211
|
-
- Values: `commonmark`, `gfm`, `mmd`/`multimarkdown`, `kramdown`, `unified`
|
|
212
|
-
- `id-format`
|
|
213
|
-
- Values: `gfm`, `mmd`, `kramdown`
|
|
214
|
-
- `title`
|
|
215
|
-
- Document title (used especially in standalone mode)
|
|
216
|
-
- `style` / `css`
|
|
217
|
-
- Stylesheet path for standalone documents
|
|
218
|
-
- `base-dir`
|
|
219
|
-
- Base directory used for resolving relative paths (images, includes, etc.)
|
|
220
|
-
- `bibliography`
|
|
221
|
-
- Path to a bibliography file (`.bib`, `.json`, `.yml`, `.yaml`)
|
|
222
|
-
- `csl`
|
|
223
|
-
- Path to a CSL style file
|
|
224
|
-
- `language`
|
|
225
|
-
- BCP 47 or similar language tag (e.g. `en`, `en-US`, `fr`); sets the HTML `lang` attribute
|
|
226
|
-
- `quoteslanguage` / `Quotes Language`
|
|
227
|
-
- Human-readable language name used for quote styling (e.g. `english`, `french`, `german`)
|
|
228
|
-
- `code-highlight`
|
|
229
|
-
- External syntax highlighting tool: `pygments` (or `p`/`pyg`), `skylighting` (or `s`/`sky`), `shiki` (or `sh`), or `false`/`none` to disable
|
|
230
|
-
- `code-highlight-theme` / `code_highlight_theme`
|
|
231
|
-
- Preferred syntax highlighting theme/style name. Maps to Pygments styles, Skylighting styles, or Shiki themes in both HTML and terminal/ANSI output. Use `apex --list-themes` for an overview of built-in themes.
|
|
232
|
-
|
|
233
|
-
You can also use arbitrary keys for your own templates and transforms; Apex simply passes them through to the metadata system so they can be referenced via `[%key]` and `[%key:transform]`.
|
|
234
|
-
|
|
235
|
-
# EXAMPLES
|
|
236
|
-
|
|
237
|
-
A typical setup might look like this:
|
|
238
|
-
|
|
239
|
-
1. **Global defaults** in `config.yml` for your overall writing style and locale.
|
|
240
|
-
2. **Project config** via `--meta-file project.yml` for bibliography and project-specific settings.
|
|
241
|
-
3. **Per-document metadata** for title, author, and any exceptions to the defaults.
|
|
242
|
-
4. Occasional **CLI overrides** for ad-hoc one-off changes (e.g. `--mode gfm` for a specific run).
|
|
243
|
-
|
|
244
|
-
Because all three configuration layers use the same metadata keys, you can gradually refine behavior without repeating yourself:
|
|
245
|
-
|
|
246
|
-
- Put long-lived, cross-project settings in `config.yml`
|
|
247
|
-
- Put project-scoped settings in `--meta-file` configs
|
|
248
|
-
- Put document-specific settings in front matter
|
|
249
|
-
|
|
250
|
-
# SEE ALSO
|
|
251
|
-
|
|
252
|
-
**apex**(1), **apex-plugins**(7)
|
|
253
|
-
|
|
254
|
-
For complete documentation, see the [Apex Wiki](https://github.com/ttscoff/apex/wiki).
|
|
255
|
-
|
|
256
|
-
# AUTHOR
|
|
257
|
-
|
|
258
|
-
Brett Terpstra
|
|
259
|
-
|
|
260
|
-
# COPYRIGHT
|
|
261
|
-
|
|
262
|
-
Copyright (c) 2025 Brett Terpstra. Licensed under MIT License.
|