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,1877 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
|
|
6
|
-
<meta charset="UTF-8">
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
8
|
-
<meta name="generator" content="Apex 1.1.12">
|
|
9
|
-
<title>Document</title>
|
|
10
|
-
<style>
|
|
11
|
-
/* GitHub-style syntax highlighting for Pygments and Skylighting */
|
|
12
|
-
/* Don't apply background to wrapper when code highlighting is enabled - let default styles handle it */
|
|
13
|
-
.code-highlighted .highlight, .code-highlighted .sourceCode { background: inherit; border-radius: 6px; padding: 16px; overflow-x: auto; }
|
|
14
|
-
.highlight pre, .sourceCode pre { margin: 0; padding: 0; background: transparent; }
|
|
15
|
-
.highlight code, .sourceCode code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-size: 12px; line-height: 1.45; }
|
|
16
|
-
/* Pygments classes */
|
|
17
|
-
.highlight .k { color: #d73a49; font-weight: 600; } /* Keyword */
|
|
18
|
-
.highlight .kt { color: #d73a49; } /* Keyword.Type */
|
|
19
|
-
.highlight .kd { color: #d73a49; font-weight: 600; } /* Keyword.Declaration */
|
|
20
|
-
.highlight .kn { color: #d73a49; } /* Keyword.Namespace */
|
|
21
|
-
.highlight .kp { color: #d73a49; } /* Keyword.Pseudo */
|
|
22
|
-
.highlight .kr { color: #d73a49; font-weight: 600; } /* Keyword.Reserved */
|
|
23
|
-
.highlight .n { color: #6f42c1; } /* Name */
|
|
24
|
-
.highlight .na { color: #6f42c1; } /* Name.Attribute */
|
|
25
|
-
.highlight .nc { color: #6f42c1; font-weight: 600; } /* Name.Class */
|
|
26
|
-
.highlight .no { color: #005cc5; } /* Name.Constant */
|
|
27
|
-
.highlight .nd { color: #6f42c1; font-weight: 600; } /* Name.Decorator */
|
|
28
|
-
.highlight .ni { color: #800080; } /* Name.Entity */
|
|
29
|
-
.highlight .ne { color: #990000; font-weight: 600; } /* Name.Exception */
|
|
30
|
-
.highlight .nf { color: #6f42c1; font-weight: 600; } /* Name.Function */
|
|
31
|
-
.highlight .nl { color: #6f42c1; } /* Name.Label */
|
|
32
|
-
.highlight .nn { color: #555; } /* Name.Namespace */
|
|
33
|
-
.highlight .nt { color: #22863a; } /* Name.Tag */
|
|
34
|
-
.highlight .nv { color: #e36209; } /* Name.Variable */
|
|
35
|
-
.highlight .s { color: #032f62; } /* String */
|
|
36
|
-
.highlight .sb { color: #032f62; } /* String.Backtick */
|
|
37
|
-
.highlight .sc { color: #032f62; } /* String.Char */
|
|
38
|
-
.highlight .sd { color: #032f62; } /* String.Doc */
|
|
39
|
-
.highlight .s2 { color: #032f62; } /* String.Double */
|
|
40
|
-
.highlight .se { color: #032f62; } /* String.Escape */
|
|
41
|
-
.highlight .sh { color: #032f62; } /* String.Heredoc */
|
|
42
|
-
.highlight .si { color: #032f62; } /* String.Interpol */
|
|
43
|
-
.highlight .sx { color: #032f62; } /* String.Other */
|
|
44
|
-
.highlight .sr { color: #032f62; } /* String.Regex */
|
|
45
|
-
.highlight .s1 { color: #032f62; } /* String.Single */
|
|
46
|
-
.highlight .ss { color: #032f62; } /* String.Symbol */
|
|
47
|
-
.highlight .c { color: #6a737d; font-style: italic; } /* Comment */
|
|
48
|
-
.highlight .c1 { color: #6a737d; font-style: italic; } /* Comment.Single */
|
|
49
|
-
.highlight .cm { color: #6a737d; font-style: italic; } /* Comment.Multiline */
|
|
50
|
-
.highlight .cp { color: #6a737d; font-weight: 600; } /* Comment.Preproc */
|
|
51
|
-
.highlight .cs { color: #6a737d; font-weight: 600; font-style: italic; } /* Comment.Special */
|
|
52
|
-
.highlight .m { color: #005cc5; } /* Literal.Number */
|
|
53
|
-
.highlight .mb { color: #005cc5; } /* Literal.Number.Bin */
|
|
54
|
-
.highlight .mf { color: #005cc5; } /* Literal.Number.Float */
|
|
55
|
-
.highlight .mh { color: #005cc5; } /* Literal.Number.Hex */
|
|
56
|
-
.highlight .mi { color: #005cc5; } /* Literal.Number.Integer */
|
|
57
|
-
.highlight .il { color: #005cc5; } /* Literal.Number.Integer.Long */
|
|
58
|
-
.highlight .mo { color: #005cc5; } /* Literal.Number.Oct */
|
|
59
|
-
.highlight .o { color: #d73a49; } /* Operator */
|
|
60
|
-
.highlight .ow { color: #d73a49; } /* Operator.Word */
|
|
61
|
-
.highlight .p { color: #24292e; } /* Punctuation */
|
|
62
|
-
.highlight .w { color: #e1e4e8; } /* Text.Whitespace */
|
|
63
|
-
/* Skylighting classes */
|
|
64
|
-
.sourceCode .kw { color: #d73a49; font-weight: 600; } /* Keyword */
|
|
65
|
-
.sourceCode .dt { color: #6f42c1; } /* DataType */
|
|
66
|
-
.sourceCode .dv { color: #005cc5; } /* DecVal */
|
|
67
|
-
.sourceCode .bn { color: #005cc5; } /* BaseN */
|
|
68
|
-
.sourceCode .fl { color: #005cc5; } /* Float */
|
|
69
|
-
.sourceCode .ch { color: #032f62; } /* Char */
|
|
70
|
-
.sourceCode .st { color: #032f62; } /* String */
|
|
71
|
-
.sourceCode .co { color: #6a737d; font-style: italic; } /* Comment */
|
|
72
|
-
.sourceCode .ot { color: #22863a; } /* Other */
|
|
73
|
-
.sourceCode .al { color: #e36209; font-weight: 600; } /* Alert */
|
|
74
|
-
.sourceCode .fu { color: #6f42c1; font-weight: 600; } /* Function */
|
|
75
|
-
.sourceCode .re { color: #032f62; } /* RegionMarker */
|
|
76
|
-
.sourceCode .er { color: #d73a49; font-weight: 600; } /* Error */
|
|
77
|
-
.sourceCode .cf { color: #d73a49; font-weight: 600; } /* ControlFlow */
|
|
78
|
-
.sourceCode .op { color: #d73a49; } /* Operator */
|
|
79
|
-
.sourceCode .pp { color: #6a737d; } /* Preprocessor */
|
|
80
|
-
.sourceCode .at { color: #005cc5; } /* Attribute */
|
|
81
|
-
.sourceCode .do { color: #6a737d; font-style: italic; } /* Documentation */
|
|
82
|
-
.sourceCode .an { color: #6a737d; font-weight: 600; } /* Annotation */
|
|
83
|
-
.sourceCode .cv { color: #6a737d; font-weight: 600; font-style: italic; } /* CommentVar */
|
|
84
|
-
.sourceCode .in { color: #6a737d; } /* Information */
|
|
85
|
-
.sourceCode .wa { color: #e36209; font-weight: 600; } /* Warning */
|
|
86
|
-
.sourceCode .im { color: #d73a49; } /* Import */
|
|
87
|
-
.sourceCode .bu { color: #005cc5; } /* BuiltIn */
|
|
88
|
-
.sourceCode .ex { color: #6f42c1; } /* Extension */
|
|
89
|
-
.sourceCode .va { color: #e36209; } /* Variable */
|
|
90
|
-
.sourceCode .ss { color: #032f62; } /* SpecialString */
|
|
91
|
-
.sourceCode .sc { color: #032f62; } /* SpecialChar */
|
|
92
|
-
.sourceCode .vs { color: #032f62; } /* VerbatimString */
|
|
93
|
-
.sourceCode .il { color: #005cc5; } /* Special */
|
|
94
|
-
/* Line numbers (Skylighting) */
|
|
95
|
-
.sourceCode.numberSource .sourceCode { counter-reset: line; }
|
|
96
|
-
.sourceCode.numberSource .sourceCode > span { position: relative; left: -4em; counter-increment: line; }
|
|
97
|
-
.sourceCode.numberSource .sourceCode > span > a:first-child::before { content: counter(line); position: relative; left: -1em; text-align: right; vertical-align: baseline; border: none; display: inline-block; min-width: 1em; padding-right: 0.5em; color: #aaa; }
|
|
98
|
-
</style>
|
|
99
|
-
<style>
|
|
100
|
-
body {
|
|
101
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
|
|
102
|
-
line-height: 1.6;
|
|
103
|
-
max-width: 800px;
|
|
104
|
-
margin: 2rem auto;
|
|
105
|
-
padding: 0 1rem;
|
|
106
|
-
color: #333;
|
|
107
|
-
}
|
|
108
|
-
pre { background: #f5f5f5; padding: 1rem; overflow-x: auto; }
|
|
109
|
-
code { background: #f0f0f0; padding: 0.2em 0.4em; border-radius: 3px; }
|
|
110
|
-
blockquote { border-left: 4px solid #ddd; margin: 0; padding-left: 1rem; color: #666; }
|
|
111
|
-
table { border-collapse: collapse; width: 100%%; }
|
|
112
|
-
th, td { border: 1px solid #ddd; padding: 0.5rem; }
|
|
113
|
-
th { background: #f5f5f5; }
|
|
114
|
-
tfoot td { background: #e8e8e8; }
|
|
115
|
-
figure.table-figure { width: fit-content; margin: 1em 0; }
|
|
116
|
-
figure.table-figure table { width: auto; }
|
|
117
|
-
figcaption { text-align: center; font-weight: bold; font-size: 0.8em; }
|
|
118
|
-
.page-break { page-break-after: always; }
|
|
119
|
-
.callout { padding: 1rem; margin: 1rem 0; border-left: 4px solid; }
|
|
120
|
-
.callout-note { border-color: #3b82f6; background: #eff6ff; }
|
|
121
|
-
.callout-warning { border-color: #f59e0b; background: #fffbeb; }
|
|
122
|
-
.callout-tip { border-color: #10b981; background: #f0fdf4; }
|
|
123
|
-
.callout-danger { border-color: #ef4444; background: #fef2f2; }
|
|
124
|
-
ins { background: #d4fcbc; text-decoration: none; }
|
|
125
|
-
del { background: #fbb6c2; text-decoration: line-through; }
|
|
126
|
-
mark { background: #fff3cd; }
|
|
127
|
-
.smallcaps { font-variant: small-caps; }
|
|
128
|
-
.underline { text-decoration: underline; }
|
|
129
|
-
span.mark { background: #fff3cd; }
|
|
130
|
-
.hidden { display: none; }
|
|
131
|
-
.quarto-xref { font-variant: normal; }
|
|
132
|
-
.critic.comment { background: #e7e7e7; color: #666; font-style: italic; }
|
|
133
|
-
.mkhashtag { color: #666; }
|
|
134
|
-
.mkstyledtag {
|
|
135
|
-
display: inline-block;
|
|
136
|
-
background: #e0e0e0;
|
|
137
|
-
padding: 3px 9px;
|
|
138
|
-
border-radius: 20px;
|
|
139
|
-
font-size: 0.9em;
|
|
140
|
-
line-height: 1.4;
|
|
141
|
-
color: #333;
|
|
142
|
-
margin: 0 2px;
|
|
143
|
-
}
|
|
144
|
-
</style>
|
|
145
|
-
<meta name="paginate" content="symbols"/>
|
|
146
|
-
<meta name="highlight-language-only" content="true"/>
|
|
147
|
-
<meta name="code-line-numbers" content="false"/>
|
|
148
|
-
<meta name="code-highlight" content="pygments"/>
|
|
149
|
-
<meta name="sup-sub" content="true"/>
|
|
150
|
-
<meta name="relaxed-tables" content="true"/>
|
|
151
|
-
<meta name="includes" content="true"/>
|
|
152
|
-
<meta name="autolink" content="true"/>
|
|
153
|
-
<meta name="pretty" content="false"/>
|
|
154
|
-
<meta name="standalone" content="false"/>
|
|
155
|
-
<meta name="mode" content="unified"/>
|
|
156
|
-
<meta name="markdown-in-html" content="true"/>
|
|
157
|
-
<meta name="image-captions" content="true"/>
|
|
158
|
-
<meta name="wikilink-extension" content="html"/>
|
|
159
|
-
<meta name="wikilink-space" content="hyphen"/>
|
|
160
|
-
<meta name="wikilinks" content="true"/>
|
|
161
|
-
<meta name="widont" content="true"/>
|
|
162
|
-
<meta name="plugins" content="true"/>
|
|
163
|
-
<meta name="id-format" content="gfm"/>
|
|
164
|
-
|
|
165
|
-
<style>
|
|
166
|
-
:root {
|
|
167
|
-
/* border-box width of the fixed sidebar; body offset includes a small gap */
|
|
168
|
-
--sidebar-width: 250px;
|
|
169
|
-
--sidebar-offset: 270px;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
/* Base styles — override Apex standalone centering (max-width + margin: auto) */
|
|
173
|
-
body {
|
|
174
|
-
-webkit-font-smoothing: antialiased;
|
|
175
|
-
-moz-osx-font-smoothing: grayscale;
|
|
176
|
-
font-size: 17px;
|
|
177
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
178
|
-
"Helvetica Neue", Arial, sans-serif;
|
|
179
|
-
line-height: 1.65;
|
|
180
|
-
color: #1e293b;
|
|
181
|
-
background-color: #fff;
|
|
182
|
-
max-width: none;
|
|
183
|
-
width: auto;
|
|
184
|
-
margin: 2rem 2rem 2rem var(--sidebar-offset);
|
|
185
|
-
padding: 0 1rem;
|
|
186
|
-
box-sizing: border-box;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
/* Sidebar / Main TOC - wider on larger screens */
|
|
190
|
-
.main-toc,
|
|
191
|
-
.sidebar {
|
|
192
|
-
position: fixed;
|
|
193
|
-
left: 0;
|
|
194
|
-
top: 0;
|
|
195
|
-
box-sizing: border-box;
|
|
196
|
-
width: var(--sidebar-width);
|
|
197
|
-
min-width: var(--sidebar-width);
|
|
198
|
-
max-width: var(--sidebar-width);
|
|
199
|
-
height: 100vh;
|
|
200
|
-
overflow-y: auto;
|
|
201
|
-
background: #1e293b;
|
|
202
|
-
color: rgba(255, 255, 255, 0.9);
|
|
203
|
-
border-right: 2px solid rgba(255, 255, 255, 0.1);
|
|
204
|
-
padding: 24px 20px 130px;
|
|
205
|
-
font-size: 14px;
|
|
206
|
-
z-index: 100;
|
|
207
|
-
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
|
|
208
|
-
transition: transform 0.3s ease;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.main-toc ul,
|
|
212
|
-
.sidebar ul {
|
|
213
|
-
list-style: none;
|
|
214
|
-
padding-left: 0;
|
|
215
|
-
margin: 0;
|
|
216
|
-
padding-bottom: 80px;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.main-toc ul::after,
|
|
220
|
-
.sidebar ul::after {
|
|
221
|
-
content: "";
|
|
222
|
-
display: block;
|
|
223
|
-
height: 80px;
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
.main-toc li,
|
|
227
|
-
.sidebar li {
|
|
228
|
-
margin: 0.25em 0;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.main-toc a,
|
|
232
|
-
.sidebar a {
|
|
233
|
-
color: rgba(255, 255, 255, 0.85);
|
|
234
|
-
text-decoration: none;
|
|
235
|
-
display: block;
|
|
236
|
-
padding: 6px 12px;
|
|
237
|
-
border-radius: 4px;
|
|
238
|
-
transition: all 0.15s ease;
|
|
239
|
-
white-space: nowrap;
|
|
240
|
-
overflow: hidden;
|
|
241
|
-
text-overflow: ellipsis;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.main-toc a:hover,
|
|
245
|
-
.sidebar a:hover {
|
|
246
|
-
background: #334155;
|
|
247
|
-
color: #fff;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.sidebar a.active {
|
|
251
|
-
color: #0ea5e9;
|
|
252
|
-
font-weight: 500;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
/* Hamburger menu button */
|
|
256
|
-
.hamburger-menu {
|
|
257
|
-
display: none;
|
|
258
|
-
position: fixed;
|
|
259
|
-
top: 12px;
|
|
260
|
-
left: 12px;
|
|
261
|
-
z-index: 200;
|
|
262
|
-
background: #1e293b;
|
|
263
|
-
border: 2px solid rgba(255, 255, 255, 0.1);
|
|
264
|
-
border-radius: 6px;
|
|
265
|
-
padding: 10px;
|
|
266
|
-
cursor: pointer;
|
|
267
|
-
color: rgba(255, 255, 255, 0.9);
|
|
268
|
-
font-size: 20px;
|
|
269
|
-
line-height: 1;
|
|
270
|
-
box-sizing: border-box;
|
|
271
|
-
width: 44px;
|
|
272
|
-
height: 44px;
|
|
273
|
-
align-items: center;
|
|
274
|
-
justify-content: center;
|
|
275
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
276
|
-
transition: all 0.2s ease;
|
|
277
|
-
opacity: 0.2;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.hamburger-menu:hover {
|
|
281
|
-
background: #334155;
|
|
282
|
-
color: #fff;
|
|
283
|
-
opacity: 1;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
/* Move hamburger to the right of the sidebar when menu is open */
|
|
287
|
-
.hamburger-menu.active {
|
|
288
|
-
left: calc(var(--sidebar-width) + 12px);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.hamburger-menu.active {
|
|
292
|
-
background: #0ea5e9;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.hamburger-menu::before {
|
|
296
|
-
content: "☰";
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.hamburger-menu.active::before {
|
|
300
|
-
content: "✕";
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
/* Mobile menu overlay */
|
|
304
|
-
.mobile-menu-overlay {
|
|
305
|
-
display: none;
|
|
306
|
-
position: fixed;
|
|
307
|
-
top: 0;
|
|
308
|
-
left: 0;
|
|
309
|
-
right: 0;
|
|
310
|
-
bottom: 0;
|
|
311
|
-
background: rgba(0, 0, 0, 0.5);
|
|
312
|
-
z-index: 150;
|
|
313
|
-
opacity: 0;
|
|
314
|
-
visibility: hidden;
|
|
315
|
-
transition: opacity 0.3s ease, visibility 0.3s ease;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
.mobile-menu-overlay.active {
|
|
319
|
-
opacity: 1;
|
|
320
|
-
visibility: visible;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
/* Page TOC */
|
|
324
|
-
.page-toc {
|
|
325
|
-
background: #f9f9f9;
|
|
326
|
-
border: 1px solid #ddd;
|
|
327
|
-
border-radius: 4px;
|
|
328
|
-
padding: 1rem;
|
|
329
|
-
margin: 1.5rem 0;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
.page-toc ul {
|
|
333
|
-
list-style: none;
|
|
334
|
-
padding-left: 0;
|
|
335
|
-
margin: 0;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
.page-toc > ul {
|
|
339
|
-
padding-left: 0;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.page-toc li {
|
|
343
|
-
margin: 0.25em 0;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.page-toc a {
|
|
347
|
-
color: #0066cc;
|
|
348
|
-
text-decoration: none;
|
|
349
|
-
display: block;
|
|
350
|
-
padding: 0.25em 0.5em;
|
|
351
|
-
border-radius: 3px;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.page-toc a:hover {
|
|
355
|
-
background: #e0e0e0;
|
|
356
|
-
color: #004499;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
.page-toc ul ul {
|
|
360
|
-
list-style: none;
|
|
361
|
-
padding-left: 1.5em;
|
|
362
|
-
margin-top: 0.25em;
|
|
363
|
-
margin-left: 0;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.page-toc ul ul ul {
|
|
367
|
-
padding-left: 1.5em;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
.page-toc ul ul a {
|
|
371
|
-
font-size: 0.9em;
|
|
372
|
-
color: #555;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
.page-toc ul ul ul a {
|
|
376
|
-
font-size: 0.85em;
|
|
377
|
-
color: #666;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
/* Floating TOC */
|
|
381
|
-
.floating-toc {
|
|
382
|
-
position: fixed;
|
|
383
|
-
top: 0;
|
|
384
|
-
left: var(--sidebar-offset);
|
|
385
|
-
right: 0;
|
|
386
|
-
z-index: 50;
|
|
387
|
-
opacity: 0;
|
|
388
|
-
visibility: hidden;
|
|
389
|
-
transition: opacity 0.2s ease, visibility 0.2s ease;
|
|
390
|
-
pointer-events: none;
|
|
391
|
-
display: flex;
|
|
392
|
-
justify-content: flex-end;
|
|
393
|
-
padding-right: 2rem;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
.floating-toc.visible {
|
|
397
|
-
opacity: 1;
|
|
398
|
-
visibility: visible;
|
|
399
|
-
pointer-events: auto;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
.floating-toc-container {
|
|
403
|
-
background: rgba(255, 255, 255, 0.95);
|
|
404
|
-
backdrop-filter: blur(10px);
|
|
405
|
-
border-bottom: 1px solid #ddd;
|
|
406
|
-
border-radius: 0 0 12px 12px;
|
|
407
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
408
|
-
width: fit-content;
|
|
409
|
-
max-width: 400px;
|
|
410
|
-
min-width: 200px;
|
|
411
|
-
overflow: hidden;
|
|
412
|
-
transition: max-height 0.3s ease;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.floating-toc-header {
|
|
416
|
-
padding: 8px 16px;
|
|
417
|
-
cursor: pointer;
|
|
418
|
-
user-select: none;
|
|
419
|
-
font-size: 14px;
|
|
420
|
-
font-weight: 500;
|
|
421
|
-
color: #1e293b;
|
|
422
|
-
display: flex;
|
|
423
|
-
align-items: center;
|
|
424
|
-
justify-content: space-between;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
.floating-toc-header:hover {
|
|
428
|
-
background: rgba(0, 0, 0, 0.02);
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
.floating-toc-content {
|
|
432
|
-
max-height: 0;
|
|
433
|
-
overflow: hidden;
|
|
434
|
-
transition: max-height 0.3s ease;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
.floating-toc-container:hover .floating-toc-content {
|
|
438
|
-
max-height: 70vh;
|
|
439
|
-
overflow-y: auto;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
.floating-toc-content ul {
|
|
443
|
-
list-style: none;
|
|
444
|
-
padding: 8px 16px 16px;
|
|
445
|
-
margin: 0;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
.floating-toc-content li {
|
|
449
|
-
margin: 0.1em 0;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
.floating-toc-content a {
|
|
453
|
-
color: #0066cc;
|
|
454
|
-
text-decoration: none;
|
|
455
|
-
display: block;
|
|
456
|
-
padding: 0.2em 0.5em;
|
|
457
|
-
border-radius: 4px;
|
|
458
|
-
font-size: 13px;
|
|
459
|
-
transition: background 0.15s ease;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
.floating-toc-content a:hover {
|
|
463
|
-
background: #e0e0e0;
|
|
464
|
-
color: #004499;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
.floating-toc-content ul ul {
|
|
468
|
-
padding-left: 1.2em;
|
|
469
|
-
margin-top: 0;
|
|
470
|
-
margin-bottom: 0;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
.floating-toc-content ul ul ul {
|
|
474
|
-
margin-top: 0;
|
|
475
|
-
margin-bottom: 0;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
.floating-toc-content ul ul a {
|
|
479
|
-
font-size: 12px;
|
|
480
|
-
color: #555;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
.floating-toc-content ul ul ul a {
|
|
484
|
-
font-size: 11px;
|
|
485
|
-
color: #666;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
/* Smooth scrolling */
|
|
489
|
-
html {
|
|
490
|
-
scroll-behavior: smooth;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
/* Code blocks */
|
|
494
|
-
code {
|
|
495
|
-
background: #f0f0f0;
|
|
496
|
-
padding: 0.2em 0.4em;
|
|
497
|
-
border-radius: 3px;
|
|
498
|
-
font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
|
|
499
|
-
font-size: 0.9em;
|
|
500
|
-
margin: 0 0.1em;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
pre {
|
|
504
|
-
background: #f5f5f5;
|
|
505
|
-
padding: 1rem;
|
|
506
|
-
overflow-x: auto;
|
|
507
|
-
border-radius: 4px;
|
|
508
|
-
margin: 1em 0;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
pre code {
|
|
512
|
-
background: none;
|
|
513
|
-
padding: 0;
|
|
514
|
-
margin: 0;
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
/* Rouge syntax highlighting - GitHub theme, scoped to .highlight containers */
|
|
518
|
-
.highlight {
|
|
519
|
-
color: #24292e;
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
.highlight .c {
|
|
523
|
-
color: #6a737d;
|
|
524
|
-
font-style: italic;
|
|
525
|
-
} /* Comment */
|
|
526
|
-
.highlight .err {
|
|
527
|
-
color: #a61717;
|
|
528
|
-
background-color: #e3d2d2;
|
|
529
|
-
} /* Error */
|
|
530
|
-
.highlight .k {
|
|
531
|
-
color: #d73a49;
|
|
532
|
-
font-weight: bold;
|
|
533
|
-
} /* Keyword */
|
|
534
|
-
.highlight .l {
|
|
535
|
-
color: #032f62;
|
|
536
|
-
} /* Literal */
|
|
537
|
-
.highlight .n {
|
|
538
|
-
color: #24292e;
|
|
539
|
-
} /* Name */
|
|
540
|
-
.highlight .o {
|
|
541
|
-
color: #d73a49;
|
|
542
|
-
} /* Operator */
|
|
543
|
-
.highlight .p {
|
|
544
|
-
color: #24292e;
|
|
545
|
-
} /* Punctuation */
|
|
546
|
-
.highlight .cm {
|
|
547
|
-
color: #6a737d;
|
|
548
|
-
font-style: italic;
|
|
549
|
-
} /* Comment.Multiline */
|
|
550
|
-
.highlight .cp {
|
|
551
|
-
color: #6a737d;
|
|
552
|
-
font-weight: bold;
|
|
553
|
-
} /* Comment.Preproc */
|
|
554
|
-
.highlight .c1 {
|
|
555
|
-
color: #6a737d;
|
|
556
|
-
font-style: italic;
|
|
557
|
-
} /* Comment.Single */
|
|
558
|
-
.highlight .cs {
|
|
559
|
-
color: #6a737d;
|
|
560
|
-
font-weight: bold;
|
|
561
|
-
font-style: italic;
|
|
562
|
-
} /* Comment.Special */
|
|
563
|
-
.highlight .gd {
|
|
564
|
-
color: #24292e;
|
|
565
|
-
background-color: #ffeef0;
|
|
566
|
-
} /* Generic.Deleted */
|
|
567
|
-
.highlight .ge {
|
|
568
|
-
color: #24292e;
|
|
569
|
-
font-style: italic;
|
|
570
|
-
} /* Generic.Emph */
|
|
571
|
-
.highlight .gr {
|
|
572
|
-
color: #aa0000;
|
|
573
|
-
} /* Generic.Error */
|
|
574
|
-
.highlight .gh {
|
|
575
|
-
color: #999999;
|
|
576
|
-
font-weight: bold;
|
|
577
|
-
} /* Generic.Heading */
|
|
578
|
-
.highlight .gi {
|
|
579
|
-
color: #24292e;
|
|
580
|
-
background-color: #f0fff4;
|
|
581
|
-
} /* Generic.Inserted */
|
|
582
|
-
.highlight .go {
|
|
583
|
-
color: #888888;
|
|
584
|
-
} /* Generic.Output */
|
|
585
|
-
.highlight .gp {
|
|
586
|
-
color: #555555;
|
|
587
|
-
} /* Generic.Prompt */
|
|
588
|
-
.highlight .gs {
|
|
589
|
-
font-weight: bold;
|
|
590
|
-
} /* Generic.Strong */
|
|
591
|
-
.highlight .gu {
|
|
592
|
-
color: #aaaaaa;
|
|
593
|
-
} /* Generic.Subheading */
|
|
594
|
-
.highlight .gt {
|
|
595
|
-
color: #aa0000;
|
|
596
|
-
} /* Generic.Traceback */
|
|
597
|
-
.highlight .kc {
|
|
598
|
-
color: #d73a49;
|
|
599
|
-
font-weight: bold;
|
|
600
|
-
} /* Keyword.Constant */
|
|
601
|
-
.highlight .kd {
|
|
602
|
-
color: #d73a49;
|
|
603
|
-
font-weight: bold;
|
|
604
|
-
} /* Keyword.Declaration */
|
|
605
|
-
.highlight .kn {
|
|
606
|
-
color: #d73a49;
|
|
607
|
-
font-weight: bold;
|
|
608
|
-
} /* Keyword.Namespace */
|
|
609
|
-
.highlight .kp {
|
|
610
|
-
color: #d73a49;
|
|
611
|
-
font-weight: bold;
|
|
612
|
-
} /* Keyword.Pseudo */
|
|
613
|
-
.highlight .kr {
|
|
614
|
-
color: #d73a49;
|
|
615
|
-
font-weight: bold;
|
|
616
|
-
} /* Keyword.Reserved */
|
|
617
|
-
.highlight .kt {
|
|
618
|
-
color: #d73a49;
|
|
619
|
-
font-weight: bold;
|
|
620
|
-
} /* Keyword.Type */
|
|
621
|
-
.highlight .ld {
|
|
622
|
-
color: #032f62;
|
|
623
|
-
} /* Literal.Date */
|
|
624
|
-
.highlight .m {
|
|
625
|
-
color: #005cc5;
|
|
626
|
-
} /* Literal.Number */
|
|
627
|
-
.highlight .s {
|
|
628
|
-
color: #032f62;
|
|
629
|
-
} /* Literal.String */
|
|
630
|
-
.highlight .na {
|
|
631
|
-
color: #6f42c1;
|
|
632
|
-
} /* Name.Attribute */
|
|
633
|
-
.highlight .nb {
|
|
634
|
-
color: #005cc5;
|
|
635
|
-
} /* Name.Builtin */
|
|
636
|
-
.highlight .nc {
|
|
637
|
-
color: #6f42c1;
|
|
638
|
-
font-weight: bold;
|
|
639
|
-
} /* Name.Class */
|
|
640
|
-
.highlight .no {
|
|
641
|
-
color: #005cc5;
|
|
642
|
-
} /* Name.Constant */
|
|
643
|
-
.highlight .nd {
|
|
644
|
-
color: #6f42c1;
|
|
645
|
-
font-weight: bold;
|
|
646
|
-
} /* Name.Decorator */
|
|
647
|
-
.highlight .ni {
|
|
648
|
-
color: #800080;
|
|
649
|
-
} /* Name.Entity */
|
|
650
|
-
.highlight .ne {
|
|
651
|
-
color: #990000;
|
|
652
|
-
font-weight: bold;
|
|
653
|
-
} /* Name.Exception */
|
|
654
|
-
.highlight .nf {
|
|
655
|
-
color: #6f42c1;
|
|
656
|
-
} /* Name.Function */
|
|
657
|
-
.highlight .nl {
|
|
658
|
-
color: #990000;
|
|
659
|
-
} /* Name.Label */
|
|
660
|
-
.highlight .nn {
|
|
661
|
-
color: #555555;
|
|
662
|
-
} /* Name.Namespace */
|
|
663
|
-
.highlight .nx {
|
|
664
|
-
color: #6f42c1;
|
|
665
|
-
} /* Name.Other */
|
|
666
|
-
.highlight .py {
|
|
667
|
-
color: #990000;
|
|
668
|
-
} /* Name.Property */
|
|
669
|
-
.highlight .nt {
|
|
670
|
-
color: #22863a;
|
|
671
|
-
} /* Name.Tag */
|
|
672
|
-
.highlight .nv {
|
|
673
|
-
color: #e36209;
|
|
674
|
-
} /* Name.Variable */
|
|
675
|
-
.highlight .ow {
|
|
676
|
-
color: #d73a49;
|
|
677
|
-
font-weight: bold;
|
|
678
|
-
} /* Operator.Word */
|
|
679
|
-
.highlight .w {
|
|
680
|
-
color: #bbbbbb;
|
|
681
|
-
} /* Text.Whitespace */
|
|
682
|
-
.highlight .mf {
|
|
683
|
-
color: #005cc5;
|
|
684
|
-
} /* Literal.Number.Float */
|
|
685
|
-
.highlight .mh {
|
|
686
|
-
color: #005cc5;
|
|
687
|
-
} /* Literal.Number.Hex */
|
|
688
|
-
.highlight .mi {
|
|
689
|
-
color: #005cc5;
|
|
690
|
-
} /* Literal.Number.Integer */
|
|
691
|
-
.highlight .mo {
|
|
692
|
-
color: #005cc5;
|
|
693
|
-
} /* Literal.Number.Oct */
|
|
694
|
-
.highlight .sb {
|
|
695
|
-
color: #032f62;
|
|
696
|
-
} /* Literal.String.Backtick */
|
|
697
|
-
.highlight .sc {
|
|
698
|
-
color: #032f62;
|
|
699
|
-
} /* Literal.String.Char */
|
|
700
|
-
.highlight .sd {
|
|
701
|
-
color: #032f62;
|
|
702
|
-
} /* Literal.String.Doc */
|
|
703
|
-
.highlight .s2 {
|
|
704
|
-
color: #032f62;
|
|
705
|
-
} /* Literal.String.Double */
|
|
706
|
-
.highlight .se {
|
|
707
|
-
color: #032f62;
|
|
708
|
-
} /* Literal.String.Escape */
|
|
709
|
-
.highlight .sh {
|
|
710
|
-
color: #032f62;
|
|
711
|
-
} /* Literal.String.Heredoc */
|
|
712
|
-
.highlight .si {
|
|
713
|
-
color: #032f62;
|
|
714
|
-
} /* Literal.String.Interpol */
|
|
715
|
-
.highlight .sx {
|
|
716
|
-
color: #032f62;
|
|
717
|
-
} /* Literal.String.Other */
|
|
718
|
-
.highlight .sr {
|
|
719
|
-
color: #22863a;
|
|
720
|
-
} /* Literal.String.Regex */
|
|
721
|
-
.highlight .s1 {
|
|
722
|
-
color: #032f62;
|
|
723
|
-
} /* Literal.String.Single */
|
|
724
|
-
.highlight .ss {
|
|
725
|
-
color: #032f62;
|
|
726
|
-
} /* Literal.String.Symbol */
|
|
727
|
-
.highlight .bp {
|
|
728
|
-
color: #005cc5;
|
|
729
|
-
} /* Name.Builtin.Pseudo */
|
|
730
|
-
.highlight .vc {
|
|
731
|
-
color: #e36209;
|
|
732
|
-
} /* Name.Variable.Class */
|
|
733
|
-
.highlight .vg {
|
|
734
|
-
color: #e36209;
|
|
735
|
-
} /* Name.Variable.Global */
|
|
736
|
-
.highlight .vi {
|
|
737
|
-
color: #e36209;
|
|
738
|
-
} /* Name.Variable.Instance */
|
|
739
|
-
.highlight .il {
|
|
740
|
-
color: #005cc5;
|
|
741
|
-
} /* Literal.Number.Integer.Long */
|
|
742
|
-
|
|
743
|
-
/* Additional Rouge token classes that may be used */
|
|
744
|
-
.highlight .token {
|
|
745
|
-
color: #5670a0;
|
|
746
|
-
}
|
|
747
|
-
.highlight .token.list {
|
|
748
|
-
color: #546e9f;
|
|
749
|
-
}
|
|
750
|
-
.highlight .token.punctuation {
|
|
751
|
-
color: #3e8dad;
|
|
752
|
-
}
|
|
753
|
-
.highlight .token.list.punctuation {
|
|
754
|
-
color: #e05b78;
|
|
755
|
-
}
|
|
756
|
-
.highlight .token.content {
|
|
757
|
-
padding: 0;
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
/* Nested lists in page content */
|
|
761
|
-
ul ul,
|
|
762
|
-
ol ol,
|
|
763
|
-
ul ol,
|
|
764
|
-
ol ul {
|
|
765
|
-
padding-left: 1.5em;
|
|
766
|
-
margin-top: 0.25em;
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
/* Page footer */
|
|
770
|
-
.page-footer {
|
|
771
|
-
background: #f5f5f5;
|
|
772
|
-
border-top: 1px solid #ddd;
|
|
773
|
-
padding: 1.5rem;
|
|
774
|
-
margin-top: 3rem;
|
|
775
|
-
color: #666;
|
|
776
|
-
font-size: 0.9em;
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
.page-footer p {
|
|
780
|
-
margin: 0.5em 0;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
.page-footer a {
|
|
784
|
-
color: #0066cc;
|
|
785
|
-
text-decoration: none;
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
.page-footer a:hover {
|
|
789
|
-
text-decoration: underline;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
/* Mobile responsive */
|
|
793
|
-
@media (max-width: 768px) {
|
|
794
|
-
.hamburger-menu {
|
|
795
|
-
display: flex;
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
.main-toc,
|
|
799
|
-
.sidebar {
|
|
800
|
-
transform: translateX(-100%);
|
|
801
|
-
z-index: 175;
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
.main-toc.mobile-open,
|
|
805
|
-
.sidebar.mobile-open {
|
|
806
|
-
transform: translateX(0);
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
body {
|
|
810
|
-
margin: 2rem 1rem;
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
.floating-toc {
|
|
814
|
-
left: 0;
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
</style></head>
|
|
819
|
-
|
|
820
|
-
<body class="code-highlighted">
|
|
821
|
-
<div class="floating-toc" id="floating-toc">
|
|
822
|
-
<div class="floating-toc-container">
|
|
823
|
-
<div class="floating-toc-header">
|
|
824
|
-
<span>Table of Contents 🔻</span>
|
|
825
|
-
</div>
|
|
826
|
-
<div class="floating-toc-content" id="floating-toc-content">
|
|
827
|
-
<!-- Content will be populated by JavaScript -->
|
|
828
|
-
</div>
|
|
829
|
-
</div>
|
|
830
|
-
</div>
|
|
831
|
-
|
|
832
|
-
<button class="hamburger-menu" id="hamburger-menu" aria-label="Toggle navigation"></button>
|
|
833
|
-
<div class="mobile-menu-overlay" id="mobile-menu-overlay"></div>
|
|
834
|
-
|
|
835
|
-
<nav class="main-toc"><ul><li><a href="Home.html">Home</a></li><li><a href="Getting-Started.html">Getting Started</a></li><li><a href="Installation.html">Installation</a></li><li><a href="Usage.html">Usage</a></li><li><a href="Syntax.html">Syntax</a></li><li><a href="Callouts.html">Callouts</a></li><li><a href="Tables.html">Tables</a></li><li><a href="Inline-Attribute-Lists.html">Inline Attribute Lists</a></li><li><a href="Modes.html">Modes</a></li><li><a href="Quarto-Mode.html">Quarto Mode</a></li><li><a href="Command-Line-Options.html">Command Line Options</a></li><li><a href="Rendering-Markdown-In-Terminal.html">Rendering Markdown in the Terminal</a></li><li><a href="Generating-Man-Pages.html">Generating Man Pages</a></li><li><a href="Multi-File-Documents.html">Multi-file Documents</a></li><li><a href="Citations.html">Citations</a></li><li><a href="Indices.html">Indices</a></li><li><a href="Metadata-Transforms.html">Metadata Transforms</a></li><li><a href="Pandoc-Integration.html">Integrating with Pandoc</a></li><li><a href="Using-Apex-with-Jekyll.html">Using Apex with Jekyll</a></li><li><a href="Header-IDs.html">Header IDs</a></li><li><a href="C-API.html">C API</a></li><li><a href="Writing-Tests.html">Writing Tests</a></li><li><a href="Xcode-Integration.html">Xcode Integration</a></li><li><a href="Examples.html">Examples</a></li><li><a href="Plugins.html">Plugins</a></li><li><a href="Filters.html">Filters</a></li><li><a href="Troubleshooting.html">Troubleshooting</a></li><li><a href="Credits.html">Credits</a></li></ul></nav>
|
|
836
|
-
|
|
837
|
-
<h1 id="configuration">
|
|
838
|
-
Configuration
|
|
839
|
-
</h1>
|
|
840
|
-
<nav class="page-toc" id="page-toc-top"><ul><li><a href="#configuration">Configuration</a><ul><li><a href="#configuration-sources">Configuration sources</a></li><li><a href="#global-config-file-configyml">Global config file: config.yml</a><ul><li><a href="#example-configyml">Example config.yml</a></li></ul></li><li><a href="#project-config-file-apexconfigyml">Project config file: .apex/config.yml</a></li><li><a href="#reusable-config-files-with-meta-file">Reusable config files with --meta-file</a><ul><li><a href="#example-project-config-project-defaultsyml">Example project config (project-defaults.yml)</a></li></ul></li><li><a href="#per-document-metadata">Per-document metadata</a><ul><li><a href="#yaml-front-matter-example">YAML front matter example</a></li><li><a href="#multimarkdown-metadata-example">MultiMarkdown metadata example</a></li></ul></li><li><a href="#precedence-and-merging">Precedence and merging</a></li><li><a href="#available-configuration-keys">Available configuration keys</a><ul><li><a href="#boolean-options">Boolean options</a></li><li><a href="#string-options">String options</a></li></ul></li><li><a href="#putting-it-all-together">Putting it all together</a></li></ul></li></ul></nav>
|
|
841
|
-
|
|
842
|
-
<p>
|
|
843
|
-
Apex offers a flexible configuration system so you can define defaults once and reuse them across many documents, while still allowing per-document and per-invocation overrides.
|
|
844
|
-
</p>
|
|
845
|
-
|
|
846
|
-
<p>
|
|
847
|
-
This page covers:
|
|
848
|
-
</p>
|
|
849
|
-
|
|
850
|
-
<ul>
|
|
851
|
-
|
|
852
|
-
<li>
|
|
853
|
-
Where configuration comes from
|
|
854
|
-
</li>
|
|
855
|
-
|
|
856
|
-
<li>
|
|
857
|
-
The global <code>config.yml</code> file (XDG-aware)
|
|
858
|
-
</li>
|
|
859
|
-
|
|
860
|
-
<li>
|
|
861
|
-
Using <code>--meta-file</code> with reusable config files
|
|
862
|
-
</li>
|
|
863
|
-
|
|
864
|
-
<li>
|
|
865
|
-
Per-document metadata (front matter)
|
|
866
|
-
</li>
|
|
867
|
-
|
|
868
|
-
<li>
|
|
869
|
-
Precedence rules between these sources
|
|
870
|
-
</li>
|
|
871
|
-
|
|
872
|
-
<li>
|
|
873
|
-
Available configuration keys and their possible values
|
|
874
|
-
</li>
|
|
875
|
-
|
|
876
|
-
</ul>
|
|
877
|
-
|
|
878
|
-
<hr />
|
|
879
|
-
<h2 id="configuration-sources">
|
|
880
|
-
Configuration sources
|
|
881
|
-
</h2>
|
|
882
|
-
|
|
883
|
-
<p>
|
|
884
|
-
Apex can read configuration from four main places:
|
|
885
|
-
</p>
|
|
886
|
-
|
|
887
|
-
<ol>
|
|
888
|
-
|
|
889
|
-
<li>
|
|
890
|
-
<strong>Global configuration file</strong>
|
|
891
|
-
<ul>
|
|
892
|
-
|
|
893
|
-
<li>
|
|
894
|
-
<code>$XDG_CONFIG_HOME/apex/config.yml</code> when <code>XDG_CONFIG_HOME</code> is set
|
|
895
|
-
</li>
|
|
896
|
-
|
|
897
|
-
<li>
|
|
898
|
-
<code>~/.config/apex/config.yml</code> when <code>XDG_CONFIG_HOME</code> is not set
|
|
899
|
-
</li>
|
|
900
|
-
|
|
901
|
-
</ul>
|
|
902
|
-
|
|
903
|
-
</li>
|
|
904
|
-
|
|
905
|
-
<li>
|
|
906
|
-
<strong>Project configuration file</strong>
|
|
907
|
-
<ul>
|
|
908
|
-
|
|
909
|
-
<li>
|
|
910
|
-
<code>.apex/config.yml</code> in your project
|
|
911
|
-
</li>
|
|
912
|
-
|
|
913
|
-
<li>
|
|
914
|
-
Searched in this order:
|
|
915
|
-
<ul>
|
|
916
|
-
|
|
917
|
-
<li>
|
|
918
|
-
Current working directory: <code>./.apex/config.yml</code>
|
|
919
|
-
</li>
|
|
920
|
-
|
|
921
|
-
<li>
|
|
922
|
-
<code>--base-dir DIR</code>: <code>DIR/.apex/config.yml</code>
|
|
923
|
-
</li>
|
|
924
|
-
|
|
925
|
-
<li>
|
|
926
|
-
Git repository root (when inside a work tree): <code><git-root>/.apex/config.yml</code>
|
|
927
|
-
</li>
|
|
928
|
-
|
|
929
|
-
</ul>
|
|
930
|
-
|
|
931
|
-
</li>
|
|
932
|
-
|
|
933
|
-
</ul>
|
|
934
|
-
|
|
935
|
-
</li>
|
|
936
|
-
|
|
937
|
-
<li>
|
|
938
|
-
<strong>External metadata files</strong>
|
|
939
|
-
<ul>
|
|
940
|
-
|
|
941
|
-
<li>
|
|
942
|
-
Any file you pass explicitly with <code>--meta-file FILE</code>
|
|
943
|
-
</li>
|
|
944
|
-
|
|
945
|
-
<li>
|
|
946
|
-
Shared configuration for multiple documents
|
|
947
|
-
</li>
|
|
948
|
-
|
|
949
|
-
</ul>
|
|
950
|
-
|
|
951
|
-
</li>
|
|
952
|
-
|
|
953
|
-
<li>
|
|
954
|
-
<strong>Per-document metadata</strong>
|
|
955
|
-
<ul>
|
|
956
|
-
|
|
957
|
-
<li>
|
|
958
|
-
YAML, MultiMarkdown, or Pandoc-style metadata at the top of the document
|
|
959
|
-
</li>
|
|
960
|
-
|
|
961
|
-
<li>
|
|
962
|
-
Used for settings that are specific to a single document
|
|
963
|
-
</li>
|
|
964
|
-
|
|
965
|
-
</ul>
|
|
966
|
-
|
|
967
|
-
</li>
|
|
968
|
-
|
|
969
|
-
</ol>
|
|
970
|
-
|
|
971
|
-
<p>
|
|
972
|
-
On top of all of these, you can always pass <strong>command-line flags</strong> such as <code>--mode</code>, <code>--pretty</code>, <code>--no-tables</code>, etc.
|
|
973
|
-
</p>
|
|
974
|
-
|
|
975
|
-
<hr />
|
|
976
|
-
<h2 id="global-config-file-configyml">
|
|
977
|
-
Global config file: <code>config.yml</code>
|
|
978
|
-
</h2>
|
|
979
|
-
|
|
980
|
-
<p>
|
|
981
|
-
When you run <code>apex</code>, Apex will check for a global configuration file named <code>config.yml</code> in an XDG-aware location:
|
|
982
|
-
</p>
|
|
983
|
-
|
|
984
|
-
<ul>
|
|
985
|
-
|
|
986
|
-
<li>
|
|
987
|
-
If <code>$XDG_CONFIG_HOME</code> is set:
|
|
988
|
-
<ul>
|
|
989
|
-
|
|
990
|
-
<li>
|
|
991
|
-
<code>$XDG_CONFIG_HOME/apex/config.yml</code>
|
|
992
|
-
</li>
|
|
993
|
-
|
|
994
|
-
</ul>
|
|
995
|
-
|
|
996
|
-
</li>
|
|
997
|
-
|
|
998
|
-
<li>
|
|
999
|
-
Otherwise:
|
|
1000
|
-
<ul>
|
|
1001
|
-
|
|
1002
|
-
<li>
|
|
1003
|
-
<code>~/.config/apex/config.yml</code>
|
|
1004
|
-
</li>
|
|
1005
|
-
|
|
1006
|
-
</ul>
|
|
1007
|
-
|
|
1008
|
-
</li>
|
|
1009
|
-
|
|
1010
|
-
</ul>
|
|
1011
|
-
|
|
1012
|
-
<p>
|
|
1013
|
-
If the file exists, Apex loads it and merges its metadata with any project config, explicit <code>--meta-file</code>, document metadata, and <code>--meta</code> command-line metadata using the normal precedence rules (see below).
|
|
1014
|
-
</p>
|
|
1015
|
-
|
|
1016
|
-
<p>
|
|
1017
|
-
This makes <code>config.yml</code> ideal for defining <strong>project‑agnostic defaults</strong>, such as:
|
|
1018
|
-
</p>
|
|
1019
|
-
|
|
1020
|
-
<ul>
|
|
1021
|
-
|
|
1022
|
-
<li>
|
|
1023
|
-
Default <code>mode</code> (e.g. <code>unified</code>, <code>gfm</code>, <code>mmd</code>)
|
|
1024
|
-
</li>
|
|
1025
|
-
|
|
1026
|
-
<li>
|
|
1027
|
-
Default <code>language</code> and <code>quoteslanguage</code>
|
|
1028
|
-
</li>
|
|
1029
|
-
|
|
1030
|
-
<li>
|
|
1031
|
-
Common feature flags (<code>pretty</code>, <code>standalone</code>, <code>indices</code>, <code>wikilinks</code>, etc.)
|
|
1032
|
-
</li>
|
|
1033
|
-
|
|
1034
|
-
<li>
|
|
1035
|
-
Default bibliography style for your writing workflow
|
|
1036
|
-
</li>
|
|
1037
|
-
|
|
1038
|
-
</ul>
|
|
1039
|
-
|
|
1040
|
-
<h3 id="example-configyml">
|
|
1041
|
-
Example <code>config.yml</code>
|
|
1042
|
-
</h3>
|
|
1043
|
-
|
|
1044
|
-
<div class="highlight">
|
|
1045
|
-
<pre><span></span><span class="nn">---</span>
|
|
1046
|
-
<span class="c1"># Default processor mode and output style</span>
|
|
1047
|
-
<span class="nt">mode</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">unified</span>
|
|
1048
|
-
<span class="nt">standalone</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1049
|
-
<span class="nt">pretty</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1050
|
-
|
|
1051
|
-
<span class="c1"># Locale and quotation style</span>
|
|
1052
|
-
<span class="nt">language</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">en</span>
|
|
1053
|
-
<span class="nt">quoteslanguage</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">english</span>
|
|
1054
|
-
|
|
1055
|
-
<span class="c1"># Common feature flags</span>
|
|
1056
|
-
<span class="nt">autolink</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1057
|
-
<span class="nt">includes</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1058
|
-
<span class="nt">relaxed-tables</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1059
|
-
<span class="nt">sup-sub</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1060
|
-
|
|
1061
|
-
<span class="c1"># Index and bibliography defaults</span>
|
|
1062
|
-
<span class="nt">indices</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1063
|
-
<span class="nt">group-index-by-letter</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1064
|
-
<span class="nt">bibliography</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">references.bib</span>
|
|
1065
|
-
<span class="nt">csl</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">apa.csl</span>
|
|
1066
|
-
|
|
1067
|
-
<span class="c1"># Syntax highlighting (optional)</span>
|
|
1068
|
-
<span class="nt">code-highlight</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">pygments</span>
|
|
1069
|
-
<span class="nt">code-line-numbers</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1070
|
-
<span class="nt">highlight-language-only</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1071
|
-
<span class="nn">---</span>
|
|
1072
|
-
</pre>
|
|
1073
|
-
</div>
|
|
1074
|
-
|
|
1075
|
-
<p>
|
|
1076
|
-
With this configuration in place, a simple command like:
|
|
1077
|
-
</p>
|
|
1078
|
-
|
|
1079
|
-
<div class="highlight">
|
|
1080
|
-
<pre><span></span>apex<span class="w"> </span>document.md
|
|
1081
|
-
</pre>
|
|
1082
|
-
</div>
|
|
1083
|
-
|
|
1084
|
-
<p>
|
|
1085
|
-
will automatically use your global defaults. You can then override any of them with per-document metadata or CLI flags when needed.
|
|
1086
|
-
</p>
|
|
1087
|
-
|
|
1088
|
-
<hr />
|
|
1089
|
-
<h2 id="project-config-file-apexconfigyml">
|
|
1090
|
-
Project config file: <code>.apex/config.yml</code>
|
|
1091
|
-
</h2>
|
|
1092
|
-
|
|
1093
|
-
<p>
|
|
1094
|
-
For <strong>project-level defaults</strong>, you can add a <code>.apex/config.yml</code> file to your project. Apex will look for the first existing file in this order:
|
|
1095
|
-
</p>
|
|
1096
|
-
|
|
1097
|
-
<ol>
|
|
1098
|
-
|
|
1099
|
-
<li>
|
|
1100
|
-
<code>./.apex/config.yml</code> (current working directory)
|
|
1101
|
-
</li>
|
|
1102
|
-
|
|
1103
|
-
<li>
|
|
1104
|
-
<code>BASE/.apex/config.yml</code> when you pass <code>--base-dir BASE</code>
|
|
1105
|
-
</li>
|
|
1106
|
-
|
|
1107
|
-
<li>
|
|
1108
|
-
<code><git-root>/.apex/config.yml</code> when the current directory is inside a Git work tree
|
|
1109
|
-
</li>
|
|
1110
|
-
|
|
1111
|
-
</ol>
|
|
1112
|
-
|
|
1113
|
-
<p>
|
|
1114
|
-
If found, Apex merges the project config <strong>on top of</strong> the global config, so project keys override global ones while still inheriting unspecified global defaults.
|
|
1115
|
-
</p>
|
|
1116
|
-
|
|
1117
|
-
<hr />
|
|
1118
|
-
<h2 id="reusable-config-files-with-meta-file">
|
|
1119
|
-
Reusable config files with <code>--meta-file</code>
|
|
1120
|
-
</h2>
|
|
1121
|
-
|
|
1122
|
-
<p>
|
|
1123
|
-
For additional <strong>project-specific</strong> or <strong>task-specific</strong> configurations, use <code>--meta-file</code> to point to a reusable metadata file:
|
|
1124
|
-
</p>
|
|
1125
|
-
|
|
1126
|
-
<div class="highlight">
|
|
1127
|
-
<pre><span></span>apex<span class="w"> </span>document.md<span class="w"> </span>--meta-file<span class="w"> </span>project-defaults.yml
|
|
1128
|
-
</pre>
|
|
1129
|
-
</div>
|
|
1130
|
-
|
|
1131
|
-
<p>
|
|
1132
|
-
These files use the same metadata keys as <code>config.yml</code> and document front matter.
|
|
1133
|
-
</p>
|
|
1134
|
-
|
|
1135
|
-
<h3 id="example-project-config-project-defaultsyml">
|
|
1136
|
-
Example project config (<code>project-defaults.yml</code>)
|
|
1137
|
-
</h3>
|
|
1138
|
-
|
|
1139
|
-
<div class="highlight">
|
|
1140
|
-
<pre><span></span><span class="nn">---</span>
|
|
1141
|
-
<span class="nt">mode</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">unified</span>
|
|
1142
|
-
<span class="nt">standalone</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1143
|
-
<span class="nt">pretty</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1144
|
-
|
|
1145
|
-
<span class="c1"># Project-specific bibliography</span>
|
|
1146
|
-
<span class="nt">bibliography</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">project-refs.bib</span>
|
|
1147
|
-
<span class="nt">csl</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">chicago-note-bibliography.csl</span>
|
|
1148
|
-
|
|
1149
|
-
<span class="c1"># Enable wiki links and relaxed tables for this project</span>
|
|
1150
|
-
<span class="nt">wikilinks</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1151
|
-
<span class="nt">relaxed-tables</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1152
|
-
<span class="nn">---</span>
|
|
1153
|
-
</pre>
|
|
1154
|
-
</div>
|
|
1155
|
-
|
|
1156
|
-
<p>
|
|
1157
|
-
You can reuse the same <code>project-defaults.yml</code> for many documents:
|
|
1158
|
-
</p>
|
|
1159
|
-
|
|
1160
|
-
<div class="highlight">
|
|
1161
|
-
<pre><span></span>apex<span class="w"> </span>chapter1.md<span class="w"> </span>--meta-file<span class="w"> </span>project-defaults.yml
|
|
1162
|
-
apex<span class="w"> </span>chapter2.md<span class="w"> </span>--meta-file<span class="w"> </span>project-defaults.yml
|
|
1163
|
-
apex<span class="w"> </span>appendix.md<span class="w"> </span>--meta-file<span class="w"> </span>project-defaults.yml
|
|
1164
|
-
</pre>
|
|
1165
|
-
</div>
|
|
1166
|
-
|
|
1167
|
-
<p>
|
|
1168
|
-
If global and/or project config files are also present, the <strong>explicit</strong> <code>--meta-file</code> is merged on top of them; overall precedence is determined by the rules below.
|
|
1169
|
-
</p>
|
|
1170
|
-
|
|
1171
|
-
<hr />
|
|
1172
|
-
<h2 id="per-document-metadata">
|
|
1173
|
-
Per-document metadata
|
|
1174
|
-
</h2>
|
|
1175
|
-
|
|
1176
|
-
<p>
|
|
1177
|
-
Each document can define its own metadata in YAML, MultiMarkdown, or Pandoc formats. Apex extracts this metadata <strong>before</strong> processing, merges it with any file/config metadata, and then applies it to options.
|
|
1178
|
-
</p>
|
|
1179
|
-
|
|
1180
|
-
<h3 id="yaml-front-matter-example">
|
|
1181
|
-
YAML front matter example
|
|
1182
|
-
</h3>
|
|
1183
|
-
|
|
1184
|
-
<div class="highlight">
|
|
1185
|
-
<pre><span></span>---
|
|
1186
|
-
title: My Research Paper
|
|
1187
|
-
author: Jane Doe
|
|
1188
|
-
mode: unified
|
|
1189
|
-
standalone: true
|
|
1190
|
-
pretty: true
|
|
1191
|
-
indices: false
|
|
1192
|
-
wikilinks: true
|
|
1193
|
-
bibliography: references.bib
|
|
1194
|
-
language: en
|
|
1195
|
-
<span class="gu">quoteslanguage: english</span>
|
|
1196
|
-
<span class="gu">---</span>
|
|
1197
|
-
|
|
1198
|
-
<span class="gh"># Introduction</span>
|
|
1199
|
-
...
|
|
1200
|
-
</pre>
|
|
1201
|
-
</div>
|
|
1202
|
-
|
|
1203
|
-
<h3 id="multimarkdown-metadata-example">
|
|
1204
|
-
MultiMarkdown metadata example
|
|
1205
|
-
</h3>
|
|
1206
|
-
|
|
1207
|
-
<div class="highlight">
|
|
1208
|
-
<pre><span></span>Title: My Research Paper
|
|
1209
|
-
Author: Jane Doe
|
|
1210
|
-
Mode: unified
|
|
1211
|
-
Standalone: true
|
|
1212
|
-
Pretty: true
|
|
1213
|
-
Indices: false
|
|
1214
|
-
WikiLinks: true
|
|
1215
|
-
Bibliography: references.bib
|
|
1216
|
-
Language: en
|
|
1217
|
-
Quotes Language: english
|
|
1218
|
-
|
|
1219
|
-
<span class="gh"># Introduction</span>
|
|
1220
|
-
...
|
|
1221
|
-
</pre>
|
|
1222
|
-
</div>
|
|
1223
|
-
|
|
1224
|
-
<p>
|
|
1225
|
-
Apex normalizes keys (case-insensitive, ignores spaces and dashes), so <code>Quotes Language</code>, <code>quoteslanguage</code>, and <code>quotes-language</code> are treated equivalently.
|
|
1226
|
-
</p>
|
|
1227
|
-
|
|
1228
|
-
<hr />
|
|
1229
|
-
<h2 id="precedence-and-merging">
|
|
1230
|
-
Precedence and merging
|
|
1231
|
-
</h2>
|
|
1232
|
-
|
|
1233
|
-
<p>
|
|
1234
|
-
When Apex builds the final configuration for a run, it merges all sources in this order:
|
|
1235
|
-
</p>
|
|
1236
|
-
|
|
1237
|
-
<ol>
|
|
1238
|
-
|
|
1239
|
-
<li>
|
|
1240
|
-
<strong>File metadata</strong> (lowest precedence)
|
|
1241
|
-
<ul>
|
|
1242
|
-
|
|
1243
|
-
<li>
|
|
1244
|
-
Global <code>config.yml</code> (if present)
|
|
1245
|
-
</li>
|
|
1246
|
-
|
|
1247
|
-
<li>
|
|
1248
|
-
Project <code>.apex/config.yml</code> (if present)
|
|
1249
|
-
</li>
|
|
1250
|
-
|
|
1251
|
-
<li>
|
|
1252
|
-
Any metadata file provided via <code>--meta-file</code>
|
|
1253
|
-
</li>
|
|
1254
|
-
|
|
1255
|
-
</ul>
|
|
1256
|
-
|
|
1257
|
-
</li>
|
|
1258
|
-
|
|
1259
|
-
<li>
|
|
1260
|
-
<strong>Document metadata</strong>
|
|
1261
|
-
<ul>
|
|
1262
|
-
|
|
1263
|
-
<li>
|
|
1264
|
-
YAML/MultiMarkdown/Pandoc metadata inside the document
|
|
1265
|
-
</li>
|
|
1266
|
-
|
|
1267
|
-
</ul>
|
|
1268
|
-
|
|
1269
|
-
</li>
|
|
1270
|
-
|
|
1271
|
-
<li>
|
|
1272
|
-
<strong>Command-line metadata</strong>
|
|
1273
|
-
<ul>
|
|
1274
|
-
|
|
1275
|
-
<li>
|
|
1276
|
-
Values passed via <code>--meta KEY=VALUE</code>
|
|
1277
|
-
</li>
|
|
1278
|
-
|
|
1279
|
-
</ul>
|
|
1280
|
-
|
|
1281
|
-
</li>
|
|
1282
|
-
|
|
1283
|
-
<li>
|
|
1284
|
-
<strong>Command-line flags</strong>
|
|
1285
|
-
<ul>
|
|
1286
|
-
|
|
1287
|
-
<li>
|
|
1288
|
-
Flags like <code>--mode</code>, <code>--pretty</code>, <code>--no-tables</code>, etc.
|
|
1289
|
-
</li>
|
|
1290
|
-
|
|
1291
|
-
</ul>
|
|
1292
|
-
|
|
1293
|
-
</li>
|
|
1294
|
-
|
|
1295
|
-
</ol>
|
|
1296
|
-
|
|
1297
|
-
<p>
|
|
1298
|
-
Later sources override earlier ones. In practice:
|
|
1299
|
-
</p>
|
|
1300
|
-
|
|
1301
|
-
<ul>
|
|
1302
|
-
|
|
1303
|
-
<li>
|
|
1304
|
-
A document can <strong>override</strong> defaults from <code>config.yml</code> or <code>--meta-file</code>
|
|
1305
|
-
</li>
|
|
1306
|
-
|
|
1307
|
-
<li>
|
|
1308
|
-
<code>--meta</code> values can override both document and file metadata
|
|
1309
|
-
</li>
|
|
1310
|
-
|
|
1311
|
-
<li>
|
|
1312
|
-
Explicit CLI flags (<code>--mode gfm</code>, <code>--no-tables</code>, etc.) still behave as final overrides where applicable
|
|
1313
|
-
</li>
|
|
1314
|
-
|
|
1315
|
-
</ul>
|
|
1316
|
-
|
|
1317
|
-
<p>
|
|
1318
|
-
Note: if <code>mode</code> is specified in metadata (file or document), Apex <strong>resets options to that mode’s defaults</strong> before applying other metadata keys, so the mode behaves as if you had passed it on the command line first.
|
|
1319
|
-
</p>
|
|
1320
|
-
|
|
1321
|
-
<hr />
|
|
1322
|
-
<h2 id="available-configuration-keys">
|
|
1323
|
-
Available configuration keys
|
|
1324
|
-
</h2>
|
|
1325
|
-
|
|
1326
|
-
<p>
|
|
1327
|
-
Configuration keys correspond closely to Apex command-line options. Most options can be controlled via metadata in <code>config.yml</code>, <code>--meta-file</code> files, or per-document metadata.
|
|
1328
|
-
</p>
|
|
1329
|
-
|
|
1330
|
-
<h3 id="boolean-options">
|
|
1331
|
-
Boolean options
|
|
1332
|
-
</h3>
|
|
1333
|
-
|
|
1334
|
-
<p>
|
|
1335
|
-
Boolean keys accept any of the following values (case-insensitive):
|
|
1336
|
-
</p>
|
|
1337
|
-
|
|
1338
|
-
<ul>
|
|
1339
|
-
|
|
1340
|
-
<li>
|
|
1341
|
-
<code>true</code> / <code>false</code>
|
|
1342
|
-
</li>
|
|
1343
|
-
|
|
1344
|
-
<li>
|
|
1345
|
-
<code>yes</code> / <code>no</code>
|
|
1346
|
-
</li>
|
|
1347
|
-
|
|
1348
|
-
<li>
|
|
1349
|
-
<code>1</code> / <code>0</code>
|
|
1350
|
-
</li>
|
|
1351
|
-
|
|
1352
|
-
</ul>
|
|
1353
|
-
|
|
1354
|
-
<p>
|
|
1355
|
-
<strong>Supported boolean keys include:</strong>
|
|
1356
|
-
</p>
|
|
1357
|
-
|
|
1358
|
-
<ul>
|
|
1359
|
-
|
|
1360
|
-
<li>
|
|
1361
|
-
<code>indices</code> – Enable index processing
|
|
1362
|
-
</li>
|
|
1363
|
-
|
|
1364
|
-
<li>
|
|
1365
|
-
<code>wikilinks</code> – Enable wiki link syntax (<code>[[Page]]</code>)
|
|
1366
|
-
</li>
|
|
1367
|
-
|
|
1368
|
-
<li>
|
|
1369
|
-
<code>includes</code> – Enable file inclusion
|
|
1370
|
-
</li>
|
|
1371
|
-
|
|
1372
|
-
<li>
|
|
1373
|
-
<code>relaxed-tables</code> – Enable relaxed table parsing
|
|
1374
|
-
</li>
|
|
1375
|
-
|
|
1376
|
-
<li>
|
|
1377
|
-
<code>per-cell-alignment</code> – Enable per-cell alignment markers (colons at start/end of cells)
|
|
1378
|
-
</li>
|
|
1379
|
-
|
|
1380
|
-
<li>
|
|
1381
|
-
<code>alpha-lists</code> – Enable alphabetic list markers
|
|
1382
|
-
</li>
|
|
1383
|
-
|
|
1384
|
-
<li>
|
|
1385
|
-
<code>mixed-lists</code> – Allow mixing list marker types at the same level
|
|
1386
|
-
</li>
|
|
1387
|
-
|
|
1388
|
-
<li>
|
|
1389
|
-
<code>sup-sub</code> – Enable MultiMarkdown-style superscript/subscript
|
|
1390
|
-
</li>
|
|
1391
|
-
|
|
1392
|
-
<li>
|
|
1393
|
-
<code>autolink</code> – Enable automatic URL/email linking
|
|
1394
|
-
</li>
|
|
1395
|
-
|
|
1396
|
-
<li>
|
|
1397
|
-
<code>transforms</code> – Enable metadata transforms (<code>[%key:transform]</code>)
|
|
1398
|
-
</li>
|
|
1399
|
-
|
|
1400
|
-
<li>
|
|
1401
|
-
<code>unsafe</code> – Allow raw HTML in output
|
|
1402
|
-
</li>
|
|
1403
|
-
|
|
1404
|
-
<li>
|
|
1405
|
-
<code>tables</code> – Enable/disable table support
|
|
1406
|
-
</li>
|
|
1407
|
-
|
|
1408
|
-
<li>
|
|
1409
|
-
<code>footnotes</code> – Enable/disable footnote support
|
|
1410
|
-
</li>
|
|
1411
|
-
|
|
1412
|
-
<li>
|
|
1413
|
-
<code>smart</code> – Enable/disable smart typography
|
|
1414
|
-
</li>
|
|
1415
|
-
|
|
1416
|
-
<li>
|
|
1417
|
-
<code>math</code> – Enable/disable math support
|
|
1418
|
-
</li>
|
|
1419
|
-
|
|
1420
|
-
<li>
|
|
1421
|
-
<code>ids</code> – Enable/disable automatic header IDs
|
|
1422
|
-
</li>
|
|
1423
|
-
|
|
1424
|
-
<li>
|
|
1425
|
-
<code>header-anchors</code> – Use <code><a></code> anchors instead of plain <code>id</code> attributes
|
|
1426
|
-
</li>
|
|
1427
|
-
|
|
1428
|
-
<li>
|
|
1429
|
-
<code>embed-images</code> – Enable base64 image embedding
|
|
1430
|
-
</li>
|
|
1431
|
-
|
|
1432
|
-
<li>
|
|
1433
|
-
<code>link-citations</code> – Link citations to bibliography entries
|
|
1434
|
-
</li>
|
|
1435
|
-
|
|
1436
|
-
<li>
|
|
1437
|
-
<code>show-tooltips</code> – Add tooltips to citations
|
|
1438
|
-
</li>
|
|
1439
|
-
|
|
1440
|
-
<li>
|
|
1441
|
-
<code>suppress-bibliography</code> – Suppress bibliography output
|
|
1442
|
-
</li>
|
|
1443
|
-
|
|
1444
|
-
<li>
|
|
1445
|
-
<code>suppress-index</code> – Suppress index output while still creating markers
|
|
1446
|
-
</li>
|
|
1447
|
-
|
|
1448
|
-
<li>
|
|
1449
|
-
<code>group-index-by-letter</code> – Group index entries alphabetically
|
|
1450
|
-
</li>
|
|
1451
|
-
|
|
1452
|
-
<li>
|
|
1453
|
-
<code>obfuscate-emails</code> – Hex-encode <code>mailto:</code> links and visible email addresses
|
|
1454
|
-
</li>
|
|
1455
|
-
|
|
1456
|
-
<li>
|
|
1457
|
-
<code>pretty</code> – Pretty-print HTML
|
|
1458
|
-
</li>
|
|
1459
|
-
|
|
1460
|
-
<li>
|
|
1461
|
-
<code>standalone</code> – Generate a full HTML document (<code><html></code>, <code><head></code>, <code><body></code>)
|
|
1462
|
-
</li>
|
|
1463
|
-
|
|
1464
|
-
<li>
|
|
1465
|
-
<code>hardbreaks</code> – Treat newlines as <code><br></code>
|
|
1466
|
-
</li>
|
|
1467
|
-
|
|
1468
|
-
<li>
|
|
1469
|
-
<code>plugins</code> – Enable plugin processing for this document (see <a href="Plugins.html">Plugins</a>)
|
|
1470
|
-
</li>
|
|
1471
|
-
|
|
1472
|
-
<li>
|
|
1473
|
-
<code>code-line-numbers</code> – Include line numbers in syntax-highlighted code blocks
|
|
1474
|
-
</li>
|
|
1475
|
-
|
|
1476
|
-
<li>
|
|
1477
|
-
<code>highlight-language-only</code> – Only highlight code blocks that have a language specified
|
|
1478
|
-
</li>
|
|
1479
|
-
|
|
1480
|
-
<li>
|
|
1481
|
-
<code>widont</code> – Prevent short widows in headings by inserting non-breaking spaces between trailing words
|
|
1482
|
-
</li>
|
|
1483
|
-
|
|
1484
|
-
<li>
|
|
1485
|
-
<code>code-is-poetry</code> – Treat code blocks without a language as poetry (adds <code>poetry</code> class, implies <code>highlight-language-only</code>)
|
|
1486
|
-
</li>
|
|
1487
|
-
|
|
1488
|
-
<li>
|
|
1489
|
-
<code>markdown-in-html</code> – Enable markdown processing inside HTML blocks with markdown attributes
|
|
1490
|
-
</li>
|
|
1491
|
-
|
|
1492
|
-
<li>
|
|
1493
|
-
<code>random-footnote-ids</code> – Use hash-based footnote IDs to avoid collisions when combining documents
|
|
1494
|
-
</li>
|
|
1495
|
-
|
|
1496
|
-
<li>
|
|
1497
|
-
<code>hashtags</code> – Convert <code>#tags</code> into span-wrapped hashtags
|
|
1498
|
-
</li>
|
|
1499
|
-
|
|
1500
|
-
<li>
|
|
1501
|
-
<code>style-hashtags</code> – Use <code>mkstyledtag</code> class instead of <code>mkhashtag</code> for hashtags
|
|
1502
|
-
</li>
|
|
1503
|
-
|
|
1504
|
-
<li>
|
|
1505
|
-
<code>proofreader</code> – Treat <code>==highlight==</code> and <code>~~delete~~</code> as CriticMarkup syntax
|
|
1506
|
-
</li>
|
|
1507
|
-
|
|
1508
|
-
<li>
|
|
1509
|
-
<code>hr-page-break</code> – Replace <code><hr></code> elements with Marked-style page break divs
|
|
1510
|
-
</li>
|
|
1511
|
-
|
|
1512
|
-
<li>
|
|
1513
|
-
<code>title-from-h1</code> – Use the first H1 as document title when none is specified
|
|
1514
|
-
</li>
|
|
1515
|
-
|
|
1516
|
-
<li>
|
|
1517
|
-
<code>page-break-before-footnotes</code> – Insert a page break before the footnotes section
|
|
1518
|
-
</li>
|
|
1519
|
-
|
|
1520
|
-
</ul>
|
|
1521
|
-
|
|
1522
|
-
<h3 id="string-options">
|
|
1523
|
-
String options
|
|
1524
|
-
</h3>
|
|
1525
|
-
|
|
1526
|
-
<p>
|
|
1527
|
-
String keys take a free-form string value (sometimes with a constrained set of options):
|
|
1528
|
-
</p>
|
|
1529
|
-
|
|
1530
|
-
<ul>
|
|
1531
|
-
|
|
1532
|
-
<li>
|
|
1533
|
-
<code>mode</code>
|
|
1534
|
-
<ul>
|
|
1535
|
-
|
|
1536
|
-
<li>
|
|
1537
|
-
Values: <code>commonmark</code>, <code>gfm</code>, <code>mmd</code>/<code>multimarkdown</code>, <code>kramdown</code>, <code>unified</code>
|
|
1538
|
-
</li>
|
|
1539
|
-
|
|
1540
|
-
</ul>
|
|
1541
|
-
|
|
1542
|
-
</li>
|
|
1543
|
-
|
|
1544
|
-
<li>
|
|
1545
|
-
<code>id-format</code>
|
|
1546
|
-
<ul>
|
|
1547
|
-
|
|
1548
|
-
<li>
|
|
1549
|
-
Values: <code>gfm</code>, <code>mmd</code>, <code>kramdown</code>
|
|
1550
|
-
</li>
|
|
1551
|
-
|
|
1552
|
-
</ul>
|
|
1553
|
-
|
|
1554
|
-
</li>
|
|
1555
|
-
|
|
1556
|
-
<li>
|
|
1557
|
-
<code>title</code>
|
|
1558
|
-
<ul>
|
|
1559
|
-
|
|
1560
|
-
<li>
|
|
1561
|
-
Document title (used especially in standalone mode)
|
|
1562
|
-
</li>
|
|
1563
|
-
|
|
1564
|
-
</ul>
|
|
1565
|
-
|
|
1566
|
-
</li>
|
|
1567
|
-
|
|
1568
|
-
<li>
|
|
1569
|
-
<code>style</code> / <code>css</code>
|
|
1570
|
-
<ul>
|
|
1571
|
-
|
|
1572
|
-
<li>
|
|
1573
|
-
Stylesheet path for standalone documents
|
|
1574
|
-
</li>
|
|
1575
|
-
|
|
1576
|
-
</ul>
|
|
1577
|
-
|
|
1578
|
-
</li>
|
|
1579
|
-
|
|
1580
|
-
<li>
|
|
1581
|
-
<code>base-dir</code>
|
|
1582
|
-
<ul>
|
|
1583
|
-
|
|
1584
|
-
<li>
|
|
1585
|
-
Base directory used for resolving relative paths (images, includes, etc.)
|
|
1586
|
-
</li>
|
|
1587
|
-
|
|
1588
|
-
</ul>
|
|
1589
|
-
|
|
1590
|
-
</li>
|
|
1591
|
-
|
|
1592
|
-
<li>
|
|
1593
|
-
<code>bibliography</code>
|
|
1594
|
-
<ul>
|
|
1595
|
-
|
|
1596
|
-
<li>
|
|
1597
|
-
Path to a bibliography file (<code>.bib</code>, <code>.json</code>, <code>.yml</code>, <code>.yaml</code>)
|
|
1598
|
-
</li>
|
|
1599
|
-
|
|
1600
|
-
</ul>
|
|
1601
|
-
|
|
1602
|
-
</li>
|
|
1603
|
-
|
|
1604
|
-
<li>
|
|
1605
|
-
<code>csl</code>
|
|
1606
|
-
<ul>
|
|
1607
|
-
|
|
1608
|
-
<li>
|
|
1609
|
-
Path to a CSL style file
|
|
1610
|
-
</li>
|
|
1611
|
-
|
|
1612
|
-
</ul>
|
|
1613
|
-
|
|
1614
|
-
</li>
|
|
1615
|
-
|
|
1616
|
-
<li>
|
|
1617
|
-
<code>language</code>
|
|
1618
|
-
<ul>
|
|
1619
|
-
|
|
1620
|
-
<li>
|
|
1621
|
-
BCP 47 or similar language tag (e.g. <code>en</code>, <code>en-US</code>, <code>fr</code>); sets the HTML <code>lang</code> attribute
|
|
1622
|
-
</li>
|
|
1623
|
-
|
|
1624
|
-
</ul>
|
|
1625
|
-
|
|
1626
|
-
</li>
|
|
1627
|
-
|
|
1628
|
-
<li>
|
|
1629
|
-
<code>quoteslanguage</code> / <code>Quotes Language</code>
|
|
1630
|
-
<ul>
|
|
1631
|
-
|
|
1632
|
-
<li>
|
|
1633
|
-
Human-readable language name used for quote styling (e.g. <code>english</code>, <code>french</code>, <code>german</code>)
|
|
1634
|
-
</li>
|
|
1635
|
-
|
|
1636
|
-
</ul>
|
|
1637
|
-
|
|
1638
|
-
</li>
|
|
1639
|
-
|
|
1640
|
-
<li>
|
|
1641
|
-
<code>code-highlight</code>
|
|
1642
|
-
<ul>
|
|
1643
|
-
|
|
1644
|
-
<li>
|
|
1645
|
-
External syntax highlighting tool: <code>pygments</code> (or <code>p</code>/<code>pyg</code>), <code>skylighting</code> (or <code>s</code>/<code>sky</code>), or <code>false</code>/<code>none</code> to disable
|
|
1646
|
-
</li>
|
|
1647
|
-
|
|
1648
|
-
</ul>
|
|
1649
|
-
|
|
1650
|
-
</li>
|
|
1651
|
-
|
|
1652
|
-
</ul>
|
|
1653
|
-
|
|
1654
|
-
<p>
|
|
1655
|
-
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 <code>[%key]</code> and <code>[%key:transform]</code>.
|
|
1656
|
-
</p>
|
|
1657
|
-
|
|
1658
|
-
<hr />
|
|
1659
|
-
<h2 id="putting-it-all-together">
|
|
1660
|
-
Putting it all together
|
|
1661
|
-
</h2>
|
|
1662
|
-
|
|
1663
|
-
<p>
|
|
1664
|
-
A typical setup might look like this:
|
|
1665
|
-
</p>
|
|
1666
|
-
|
|
1667
|
-
<ol>
|
|
1668
|
-
|
|
1669
|
-
<li>
|
|
1670
|
-
<strong>Global defaults</strong> in <code>config.yml</code> for your overall writing style and locale.
|
|
1671
|
-
</li>
|
|
1672
|
-
|
|
1673
|
-
<li>
|
|
1674
|
-
<strong>Project config</strong> via <code>--meta-file project.yml</code> for bibliography and project-specific settings.
|
|
1675
|
-
</li>
|
|
1676
|
-
|
|
1677
|
-
<li>
|
|
1678
|
-
<strong>Per-document metadata</strong> for title, author, and any exceptions to the defaults.
|
|
1679
|
-
</li>
|
|
1680
|
-
|
|
1681
|
-
<li>
|
|
1682
|
-
Occasional <strong>CLI overrides</strong> for ad-hoc one-off changes (e.g. <code>--mode gfm</code> for a specific run).
|
|
1683
|
-
</li>
|
|
1684
|
-
|
|
1685
|
-
</ol>
|
|
1686
|
-
|
|
1687
|
-
<p>
|
|
1688
|
-
Because all three configuration layers use the same metadata keys, you can gradually refine behavior without repeating yourself:
|
|
1689
|
-
</p>
|
|
1690
|
-
|
|
1691
|
-
<ul>
|
|
1692
|
-
|
|
1693
|
-
<li>
|
|
1694
|
-
Put long‑lived, cross‑project settings in <code>config.yml</code>
|
|
1695
|
-
</li>
|
|
1696
|
-
|
|
1697
|
-
<li>
|
|
1698
|
-
Put project‑scoped settings in <code>--meta-file</code> configs
|
|
1699
|
-
</li>
|
|
1700
|
-
|
|
1701
|
-
<li>
|
|
1702
|
-
Put document‑specific settings in front matter
|
|
1703
|
-
</li>
|
|
1704
|
-
|
|
1705
|
-
</ul>
|
|
1706
|
-
|
|
1707
|
-
<p>
|
|
1708
|
-
For more examples of metadata usage and transforms, see <a href="Command-Line-Options#metadata-options">Metadata Options</a> and <a href="Metadata-Transforms.html">Metadata Transforms</a>.
|
|
1709
|
-
</p>
|
|
1710
|
-
|
|
1711
|
-
<script>
|
|
1712
|
-
// Hamburger menu functionality
|
|
1713
|
-
(function() {
|
|
1714
|
-
function initHamburgerMenu() {
|
|
1715
|
-
var hamburger = document.getElementById('hamburger-menu');
|
|
1716
|
-
var sidebar = document.querySelector('.main-toc, .sidebar');
|
|
1717
|
-
var overlay = document.getElementById('mobile-menu-overlay');
|
|
1718
|
-
|
|
1719
|
-
if (!hamburger || !sidebar) return;
|
|
1720
|
-
|
|
1721
|
-
function toggleMenu() {
|
|
1722
|
-
var isOpen = sidebar.classList.contains('mobile-open');
|
|
1723
|
-
if (isOpen) {
|
|
1724
|
-
sidebar.classList.remove('mobile-open');
|
|
1725
|
-
hamburger.classList.remove('active');
|
|
1726
|
-
if (overlay) overlay.classList.remove('active');
|
|
1727
|
-
} else {
|
|
1728
|
-
sidebar.classList.add('mobile-open');
|
|
1729
|
-
hamburger.classList.add('active');
|
|
1730
|
-
if (overlay) overlay.classList.add('active');
|
|
1731
|
-
}
|
|
1732
|
-
}
|
|
1733
|
-
|
|
1734
|
-
hamburger.addEventListener('click', function(e) {
|
|
1735
|
-
e.stopPropagation();
|
|
1736
|
-
toggleMenu();
|
|
1737
|
-
});
|
|
1738
|
-
|
|
1739
|
-
if (overlay) {
|
|
1740
|
-
overlay.addEventListener('click', function() {
|
|
1741
|
-
toggleMenu();
|
|
1742
|
-
});
|
|
1743
|
-
}
|
|
1744
|
-
|
|
1745
|
-
// Close menu when clicking on a sidebar link (mobile only)
|
|
1746
|
-
if (window.innerWidth <= 768) {
|
|
1747
|
-
var sidebarLinks = sidebar.querySelectorAll('a');
|
|
1748
|
-
sidebarLinks.forEach(function(link) {
|
|
1749
|
-
link.addEventListener('click', function() {
|
|
1750
|
-
setTimeout(function() {
|
|
1751
|
-
sidebar.classList.remove('mobile-open');
|
|
1752
|
-
hamburger.classList.remove('active');
|
|
1753
|
-
if (overlay) overlay.classList.remove('active');
|
|
1754
|
-
}, 100);
|
|
1755
|
-
});
|
|
1756
|
-
});
|
|
1757
|
-
}
|
|
1758
|
-
|
|
1759
|
-
// Close menu on window resize if going to desktop
|
|
1760
|
-
window.addEventListener('resize', function() {
|
|
1761
|
-
if (window.innerWidth > 768) {
|
|
1762
|
-
sidebar.classList.remove('mobile-open');
|
|
1763
|
-
hamburger.classList.remove('active');
|
|
1764
|
-
if (overlay) overlay.classList.remove('active');
|
|
1765
|
-
}
|
|
1766
|
-
});
|
|
1767
|
-
}
|
|
1768
|
-
|
|
1769
|
-
// Initialize when DOM is ready
|
|
1770
|
-
if (document.readyState === 'loading') {
|
|
1771
|
-
document.addEventListener('DOMContentLoaded', initHamburgerMenu);
|
|
1772
|
-
} else {
|
|
1773
|
-
initHamburgerMenu();
|
|
1774
|
-
}
|
|
1775
|
-
})();
|
|
1776
|
-
|
|
1777
|
-
</script>
|
|
1778
|
-
<script>
|
|
1779
|
-
(function() {
|
|
1780
|
-
// Clone the page TOC for floating TOC
|
|
1781
|
-
function initFloatingTOC() {
|
|
1782
|
-
var pageTOC = document.getElementById('page-toc-top');
|
|
1783
|
-
var floatingTOCContent = document.getElementById('floating-toc-content');
|
|
1784
|
-
var floatingTOC = document.getElementById('floating-toc');
|
|
1785
|
-
|
|
1786
|
-
if (!pageTOC || !floatingTOCContent || !floatingTOC) return;
|
|
1787
|
-
|
|
1788
|
-
// Clone the TOC structure
|
|
1789
|
-
var tocClone = pageTOC.cloneNode(true);
|
|
1790
|
-
tocClone.id = 'floating-toc-clone';
|
|
1791
|
-
floatingTOCContent.appendChild(tocClone);
|
|
1792
|
-
|
|
1793
|
-
// Update all links to use smooth scrolling
|
|
1794
|
-
var allTOCLinks = document.querySelectorAll('.page-toc a, .floating-toc-content a');
|
|
1795
|
-
allTOCLinks.forEach(function(link) {
|
|
1796
|
-
link.addEventListener('click', function(e) {
|
|
1797
|
-
var href = this.getAttribute('href');
|
|
1798
|
-
if (href && href.startsWith('#')) {
|
|
1799
|
-
e.preventDefault();
|
|
1800
|
-
var targetId = href.substring(1);
|
|
1801
|
-
var targetElement = document.getElementById(targetId);
|
|
1802
|
-
if (targetElement) {
|
|
1803
|
-
var offset = 20; // Offset from top
|
|
1804
|
-
|
|
1805
|
-
// Function to calculate absolute position from document top
|
|
1806
|
-
function getAbsoluteTop(element) {
|
|
1807
|
-
var top = 0;
|
|
1808
|
-
while (element) {
|
|
1809
|
-
top += element.offsetTop;
|
|
1810
|
-
element = element.offsetParent;
|
|
1811
|
-
}
|
|
1812
|
-
return top;
|
|
1813
|
-
}
|
|
1814
|
-
|
|
1815
|
-
var absoluteTop = getAbsoluteTop(targetElement);
|
|
1816
|
-
var scrollTop = window.pageYOffset || document.documentElement.scrollTop;
|
|
1817
|
-
var offsetPosition = absoluteTop - offset;
|
|
1818
|
-
|
|
1819
|
-
// Only scroll if we're not already at the target position
|
|
1820
|
-
if (Math.abs(scrollTop - offsetPosition) > 10) {
|
|
1821
|
-
window.scrollTo({
|
|
1822
|
-
top: Math.max(0, offsetPosition),
|
|
1823
|
-
behavior: 'smooth'
|
|
1824
|
-
});
|
|
1825
|
-
}
|
|
1826
|
-
|
|
1827
|
-
// Update URL hash without triggering scroll
|
|
1828
|
-
if (history.pushState) {
|
|
1829
|
-
history.pushState(null, null, href);
|
|
1830
|
-
}
|
|
1831
|
-
}
|
|
1832
|
-
}
|
|
1833
|
-
});
|
|
1834
|
-
});
|
|
1835
|
-
|
|
1836
|
-
// Handle scroll to show/hide floating TOC
|
|
1837
|
-
var tocTop = pageTOC.getBoundingClientRect().top + window.pageYOffset;
|
|
1838
|
-
var tocBottom = tocTop + pageTOC.offsetHeight;
|
|
1839
|
-
|
|
1840
|
-
function updateFloatingTOC() {
|
|
1841
|
-
var scrollY = window.pageYOffset || document.documentElement.scrollTop;
|
|
1842
|
-
|
|
1843
|
-
if (scrollY > tocBottom) {
|
|
1844
|
-
floatingTOC.classList.add('visible');
|
|
1845
|
-
} else {
|
|
1846
|
-
floatingTOC.classList.remove('visible');
|
|
1847
|
-
}
|
|
1848
|
-
}
|
|
1849
|
-
|
|
1850
|
-
// Throttle scroll events
|
|
1851
|
-
var ticking = false;
|
|
1852
|
-
window.addEventListener('scroll', function() {
|
|
1853
|
-
if (!ticking) {
|
|
1854
|
-
window.requestAnimationFrame(function() {
|
|
1855
|
-
updateFloatingTOC();
|
|
1856
|
-
ticking = false;
|
|
1857
|
-
});
|
|
1858
|
-
ticking = true;
|
|
1859
|
-
}
|
|
1860
|
-
});
|
|
1861
|
-
|
|
1862
|
-
// Initial check
|
|
1863
|
-
updateFloatingTOC();
|
|
1864
|
-
}
|
|
1865
|
-
|
|
1866
|
-
// Initialize when DOM is ready
|
|
1867
|
-
if (document.readyState === 'loading') {
|
|
1868
|
-
document.addEventListener('DOMContentLoaded', initFloatingTOC);
|
|
1869
|
-
} else {
|
|
1870
|
-
initFloatingTOC();
|
|
1871
|
-
}
|
|
1872
|
-
})();
|
|
1873
|
-
</script>
|
|
1874
|
-
<footer class="page-footer"><p>Copyright 2025 Brett Terpstra, All Rights Reserved | MIT License</p></footer></body>
|
|
1875
|
-
|
|
1876
|
-
</html>
|
|
1877
|
-
|