apex-ruby 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +119 -0
- data/apex-ruby.gemspec +31 -0
- data/ext/apex_ext/apex_ext.c +215 -0
- data/ext/apex_ext/apex_src/BENCHMARK.md +32 -0
- data/ext/apex_ext/apex_src/BENCHMARK_COMPARISON.md +67 -0
- data/ext/apex_ext/apex_src/CHANGELOG.md +2454 -0
- data/ext/apex_ext/apex_src/CMakeLists.txt +454 -0
- data/ext/apex_ext/apex_src/Dockerfile.linux-build +15 -0
- data/ext/apex_ext/apex_src/Formula/apex.rb +38 -0
- data/ext/apex_ext/apex_src/Info.plist.in +27 -0
- data/ext/apex_ext/apex_src/LICENSE +21 -0
- data/ext/apex_ext/apex_src/Package.swift +160 -0
- data/ext/apex_ext/apex_src/PackageSupport/README.md +17 -0
- data/ext/apex_ext/apex_src/PackageSupport/cmark-gfm/cmark-gfm_export.h +20 -0
- data/ext/apex_ext/apex_src/PackageSupport/cmark-gfm/cmark-gfm_version.h +14 -0
- data/ext/apex_ext/apex_src/PackageSupport/cmark-gfm/cmark_gfm_spm_stub.c +4 -0
- data/ext/apex_ext/apex_src/PackageSupport/cmark-gfm/config.h +41 -0
- data/ext/apex_ext/apex_src/README.md +452 -0
- data/ext/apex_ext/apex_src/VERSION +1 -0
- data/ext/apex_ext/apex_src/apex-header-2-rb@2x.webp +0 -0
- data/ext/apex_ext/apex_src/apex-plugins.json.example +20 -0
- data/ext/apex_ext/apex_src/apex.pc.in +11 -0
- data/ext/apex_ext/apex_src/cli/main.c +2720 -0
- data/ext/apex_ext/apex_src/debug_test.sh +22 -0
- data/ext/apex_ext/apex_src/docs/API_REFERENCE.md +451 -0
- data/ext/apex_ext/apex_src/docs/ARCHITECTURE.md +166 -0
- data/ext/apex_ext/apex_src/docs/CMARK_INTEGRATION.md +220 -0
- data/ext/apex_ext/apex_src/docs/CRITICMARKUP.md +501 -0
- data/ext/apex_ext/apex_src/docs/DEBUGGING.md +73 -0
- data/ext/apex_ext/apex_src/docs/FINAL_STATUS.md +391 -0
- data/ext/apex_ext/apex_src/docs/FINAL_STATUS_UPDATE.md +237 -0
- data/ext/apex_ext/apex_src/docs/FUTURE_FEATURES.md +456 -0
- data/ext/apex_ext/apex_src/docs/IAL_FEATURES.md +210 -0
- data/ext/apex_ext/apex_src/docs/IAL_STATUS.md +344 -0
- data/ext/apex_ext/apex_src/docs/INTEGRATION_EXAMPLE.m +144 -0
- data/ext/apex_ext/apex_src/docs/LIMITATIONS_RESOLVED.md +278 -0
- data/ext/apex_ext/apex_src/docs/OUTPUT_MODES.md +321 -0
- data/ext/apex_ext/apex_src/docs/PROGRESS.md +167 -0
- data/ext/apex_ext/apex_src/docs/STANDALONE_FEATURE.md +174 -0
- data/ext/apex_ext/apex_src/docs/TABLE_SPANS_STATUS.md +243 -0
- data/ext/apex_ext/apex_src/docs/TEST_COVERAGE.md +316 -0
- data/ext/apex_ext/apex_src/docs/USER_GUIDE.md +803 -0
- data/ext/apex_ext/apex_src/docs/WIKI_LINKS_ISSUE.md +91 -0
- data/ext/apex_ext/apex_src/documentation/README.md +160 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex Command Line Options.cheatsheet.txt +365 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Info.plist +24 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/C-API.html +1737 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Citations.html +1420 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Command-Line-Options.html +3574 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Configuration.html +1603 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Credits.html +910 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Examples.html +1168 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Getting-Started.html +1003 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Header-IDs.html +1308 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Home.html +1078 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Inline-Attribute-Lists.html +1622 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Installation.html +1168 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Limitations-and-Roadmap.html +1698 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Metadata-Transforms.html +1531 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Modes.html +1980 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Multi-File-Documents.html +1368 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Pandoc-Integration.html +1151 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Plugins.html +2861 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Syntax.html +3981 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Troubleshooting.html +1454 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Usage.html +1200 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Xcode-Integration.html +2066 -0
- 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/Apex.docset/Contents/Resources/tempOptimizedIndex.dsidx +0 -0
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Info.plist +22 -0
- 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 +914 -0
- data/ext/apex_ext/apex_src/documentation/docsets/ApexCLI.docset/Contents/Resources/Documents/style.css +399 -0
- 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 +772 -0
- data/ext/apex_ext/apex_src/documentation/generate_app_docs_ai.rb +678 -0
- data/ext/apex_ext/apex_src/documentation/generate_docset.rb +873 -0
- data/ext/apex_ext/apex_src/documentation/generate_single_html.rb +733 -0
- data/ext/apex_ext/apex_src/documentation/html/apex-docs.html +17073 -0
- data/ext/apex_ext/apex_src/documentation/shared_scripts.js +64 -0
- data/ext/apex_ext/apex_src/documentation/shared_styles.css +646 -0
- data/ext/apex_ext/apex_src/documentation/transform_for_app.example.md +260 -0
- data/ext/apex_ext/apex_src/examples/bracketed_spans_demo.md +119 -0
- data/ext/apex_ext/apex_src/examples/emoji_span_plugin.yml +11 -0
- data/ext/apex_ext/apex_src/examples/example.html +53 -0
- data/ext/apex_ext/apex_src/examples/example.md +85 -0
- data/ext/apex_ext/apex_src/examples/fenced_divs_demo.md +158 -0
- data/ext/apex_ext/apex_src/examples/kbd.md +8 -0
- data/ext/apex_ext/apex_src/examples/kbd_plugin.rb +250 -0
- data/ext/apex_ext/apex_src/examples/kbd_plugin.yml +9 -0
- 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/include/apex/apex.h +247 -0
- data/ext/apex_ext/apex_src/include/apex/buffer.h +93 -0
- data/ext/apex_ext/apex_src/include/apex/module.modulemap +16 -0
- data/ext/apex_ext/apex_src/include/apex/parser.h +150 -0
- data/ext/apex_ext/apex_src/include/apex/renderer.h +39 -0
- data/ext/apex_ext/apex_src/man/apex-config.5 +374 -0
- data/ext/apex_ext/apex_src/man/apex-config.5.md +260 -0
- data/ext/apex_ext/apex_src/man/apex-plugins.7 +456 -0
- data/ext/apex_ext/apex_src/man/apex-plugins.7.md +365 -0
- data/ext/apex_ext/apex_src/man/apex.1 +828 -0
- data/ext/apex_ext/apex_src/man/apex.1.md +643 -0
- data/ext/apex_ext/apex_src/man/apex.1.new +338 -0
- data/ext/apex_ext/apex_src/objc/Apex.swift +237 -0
- data/ext/apex_ext/apex_src/objc/NSString+Apex.h +117 -0
- data/ext/apex_ext/apex_src/objc/NSString+Apex.m +332 -0
- data/ext/apex_ext/apex_src/src/_README.md +358 -0
- data/ext/apex_ext/apex_src/src/apex.c +6326 -0
- data/ext/apex_ext/apex_src/src/buffer.c +93 -0
- data/ext/apex_ext/apex_src/src/extensions/abbreviations.c +362 -0
- data/ext/apex_ext/apex_src/src/extensions/abbreviations.h +45 -0
- data/ext/apex_ext/apex_src/src/extensions/advanced_footnotes.c +184 -0
- data/ext/apex_ext/apex_src/src/extensions/advanced_footnotes.h +50 -0
- data/ext/apex_ext/apex_src/src/extensions/advanced_tables.c +1897 -0
- data/ext/apex_ext/apex_src/src/extensions/advanced_tables.h +42 -0
- data/ext/apex_ext/apex_src/src/extensions/callouts.c +215 -0
- data/ext/apex_ext/apex_src/src/extensions/callouts.h +53 -0
- data/ext/apex_ext/apex_src/src/extensions/citations.c +2042 -0
- data/ext/apex_ext/apex_src/src/extensions/citations.h +163 -0
- data/ext/apex_ext/apex_src/src/extensions/critic.c +329 -0
- data/ext/apex_ext/apex_src/src/extensions/critic.h +48 -0
- data/ext/apex_ext/apex_src/src/extensions/definition_list.c +1670 -0
- data/ext/apex_ext/apex_src/src/extensions/definition_list.h +42 -0
- data/ext/apex_ext/apex_src/src/extensions/emoji.c +710 -0
- data/ext/apex_ext/apex_src/src/extensions/emoji.h +38 -0
- data/ext/apex_ext/apex_src/src/extensions/emoji_data.h +942 -0
- data/ext/apex_ext/apex_src/src/extensions/fenced_divs.c +925 -0
- data/ext/apex_ext/apex_src/src/extensions/fenced_divs.h +43 -0
- data/ext/apex_ext/apex_src/src/extensions/github-emoji.txt +869 -0
- data/ext/apex_ext/apex_src/src/extensions/grid_tables.c +1121 -0
- data/ext/apex_ext/apex_src/src/extensions/grid_tables.h +33 -0
- data/ext/apex_ext/apex_src/src/extensions/header_ids.c +626 -0
- data/ext/apex_ext/apex_src/src/extensions/header_ids.h +60 -0
- data/ext/apex_ext/apex_src/src/extensions/highlight.c +135 -0
- data/ext/apex_ext/apex_src/src/extensions/highlight.h +16 -0
- data/ext/apex_ext/apex_src/src/extensions/html_markdown.c +408 -0
- data/ext/apex_ext/apex_src/src/extensions/html_markdown.h +42 -0
- data/ext/apex_ext/apex_src/src/extensions/ial.c +4084 -0
- data/ext/apex_ext/apex_src/src/extensions/ial.h +145 -0
- data/ext/apex_ext/apex_src/src/extensions/includes.c +1536 -0
- data/ext/apex_ext/apex_src/src/extensions/includes.h +54 -0
- data/ext/apex_ext/apex_src/src/extensions/index.c +967 -0
- data/ext/apex_ext/apex_src/src/extensions/index.h +90 -0
- data/ext/apex_ext/apex_src/src/extensions/inline_footnotes.c +205 -0
- data/ext/apex_ext/apex_src/src/extensions/inline_footnotes.h +34 -0
- data/ext/apex_ext/apex_src/src/extensions/inline_tables.c +332 -0
- data/ext/apex_ext/apex_src/src/extensions/inline_tables.h +13 -0
- data/ext/apex_ext/apex_src/src/extensions/insert.c +248 -0
- data/ext/apex_ext/apex_src/src/extensions/insert.h +18 -0
- data/ext/apex_ext/apex_src/src/extensions/math.c +279 -0
- data/ext/apex_ext/apex_src/src/extensions/math.h +32 -0
- data/ext/apex_ext/apex_src/src/extensions/metadata.c +3046 -0
- data/ext/apex_ext/apex_src/src/extensions/metadata.h +125 -0
- data/ext/apex_ext/apex_src/src/extensions/relaxed_tables.c +1297 -0
- data/ext/apex_ext/apex_src/src/extensions/relaxed_tables.h +39 -0
- data/ext/apex_ext/apex_src/src/extensions/special_markers.c +194 -0
- data/ext/apex_ext/apex_src/src/extensions/special_markers.h +29 -0
- data/ext/apex_ext/apex_src/src/extensions/sup_sub.c +405 -0
- data/ext/apex_ext/apex_src/src/extensions/sup_sub.h +16 -0
- data/ext/apex_ext/apex_src/src/extensions/syntax_highlight.c +468 -0
- data/ext/apex_ext/apex_src/src/extensions/syntax_highlight.h +44 -0
- data/ext/apex_ext/apex_src/src/extensions/table_html_postprocess.c +2679 -0
- data/ext/apex_ext/apex_src/src/extensions/table_html_postprocess.h +23 -0
- data/ext/apex_ext/apex_src/src/extensions/toc.c +255 -0
- data/ext/apex_ext/apex_src/src/extensions/toc.h +34 -0
- data/ext/apex_ext/apex_src/src/extensions/wiki_links.c +624 -0
- data/ext/apex_ext/apex_src/src/extensions/wiki_links.h +58 -0
- data/ext/apex_ext/apex_src/src/html_renderer.c +2762 -0
- data/ext/apex_ext/apex_src/src/html_renderer.h +126 -0
- data/ext/apex_ext/apex_src/src/parser.c +227 -0
- data/ext/apex_ext/apex_src/src/plugins.c +895 -0
- data/ext/apex_ext/apex_src/src/plugins.h +39 -0
- data/ext/apex_ext/apex_src/src/plugins_env.c +187 -0
- data/ext/apex_ext/apex_src/src/plugins_remote.c +263 -0
- data/ext/apex_ext/apex_src/src/pretty_html.c +358 -0
- data/ext/apex_ext/apex_src/src/renderer.c +241 -0
- data/ext/apex_ext/apex_src/src/utf8.c +56 -0
- data/ext/apex_ext/apex_src/test-linux-build.sh +20 -0
- data/ext/apex_ext/apex_src/test.html +103 -0
- data/ext/apex_ext/apex_src/test_coverage.sh +121 -0
- data/ext/apex_ext/apex_src/test_ial_fenced.md +6 -0
- data/ext/apex_ext/apex_src/test_math_norm.py +79 -0
- data/ext/apex_ext/apex_src/test_pandoc_output.html +48 -0
- data/ext/apex_ext/apex_src/test_spm.sh +107 -0
- data/ext/apex_ext/apex_src/tests/ApexSPMTest/main.swift +50 -0
- data/ext/apex_ext/apex_src/tests/BENCHMARK_RESULTS.md +229 -0
- data/ext/apex_ext/apex_src/tests/CMakeLists.txt +24 -0
- data/ext/apex_ext/apex_src/tests/README.md +146 -0
- data/ext/apex_ext/apex_src/tests/benchmark.sh +113 -0
- data/ext/apex_ext/apex_src/tests/benchmark_comparison.sh +166 -0
- data/ext/apex_ext/apex_src/tests/compare_header_ids.sh +31 -0
- data/ext/apex_ext/apex_src/tests/fixtures/basic/headers.md +25 -0
- data/ext/apex_ext/apex_src/tests/fixtures/basic/list-interruption.md +24 -0
- data/ext/apex_ext/apex_src/tests/fixtures/basic/misc_markup.md +33 -0
- data/ext/apex_ext/apex_src/tests/fixtures/basic/test_basic.md +26 -0
- data/ext/apex_ext/apex_src/tests/fixtures/code/code-blocks.md +260 -0
- data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/SUMMARY.md +6 -0
- data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/chapter1.md +7 -0
- data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/index.txt +9 -0
- data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/intro.md +5 -0
- data/ext/apex_ext/apex_src/tests/fixtures/combine_summary/section1_1.md +5 -0
- data/ext/apex_ext/apex_src/tests/fixtures/comprehensive_test.md +620 -0
- data/ext/apex_ext/apex_src/tests/fixtures/debug_ref_image_ial.md +3 -0
- data/ext/apex_ext/apex_src/tests/fixtures/demos/ial.md +11 -0
- data/ext/apex_ext/apex_src/tests/fixtures/demos/ial_demo.md +177 -0
- data/ext/apex_ext/apex_src/tests/fixtures/extensions/emoji-autocorrect.md +94 -0
- data/ext/apex_ext/apex_src/tests/fixtures/extensions/emoji_test.md +3 -0
- data/ext/apex_ext/apex_src/tests/fixtures/extensions/kbd_test.md +3 -0
- data/ext/apex_ext/apex_src/tests/fixtures/ial/bracketed_spans_test.md +74 -0
- data/ext/apex_ext/apex_src/tests/fixtures/images/image_and_encoding_test.md +27 -0
- data/ext/apex_ext/apex_src/tests/fixtures/images/multimarkdown_image_attributes_test.md +60 -0
- data/ext/apex_ext/apex_src/tests/fixtures/images/pandoc_ial_image_test.md +27 -0
- data/ext/apex_ext/apex_src/tests/fixtures/images/width_height_conversion_test.md +94 -0
- data/ext/apex_ext/apex_src/tests/fixtures/img-in-div.md +16 -0
- data/ext/apex_ext/apex_src/tests/fixtures/includes/code.py +4 -0
- data/ext/apex_ext/apex_src/tests/fixtures/includes/data.csv +5 -0
- data/ext/apex_ext/apex_src/tests/fixtures/includes/data.tsv +5 -0
- data/ext/apex_ext/apex_src/tests/fixtures/includes/image.png +2 -0
- data/ext/apex_ext/apex_src/tests/fixtures/includes/metadata_options.yml +11 -0
- data/ext/apex_ext/apex_src/tests/fixtures/includes/nested.md +8 -0
- data/ext/apex_ext/apex_src/tests/fixtures/includes/raw.html +4 -0
- data/ext/apex_ext/apex_src/tests/fixtures/includes/simple.md +7 -0
- data/ext/apex_ext/apex_src/tests/fixtures/includes/test_image.png +0 -0
- data/ext/apex_ext/apex_src/tests/fixtures/large_doc.md +1094 -0
- data/ext/apex_ext/apex_src/tests/fixtures/metadata_options.yml +11 -0
- data/ext/apex_ext/apex_src/tests/fixtures/output/gfm_header_id_test.md +96 -0
- data/ext/apex_ext/apex_src/tests/fixtures/output/test_citations.md +43 -0
- data/ext/apex_ext/apex_src/tests/fixtures/output/test_def_list_links.md +12 -0
- data/ext/apex_ext/apex_src/tests/fixtures/output/test_index_mmark.md +53 -0
- data/ext/apex_ext/apex_src/tests/fixtures/output/test_index_textindex.md +37 -0
- data/ext/apex_ext/apex_src/tests/fixtures/tables/advanced_tables_test.md +93 -0
- data/ext/apex_ext/apex_src/tests/fixtures/tables/inline_tables_test.md +38 -0
- data/ext/apex_ext/apex_src/tests/fixtures/tables/relaxed-table.md +12 -0
- data/ext/apex_ext/apex_src/tests/fixtures/tables/table_cr_line_endings.md +15 -0
- data/ext/apex_ext/apex_src/tests/fixtures/tables/table_no_trailing_newline.md +15 -0
- data/ext/apex_ext/apex_src/tests/generate_gfm_ids.sh +105 -0
- data/ext/apex_ext/apex_src/tests/generate_ial_demo.sh +143 -0
- data/ext/apex_ext/apex_src/tests/gfm_id_comparison_summary.md +96 -0
- data/ext/apex_ext/apex_src/tests/gh_api_test.md +6 -0
- data/ext/apex_ext/apex_src/tests/ial_demo.html +186 -0
- data/ext/apex_ext/apex_src/tests/include_code.py +19 -0
- data/ext/apex_ext/apex_src/tests/include_snippet.md +15 -0
- data/ext/apex_ext/apex_src/tests/multi_file_cli_test.sh +64 -0
- data/ext/apex_ext/apex_src/tests/sample_data.csv +7 -0
- data/ext/apex_ext/apex_src/tests/table_escaped_ltlt.md +4 -0
- data/ext/apex_ext/apex_src/tests/test_basic.c +74 -0
- data/ext/apex_ext/apex_src/tests/test_extensions.c +2116 -0
- data/ext/apex_ext/apex_src/tests/test_helpers.c +183 -0
- data/ext/apex_ext/apex_src/tests/test_helpers.h +91 -0
- data/ext/apex_ext/apex_src/tests/test_ial.c +282 -0
- data/ext/apex_ext/apex_src/tests/test_links.c +418 -0
- data/ext/apex_ext/apex_src/tests/test_marked_integration.c +265 -0
- data/ext/apex_ext/apex_src/tests/test_metadata.c +908 -0
- data/ext/apex_ext/apex_src/tests/test_output.c +1118 -0
- data/ext/apex_ext/apex_src/tests/test_plugins.c +219 -0
- data/ext/apex_ext/apex_src/tests/test_refs.bib +31 -0
- data/ext/apex_ext/apex_src/tests/test_runner.c +244 -0
- data/ext/apex_ext/apex_src/tests/test_syntax_highlight.c +198 -0
- data/ext/apex_ext/apex_src/tests/test_tables.c +862 -0
- data/ext/apex_ext/apex_src/tests/update_benchmarks.sh +9 -0
- data/ext/apex_ext/apex_src/tests/yaml_test.md +13 -0
- data/ext/apex_ext/apex_src/tests.rb +39 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/CMakeLists.txt +48 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/COPYING +170 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/CheckFileOffsetBits.c +14 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/CheckFileOffsetBits.cmake +43 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/FindAsan.cmake +74 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/Makefile.nmake +38 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/README.md +206 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/CMakeLists.txt +30 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/cplusplus.cpp +15 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/cplusplus.h +16 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/harness.c +111 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/harness.h +35 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/api_test/main.c +1169 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/appveyor.yml +21 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-bq-flat.md +16 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-bq-nested.md +13 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-code.md +11 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-fences.md +14 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-heading.md +9 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-hr.md +10 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-html.md +32 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-lheading.md +8 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-list-flat.md +67 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-list-nested.md +36 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-ref-flat.md +15 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/block-ref-nested.md +17 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-autolink.md +14 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-backticks.md +3 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-em-flat.md +5 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-em-nested.md +5 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-em-worst.md +5 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-entity.md +11 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-escape.md +15 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-html.md +44 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-links-flat.md +23 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-links-nested.md +13 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/inline-newlines.md +24 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/lorem1.md +13 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/samples/rawtabs.md +18 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/statistics.py +595 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/bench/stats.py +19 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/benchmarks.md +33 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/changelog.txt +1245 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/data/CaseFolding.txt +1495 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/CMakeLists.txt +119 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/autolink.c +508 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/autolink.h +8 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/cmark-gfm-core-extensions.h +54 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/core-extensions.c +27 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/ext_scanners.c +879 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/ext_scanners.h +24 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/ext_scanners.re +92 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/strikethrough.c +167 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/strikethrough.h +9 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/table.c +917 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/table.h +12 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/tagfilter.c +60 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/tagfilter.h +8 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/tasklist.c +156 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/tasklist.h +8 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/CMakeLists.txt +22 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/README.md +12 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/fuzz_quadratic.c +91 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/fuzz_quadratic_brackets.c +110 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/fuzz/fuzzloop.sh +28 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/CMakeLists.txt +10 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/make_man_page.py +133 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/man1/cmark-gfm.1 +78 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/man/man3/cmark-gfm.3 +1041 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/nmake.bat +1 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/CMakeLists.txt +230 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/arena.c +104 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/blocks.c +1622 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/buffer.c +278 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/buffer.h +116 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/case_fold_switch.inc +4327 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/chunk.h +135 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/cmark-gfm-extension_api.h +737 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/cmark-gfm.h +833 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/cmark-gfm_version.h.in +7 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/cmark.c +55 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/cmark_ctype.c +44 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/cmark_ctype.h +33 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/commonmark.c +514 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/config.h.in +76 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/entities.inc +2138 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/footnotes.c +63 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/footnotes.h +27 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/houdini.h +57 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/houdini_href_e.c +100 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/houdini_html_e.c +66 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/houdini_html_u.c +149 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/html.c +502 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/html.h +27 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/inlines.c +1788 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/inlines.h +29 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/iterator.c +159 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/iterator.h +26 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/latex.c +468 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/libcmark-gfm.pc.in +10 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/linked_list.c +37 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/main.c +328 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/man.c +274 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/map.c +129 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/map.h +44 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/node.c +1045 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/node.h +167 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/parser.h +59 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/plaintext.c +218 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/plugin.c +36 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/plugin.h +34 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/references.c +43 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/references.h +26 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/registry.c +63 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/registry.h +24 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/render.c +213 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/render.h +62 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/scanners.c +14056 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/scanners.h +70 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/scanners.re +365 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/syntax_extension.c +149 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/syntax_extension.h +34 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/utf8.c +317 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/utf8.h +35 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/xml.c +182 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/suppressions +10 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/CMakeLists.txt +114 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/afl_test_cases/test.md +49 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/cmark-fuzz.c +58 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/cmark.py +105 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/entity_tests.py +67 -0
- 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 +38 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/extensions.txt +920 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/fuzzing_dictionary +67 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/normalize.py +194 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/pathological_tests.py +160 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/regression.txt +375 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/roundtrip_tests.py +50 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/run-cmark-fuzz +4 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/smart_punct.txt +177 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/spec.txt +10212 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/test/spec_tests.py +152 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/toolchain-mingw32.cmake +17 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/Dockerfile +41 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/appveyor-build.bat +13 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/make_entities_inc.py +32 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/mkcasefold.pl +22 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/xml2md.xsl +319 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/tools/xml2md_gfm.xsl +80 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/why-cmark-and-not-x.md +104 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.js +6 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.py +37 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.rb +15 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper.rkt +208 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/wrappers/wrapper_ext.py +109 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/CMakeLists.txt +160 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/Changes +372 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/License +20 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/Makefile.am +51 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/ReadMe.md +46 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/announcement.msg +89 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/bootstrap +3 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/cmake/config.h.in +4 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/configure.ac +73 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/doc/doxygen.cfg +222 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/docker/README.mkd +17 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/docker/alpine-3.7 +26 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/docker/fedora-25 +26 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/docker/ubuntu-14.04 +29 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/docker/ubuntu-16.04 +24 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/anchors.yaml +10 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/array.yaml +2 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/global-tag.yaml +14 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/json.yaml +1 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/mapping.yaml +2 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/numbers.yaml +1 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/strings.yaml +7 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/tags.yaml +7 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/examples/yaml-version.yaml +3 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/include/Makefile.am +17 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/include/yaml.h +1999 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/pkg/ReadMe.md +77 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/pkg/docker/Dockerfile +32 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/pkg/docker/output/ReadMe +1 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/pkg/docker/scripts/libyaml-dist.sh +23 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/regression-inputs/clusterfuzz-testcase-minimized-5607885063061504.yml +1 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/src/Makefile.am +4 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/src/api.c +1393 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/src/dumper.c +394 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/src/emitter.c +2358 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/src/loader.c +544 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/src/parser.c +1416 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/src/reader.c +469 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/src/scanner.c +3598 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/src/writer.c +141 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/src/yaml_private.h +684 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/CMakeLists.txt +27 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/Makefile.am +9 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/ReadMe.md +63 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-deconstructor-alt.c +800 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-deconstructor.c +1127 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-reformatter-alt.c +217 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/example-reformatter.c +202 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-all-tests.sh +29 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-dumper.c +314 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-emitter-test-suite.c +290 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-emitter.c +327 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-loader.c +63 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-parser-test-suite.c +196 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-parser.c +88 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/run-scanner.c +63 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/test-reader.c +354 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/tests/test-version.c +29 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/yaml-0.1.pc.in +10 -0
- data/ext/apex_ext/apex_src/vendor/libyaml/yamlConfig.cmake.in +16 -0
- data/ext/apex_ext/extconf.rb +103 -0
- data/lib/apex/configurable.rb +46 -0
- data/lib/apex/document.rb +66 -0
- data/lib/apex/version.rb +15 -0
- data/lib/apex.rb +28 -0
- metadata +544 -0
|
@@ -0,0 +1,620 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Apex Markdown Processor - Comprehensive Feature Test
|
|
3
|
+
author: Test Suite
|
|
4
|
+
date: 2025-12-05
|
|
5
|
+
version: 1.0
|
|
6
|
+
keywords: markdown, processor, test, benchmark
|
|
7
|
+
description: A comprehensive test document exercising all Apex features
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Apex Markdown Processor: Complete Feature Demonstration
|
|
11
|
+
|
|
12
|
+
This document exercises **every feature** of the Apex Markdown processor, providing both a comprehensive test and a real-world performance benchmark.
|
|
13
|
+
|
|
14
|
+
{{TOC:2-4}}
|
|
15
|
+
|
|
16
|
+
## Introduction and Metadata
|
|
17
|
+
|
|
18
|
+
The document begins with YAML metadata (extracted above). We can reference metadata variables like this:
|
|
19
|
+
|
|
20
|
+
- Title: [%title]
|
|
21
|
+
- Author: [%author]
|
|
22
|
+
- Version: [%version]
|
|
23
|
+
|
|
24
|
+
This demonstrates **metadata extraction** and **variable replacement**.
|
|
25
|
+
|
|
26
|
+
## Basic Markdown Syntax
|
|
27
|
+
|
|
28
|
+
### Text Formatting
|
|
29
|
+
|
|
30
|
+
This paragraph demonstrates *italic text*, **bold text**, ***bold italic***, ~~strikethrough text~~, and `inline code`. We can also use ==highlighted text== and {++inserted text++}.
|
|
31
|
+
|
|
32
|
+
### Typography Enhancements
|
|
33
|
+
|
|
34
|
+
Smart typography converts:
|
|
35
|
+
- Three dashes --- into em-dash
|
|
36
|
+
- Two dashes -- into en-dash
|
|
37
|
+
- Three dots... into ellipsis
|
|
38
|
+
- Quotes "like this" into smart quotes
|
|
39
|
+
- Guillemets << and >> for French quotes
|
|
40
|
+
|
|
41
|
+
### Lists and Tasks
|
|
42
|
+
|
|
43
|
+
Unordered list:
|
|
44
|
+
|
|
45
|
+
- First item
|
|
46
|
+
- Second item
|
|
47
|
+
- Nested item
|
|
48
|
+
- Another nested item
|
|
49
|
+
- Third item
|
|
50
|
+
|
|
51
|
+
Ordered list:
|
|
52
|
+
|
|
53
|
+
1. First step
|
|
54
|
+
2. Second step
|
|
55
|
+
1. Sub-step A
|
|
56
|
+
2. Sub-step B
|
|
57
|
+
3. Third step
|
|
58
|
+
|
|
59
|
+
Task list:
|
|
60
|
+
|
|
61
|
+
- [x] Completed task
|
|
62
|
+
- [ ] Pending task
|
|
63
|
+
- [x] Another completed task
|
|
64
|
+
- [ ] Future task
|
|
65
|
+
|
|
66
|
+
## Links and References
|
|
67
|
+
|
|
68
|
+
### Standard Links
|
|
69
|
+
|
|
70
|
+
Here's a [standard link](https://example.com "Example Site") and an autolink: https://github.com/apex/markdown
|
|
71
|
+
|
|
72
|
+
### Wiki Links
|
|
73
|
+
|
|
74
|
+
Navigate to [[Home]] or [[Documentation|Docs]] or [[API#Methods]].
|
|
75
|
+
|
|
76
|
+
### Footnotes
|
|
77
|
+
|
|
78
|
+
Here's a simple footnote[^1] and another one[^2]. We also support inline footnotes^[This is an inline footnote] and MMD inline footnotes[^This is an MMD style inline footnote with spaces].
|
|
79
|
+
|
|
80
|
+
[^1]: This is the first footnote with **formatted** content.
|
|
81
|
+
|
|
82
|
+
[^2]: This footnote has multiple paragraphs.
|
|
83
|
+
|
|
84
|
+
It can contain code blocks:
|
|
85
|
+
|
|
86
|
+
```python
|
|
87
|
+
def example():
|
|
88
|
+
return "footnote code"
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
And other block-level content!
|
|
92
|
+
|
|
93
|
+
## Code and Syntax
|
|
94
|
+
|
|
95
|
+
### Inline Code
|
|
96
|
+
|
|
97
|
+
Use `const variable = "value";` for inline code.
|
|
98
|
+
|
|
99
|
+
### Fenced Code Blocks
|
|
100
|
+
|
|
101
|
+
```javascript
|
|
102
|
+
// JavaScript example with syntax highlighting
|
|
103
|
+
function processMarkdown(input) {
|
|
104
|
+
const parser = new ApexParser();
|
|
105
|
+
return parser.convert(input);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
class MarkdownProcessor {
|
|
109
|
+
constructor(options) {
|
|
110
|
+
this.options = options;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
process(text) {
|
|
114
|
+
return this.transform(text);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
```python
|
|
120
|
+
# Python example
|
|
121
|
+
def fibonacci(n):
|
|
122
|
+
"""Calculate fibonacci number recursively"""
|
|
123
|
+
if n <= 1:
|
|
124
|
+
return n
|
|
125
|
+
return fibonacci(n-1) + fibonacci(n-2)
|
|
126
|
+
|
|
127
|
+
# List comprehension
|
|
128
|
+
squares = [x**2 for x in range(10)]
|
|
129
|
+
print(f"Squares: {squares}")
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
#!/bin/bash
|
|
134
|
+
# Shell script example
|
|
135
|
+
echo "Testing Apex processor"
|
|
136
|
+
for file in *.md; do
|
|
137
|
+
./apex "$file" > "${file%.md}.html"
|
|
138
|
+
done
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
## Mathematics
|
|
142
|
+
|
|
143
|
+
### Inline Math
|
|
144
|
+
|
|
145
|
+
The quadratic formula is $x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$ and Einstein's famous equation is $E = mc^2$.
|
|
146
|
+
|
|
147
|
+
### Display Math
|
|
148
|
+
|
|
149
|
+
$$
|
|
150
|
+
\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}
|
|
151
|
+
$$
|
|
152
|
+
|
|
153
|
+
$$
|
|
154
|
+
\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
|
|
155
|
+
$$
|
|
156
|
+
|
|
157
|
+
## Tables
|
|
158
|
+
|
|
159
|
+
### Basic Table
|
|
160
|
+
|
|
161
|
+
| Feature | CommonMark | GFM | MMD | Kramdown | Apex |
|
|
162
|
+
| -------------- | ---------- | --- | --- | -------- | ---- |
|
|
163
|
+
| Basic Markdown | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
164
|
+
| Tables | ❌ | ✅ | ✅ | ✅ | ✅ |
|
|
165
|
+
| Footnotes | ❌ | ❌ | ✅ | ✅ | ✅ |
|
|
166
|
+
| Math | ❌ | ❌ | ✅ | ✅ | ✅ |
|
|
167
|
+
| Metadata | ❌ | ❌ | ✅ | ✅ | ✅ |
|
|
168
|
+
| Attributes | ❌ | ❌ | ❌ | ✅ | ✅ |
|
|
169
|
+
|
|
170
|
+
### Advanced Table with Spans
|
|
171
|
+
|
|
172
|
+
#### Column Span (Empty Cells)
|
|
173
|
+
|
|
174
|
+
Empty cells merge with the previous cell (colspan):
|
|
175
|
+
|
|
176
|
+
| Header 1 | Header 2 | Header 3 | Header 4 |
|
|
177
|
+
| -------------- | ----------- | -------- | -------- |
|
|
178
|
+
| Regular | Regular | Regular | Regular |
|
|
179
|
+
| Span 3 columns ||| Regular |
|
|
180
|
+
| Regular | Span 2 cols || Regular |
|
|
181
|
+
|
|
182
|
+
#### Row Span (^^ Marker)
|
|
183
|
+
|
|
184
|
+
Use `^^` to merge cells vertically (rowspan):
|
|
185
|
+
|
|
186
|
+
| Name | Department | Project | Status |
|
|
187
|
+
| ------- | ----------- | -------- | ------ |
|
|
188
|
+
| Alice | Engineering | Alpha | Active |
|
|
189
|
+
| ^^ | ^^ | Beta | ^^ |
|
|
190
|
+
| ^^ | ^^ | Gamma | ^^ |
|
|
191
|
+
| Bob | Marketing | Campaign | Active |
|
|
192
|
+
| Charlie | Sales | Q4 | Active |
|
|
193
|
+
|
|
194
|
+
#### Combined Spans Example
|
|
195
|
+
|
|
196
|
+
This table combines both rowspan and colspan features, as well as per-cell alignment:
|
|
197
|
+
|
|
198
|
+
[Employee Performance Q4 2025]
|
|
199
|
+
|
|
200
|
+
| Department | Employee | Q1-Q2 Average | Q3 | Q4 | Overall |
|
|
201
|
+
| ----------: | -------- | ------------- | --- | ----- | ------- |
|
|
202
|
+
| Engineering | Alice | 93.5 | 94 | 96 | 94.25 |
|
|
203
|
+
| ^^ | Bob | 89.0 | 87 | 91 | 89.00 |
|
|
204
|
+
| Marketing | Charlie | Absent | | | 92.00 |
|
|
205
|
+
| Sales | Diana | 87.5 | 88 | 90 | 88.50 |
|
|
206
|
+
| ^^ | Eve | 93.0 | 95 | 93 | 93.50 |
|
|
207
|
+
{: .performance-table #q4-results}
|
|
208
|
+
|
|
209
|
+
## Blockquotes and Callouts
|
|
210
|
+
|
|
211
|
+
### Standard Blockquote
|
|
212
|
+
|
|
213
|
+
> This is a standard blockquote.
|
|
214
|
+
> It can span multiple lines.
|
|
215
|
+
>
|
|
216
|
+
> And contain multiple paragraphs.
|
|
217
|
+
|
|
218
|
+
### Callouts
|
|
219
|
+
|
|
220
|
+
> [!NOTE]
|
|
221
|
+
> This is an informational note callout. It provides helpful context.
|
|
222
|
+
|
|
223
|
+
> [!WARNING]
|
|
224
|
+
> This is a warning callout. Pay attention to this important information!
|
|
225
|
+
|
|
226
|
+
> [!TIP]
|
|
227
|
+
> This is a tip callout with useful advice for optimal results.
|
|
228
|
+
|
|
229
|
+
> [!IMPORTANT]
|
|
230
|
+
> This is an important callout that requires your attention.
|
|
231
|
+
|
|
232
|
+
> [!CAUTION]
|
|
233
|
+
> This is a caution callout indicating potential issues.
|
|
234
|
+
|
|
235
|
+
> [!NOTE]+ Collapsible Callout
|
|
236
|
+
> This callout starts expanded but can be collapsed.
|
|
237
|
+
> It contains multiple lines of content.
|
|
238
|
+
|
|
239
|
+
## Definition Lists
|
|
240
|
+
|
|
241
|
+
Markdown
|
|
242
|
+
: A lightweight markup language for creating formatted text.
|
|
243
|
+
: Created by John Gruber in 2004.
|
|
244
|
+
|
|
245
|
+
Apex
|
|
246
|
+
: A unified Markdown processor supporting multiple flavors.
|
|
247
|
+
: Built on cmark-gfm with extensive custom extensions.
|
|
248
|
+
|
|
249
|
+
CommonMark
|
|
250
|
+
: A standard specification for Markdown syntax.
|
|
251
|
+
|
|
252
|
+
It can contain block-level content like paragraphs.
|
|
253
|
+
|
|
254
|
+
```
|
|
255
|
+
code blocks
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
And more!
|
|
259
|
+
|
|
260
|
+
## Critic Markup
|
|
261
|
+
|
|
262
|
+
Here's some text with {++additions++} and {--deletions--}.
|
|
263
|
+
|
|
264
|
+
You can also show {~~replacements~>substitutions~~} in your text.
|
|
265
|
+
|
|
266
|
+
{==Highlighted text==} draws attention to important content.
|
|
267
|
+
|
|
268
|
+
{>>This is a comment that explains the changes<<}
|
|
269
|
+
|
|
270
|
+
## Abbreviations
|
|
271
|
+
|
|
272
|
+
This document uses HTML, CSS, and JS extensively. The MMD processor is faster than the GFM processor, but the Apex processor is the fastest.
|
|
273
|
+
|
|
274
|
+
*[HTML]: HyperText Markup Language
|
|
275
|
+
*[CSS]: Cascading Style Sheets
|
|
276
|
+
*[JS]: JavaScript
|
|
277
|
+
*[MMD]: MultiMarkdown
|
|
278
|
+
*[GFM]: GitHub Flavored Markdown
|
|
279
|
+
|
|
280
|
+
You can also use [>API] inline or [>(URL) Uniform Resource Locator] abbreviations.
|
|
281
|
+
|
|
282
|
+
## Emoji Support
|
|
283
|
+
|
|
284
|
+
Apex supports GitHub emoji :rocket: :sparkles: :zap: :fire: :tada:
|
|
285
|
+
|
|
286
|
+
Common emoji: :smile: :heart: :thumbsup: :star: :warning:
|
|
287
|
+
|
|
288
|
+
Tech emoji: :computer: :keyboard: :bulb: :memo: :book:
|
|
289
|
+
|
|
290
|
+
## Attributes and Styling {: #attributes-section}
|
|
291
|
+
|
|
292
|
+
### Block Attributes
|
|
293
|
+
|
|
294
|
+
This is a paragraph with an ID and classes.
|
|
295
|
+
|
|
296
|
+
{: #special-para .important .highlighted}
|
|
297
|
+
|
|
298
|
+
#### Heading with Attributes {: .section-header #methods}
|
|
299
|
+
|
|
300
|
+
### Span Attributes
|
|
301
|
+
|
|
302
|
+
This is text with styled content in the middle.
|
|
303
|
+
|
|
304
|
+
Note: Inline IAL syntax like [text]{: .class} is not yet implemented.
|
|
305
|
+
|
|
306
|
+
## Special Markers
|
|
307
|
+
|
|
308
|
+
### Page Breaks
|
|
309
|
+
|
|
310
|
+
Content before page break.
|
|
311
|
+
|
|
312
|
+
<!--BREAK-->
|
|
313
|
+
|
|
314
|
+
Content after page break (useful for printing/PDF).
|
|
315
|
+
|
|
316
|
+
{::pagebreak /}
|
|
317
|
+
|
|
318
|
+
Another page break using Kramdown syntax.
|
|
319
|
+
|
|
320
|
+
### Autoscroll Pauses
|
|
321
|
+
|
|
322
|
+
This is content that will pause for 5 seconds.
|
|
323
|
+
|
|
324
|
+
<!--PAUSE:5-->
|
|
325
|
+
|
|
326
|
+
This content appears after the pause (useful for presentations).
|
|
327
|
+
|
|
328
|
+
## End of Block Markers
|
|
329
|
+
|
|
330
|
+
This list item ends here
|
|
331
|
+
^
|
|
332
|
+
And this starts a new paragraph despite no blank line.
|
|
333
|
+
|
|
334
|
+
## HTML with Markdown
|
|
335
|
+
|
|
336
|
+
<div class="wrapper" markdown="1">
|
|
337
|
+
|
|
338
|
+
## This is Markdown inside HTML
|
|
339
|
+
|
|
340
|
+
You can use **all** markdown features inside HTML blocks if you set `markdown="1"`.
|
|
341
|
+
|
|
342
|
+
- Lists work
|
|
343
|
+
- So do other features
|
|
344
|
+
|
|
345
|
+
</div>
|
|
346
|
+
|
|
347
|
+
<span markdown="span">This is *inline* markdown in HTML</span>
|
|
348
|
+
|
|
349
|
+
## File Inclusion
|
|
350
|
+
|
|
351
|
+
### Markdown Include
|
|
352
|
+
|
|
353
|
+
<<[test_basic.md]
|
|
354
|
+
|
|
355
|
+
### Code Include
|
|
356
|
+
|
|
357
|
+
### Raw HTML Include
|
|
358
|
+
|
|
359
|
+
<!--{include.html}-->
|
|
360
|
+
|
|
361
|
+
## Horizontal Rules
|
|
362
|
+
|
|
363
|
+
---
|
|
364
|
+
|
|
365
|
+
***
|
|
366
|
+
|
|
367
|
+
___
|
|
368
|
+
|
|
369
|
+
## Extended Features Stress Test
|
|
370
|
+
|
|
371
|
+
### Nested Structures
|
|
372
|
+
|
|
373
|
+
1. Outer list item with **bold**
|
|
374
|
+
|
|
375
|
+
- Nested item with *italic*
|
|
376
|
+
|
|
377
|
+
- Deeply nested with `code`
|
|
378
|
+
|
|
379
|
+
> And a blockquote
|
|
380
|
+
>
|
|
381
|
+
> With multiple lines
|
|
382
|
+
|
|
383
|
+
2. Complex list item
|
|
384
|
+
|
|
385
|
+
```javascript
|
|
386
|
+
// Code in list
|
|
387
|
+
function nested() {
|
|
388
|
+
return "complex";
|
|
389
|
+
}
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
- Back to nested lists
|
|
393
|
+
- With [links](https://example.com)
|
|
394
|
+
|
|
395
|
+
### Mixed Content
|
|
396
|
+
|
|
397
|
+
Here's a paragraph with *italic*, **bold**, `code`, [link](url), , footnote[^3], math $x^2$, emoji :smile:, ~~strike~~, ==highlight==, {++insert++}, wiki [[link]], abbreviation using HTML, and [styled text]{: .highlight}.
|
|
398
|
+
|
|
399
|
+
[^3]: Complex footnote with **formatting**, `code`, [links](url), and more!
|
|
400
|
+
|
|
401
|
+
## Inline Attribute Lists
|
|
402
|
+
|
|
403
|
+
### Image with Attributes
|
|
404
|
+
|
|
405
|
+
{: .center width="300" #logo}
|
|
406
|
+
|
|
407
|
+
### Link with Attributes
|
|
408
|
+
|
|
409
|
+
[Visit Docs](https://docs.example.com){: .external target="_blank" rel="noopener"}
|
|
410
|
+
|
|
411
|
+
## Attribute List Definitions
|
|
412
|
+
|
|
413
|
+
{:toc: .table-of-contents #toc}
|
|
414
|
+
{:note: .callout .callout-note}
|
|
415
|
+
{:warn: .callout .callout-warning}
|
|
416
|
+
|
|
417
|
+
Apply attributes by reference: {:toc}
|
|
418
|
+
|
|
419
|
+
## Large Table for Performance Testing
|
|
420
|
+
|
|
421
|
+
| ID | Name | Department | Email | Phone | Location | Status | Join Date |
|
|
422
|
+
| --- | --------------- | ----------- | ------------------ | -------- | ----------- | -------- | ---------- |
|
|
423
|
+
| 001 | Alice Johnson | Engineering | alice@example.com | 555-0101 | New York | Active | 2020-01-15 |
|
|
424
|
+
| 002 | Bob Smith | Marketing | bob@example.com | 555-0102 | Chicago | Active | 2020-03-22 |
|
|
425
|
+
| 003 | Carol Williams | Sales | carol@example.com | 555-0103 | Los Angeles | Active | 2020-05-10 |
|
|
426
|
+
| 004 | David Brown | Engineering | david@example.com | 555-0104 | New York | Active | 2020-07-01 |
|
|
427
|
+
| 005 | Eve Davis | HR | eve@example.com | 555-0105 | Boston | Active | 2020-09-15 |
|
|
428
|
+
| 006 | Frank Miller | Engineering | frank@example.com | 555-0106 | Seattle | Active | 2021-01-20 |
|
|
429
|
+
| 007 | Grace Wilson | Marketing | grace@example.com | 555-0107 | Austin | Active | 2021-03-08 |
|
|
430
|
+
| 008 | Henry Moore | Sales | henry@example.com | 555-0108 | Denver | Active | 2021-05-12 |
|
|
431
|
+
| 009 | Iris Taylor | Engineering | iris@example.com | 555-0109 | Portland | Active | 2021-07-25 |
|
|
432
|
+
| 010 | Jack Anderson | Finance | jack@example.com | 555-0110 | Miami | Active | 2021-09-30 |
|
|
433
|
+
| 011 | Karen Thomas | HR | karen@example.com | 555-0111 | Dallas | Active | 2022-01-15 |
|
|
434
|
+
| 012 | Larry Jackson | Engineering | larry@example.com | 555-0112 | San Jose | Active | 2022-03-20 |
|
|
435
|
+
| 013 | Mary White | Marketing | mary@example.com | 555-0113 | Phoenix | Active | 2022-05-08 |
|
|
436
|
+
| 014 | Nathan Harris | Sales | nathan@example.com | 555-0114 | Atlanta | On Leave | 2022-07-14 |
|
|
437
|
+
| 015 | Olivia Martin | Engineering | olivia@example.com | 555-0115 | Seattle | Active | 2022-09-01 |
|
|
438
|
+
| 016 | Paul Thompson | Finance | paul@example.com | 555-0116 | Houston | Active | 2023-01-10 |
|
|
439
|
+
| 017 | Quinn Garcia | HR | quinn@example.com | 555-0117 | Tampa | Active | 2023-03-15 |
|
|
440
|
+
| 018 | Rachel Martinez | Engineering | rachel@example.com | 555-0118 | Orlando | Active | 2023-05-20 |
|
|
441
|
+
| 019 | Sam Robinson | Marketing | sam@example.com | 555-0119 | Vegas | Active | 2023-07-12 |
|
|
442
|
+
| 020 | Tina Clark | Sales | tina@example.com | 555-0120 | Nashville | Active | 2023-09-25 |
|
|
443
|
+
|
|
444
|
+
## Repeated Sections for Volume
|
|
445
|
+
|
|
446
|
+
### Section A: Engineering Documentation
|
|
447
|
+
|
|
448
|
+
The engineering team uses various tools and technologies:
|
|
449
|
+
|
|
450
|
+
```python
|
|
451
|
+
class Engineer:
|
|
452
|
+
def __init__(self, name, specialty):
|
|
453
|
+
self.name = name
|
|
454
|
+
self.specialty = specialty
|
|
455
|
+
|
|
456
|
+
def code(self, language):
|
|
457
|
+
return f"{self.name} is coding in {language}"
|
|
458
|
+
|
|
459
|
+
def review(self, pull_request):
|
|
460
|
+
"""Review code changes"""
|
|
461
|
+
if self.validate(pull_request):
|
|
462
|
+
return "LGTM"
|
|
463
|
+
return "Needs changes"
|
|
464
|
+
```
|
|
465
|
+
|
|
466
|
+
Key technologies:
|
|
467
|
+
|
|
468
|
+
- **Frontend**: React, Vue, Angular
|
|
469
|
+
- **Backend**: Node.js, Python, Go
|
|
470
|
+
- **Database**: PostgreSQL, MongoDB, Redis
|
|
471
|
+
- **DevOps**: Docker, Kubernetes, CI/CD
|
|
472
|
+
|
|
473
|
+
### Section B: Marketing Campaigns
|
|
474
|
+
|
|
475
|
+
Marketing metrics for Q4:
|
|
476
|
+
|
|
477
|
+
| Campaign | Impressions | Clicks | CTR | Conversions | ROI |
|
|
478
|
+
| ------------ | ----------- | ------ | ---- | ----------- | ---- |
|
|
479
|
+
| Social Media | 1,250,000 | 45,000 | 3.6% | 2,100 | 245% |
|
|
480
|
+
| Email | 500,000 | 35,000 | 7.0% | 1,800 | 320% |
|
|
481
|
+
| Search Ads | 850,000 | 28,000 | 3.3% | 1,400 | 180% |
|
|
482
|
+
| Display | 2,100,000 | 52,000 | 2.5% | 1,900 | 150% |
|
|
483
|
+
| Content | 650,000 | 41,000 | 6.3% | 2,300 | 410% |
|
|
484
|
+
|
|
485
|
+
> [!TIP]
|
|
486
|
+
> Content marketing shows the highest ROI. Consider increasing budget allocation.
|
|
487
|
+
|
|
488
|
+
### Section C: Sales Performance
|
|
489
|
+
|
|
490
|
+
Sales data visualization and analysis:
|
|
491
|
+
|
|
492
|
+
```javascript
|
|
493
|
+
const salesData = {
|
|
494
|
+
regions: ['North', 'South', 'East', 'West'],
|
|
495
|
+
q1: [125000, 98000, 145000, 112000],
|
|
496
|
+
q2: [142000, 105000, 158000, 128000],
|
|
497
|
+
q3: [138000, 118000, 162000, 135000],
|
|
498
|
+
q4: [165000, 132000, 178000, 149000]
|
|
499
|
+
};
|
|
500
|
+
|
|
501
|
+
function calculateGrowth(data) {
|
|
502
|
+
return data.map((val, idx) => {
|
|
503
|
+
if (idx === 0) return 0;
|
|
504
|
+
return ((val - data[idx-1]) / data[idx-1] * 100).toFixed(2);
|
|
505
|
+
});
|
|
506
|
+
}
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
### Section D: Technical Specifications
|
|
510
|
+
|
|
511
|
+
API
|
|
512
|
+
: Application Programming Interface for system integration.
|
|
513
|
+
|
|
514
|
+
REST
|
|
515
|
+
: Representational State Transfer architecture.
|
|
516
|
+
|
|
517
|
+
GraphQL
|
|
518
|
+
: Query language for APIs providing flexible data fetching.
|
|
519
|
+
|
|
520
|
+
WebSocket
|
|
521
|
+
: Protocol for real-time bidirectional communication.
|
|
522
|
+
|
|
523
|
+
OAuth
|
|
524
|
+
: Open standard for access delegation and authorization.
|
|
525
|
+
|
|
526
|
+
*[API]: Application Programming Interface
|
|
527
|
+
*[REST]: Representational State Transfer
|
|
528
|
+
*[GraphQL]: Graph Query Language
|
|
529
|
+
|
|
530
|
+
### Section E: Complex Mathematics
|
|
531
|
+
|
|
532
|
+
The Fourier transform is defined as:
|
|
533
|
+
|
|
534
|
+
$$
|
|
535
|
+
\hat{f}(\xi) = \int_{-\infty}^{\infty} f(x) e^{-2\pi i x \xi} dx
|
|
536
|
+
$$
|
|
537
|
+
|
|
538
|
+
Taylor series expansion:
|
|
539
|
+
|
|
540
|
+
$$
|
|
541
|
+
f(x) = \sum_{n=0}^{\infty} \frac{f^{(n)}(a)}{n!}(x-a)^n
|
|
542
|
+
$$
|
|
543
|
+
|
|
544
|
+
Matrix operations: $\mathbf{A}\mathbf{x} = \mathbf{b}$ where $\mathbf{A} \in \mathbb{R}^{m \times n}$.
|
|
545
|
+
|
|
546
|
+
## Performance Testing Sections
|
|
547
|
+
|
|
548
|
+
### Repeated Content Block 1
|
|
549
|
+
|
|
550
|
+
This section contains {++new content++} with {--removed parts--} and {~~changes~>improvements~~}.
|
|
551
|
+
|
|
552
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua[^perf1]. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.
|
|
553
|
+
|
|
554
|
+
- Item with **bold** and *italic*
|
|
555
|
+
- Item with `code` and [link](url)
|
|
556
|
+
- Item with :emoji: and ~~strike~~
|
|
557
|
+
|
|
558
|
+
[^perf1]: Performance test footnote with extensive content including lists, code, and more.
|
|
559
|
+
|
|
560
|
+
### Repeated Content Block 2
|
|
561
|
+
|
|
562
|
+
Mathematical formulas: $E = mc^2$, $a^2 + b^2 = c^2$, $\sum_{i=1}^{n} i = \frac{n(n+1)}{2}$
|
|
563
|
+
|
|
564
|
+
```bash
|
|
565
|
+
#!/bin/bash
|
|
566
|
+
for i in {1..100}; do
|
|
567
|
+
echo "Processing item $i"
|
|
568
|
+
./process.sh "$i"
|
|
569
|
+
done
|
|
570
|
+
```
|
|
571
|
+
|
|
572
|
+
> [!WARNING]
|
|
573
|
+
> This is a performance testing warning that contains multiple lines and demonstrates
|
|
574
|
+
> callout rendering performance with extended content.
|
|
575
|
+
|
|
576
|
+
### Repeated Content Block 3
|
|
577
|
+
|
|
578
|
+
| Col1 | Col2 | Col3 | Col4 | Col5 | Col6 | Col7 | Col8 |
|
|
579
|
+
| ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
|
|
580
|
+
| A1 | B1 | C1 | D1 | E1 | F1 | G1 | H1 |
|
|
581
|
+
| A2 | B2 | C2 | D2 | E2 | F2 | G2 | H2 |
|
|
582
|
+
| A3 | B3 | C3 | D3 | E3 | F3 | G3 | H3 |
|
|
583
|
+
| A4 | B4 | C4 | D4 | E4 | F4 | G4 | H4 |
|
|
584
|
+
| A5 | B5 | C5 | D5 | E5 | F5 | G5 | H5 |
|
|
585
|
+
|
|
586
|
+
## Conclusion
|
|
587
|
+
|
|
588
|
+
This comprehensive document has tested:
|
|
589
|
+
|
|
590
|
+
1. ✅ Basic Markdown (headings, paragraphs, lists)
|
|
591
|
+
2. ✅ Extended syntax (tables, footnotes, task lists)
|
|
592
|
+
3. ✅ Metadata and variables
|
|
593
|
+
4. ✅ Wiki links and autolinks
|
|
594
|
+
5. ✅ Mathematics (inline and display)
|
|
595
|
+
6. ✅ Critic Markup (all types)
|
|
596
|
+
7. ✅ Callouts (multiple types)
|
|
597
|
+
8. ✅ Definition lists with block content
|
|
598
|
+
9. ✅ Abbreviations (multiple syntaxes)
|
|
599
|
+
10. ✅ Emoji support
|
|
600
|
+
11. ✅ Attributes (IAL and ALD)
|
|
601
|
+
12. ✅ Special markers
|
|
602
|
+
13. ✅ Smart typography
|
|
603
|
+
14. ✅ Advanced tables (spans and captions)
|
|
604
|
+
15. ✅ Code blocks with syntax highlighting
|
|
605
|
+
16. ✅ HTML with markdown attributes
|
|
606
|
+
17. ✅ File includes
|
|
607
|
+
18. ✅ And much more!
|
|
608
|
+
|
|
609
|
+
---
|
|
610
|
+
|
|
611
|
+
**Document Statistics**:
|
|
612
|
+
- Sections: 20+
|
|
613
|
+
- Tables: 10+
|
|
614
|
+
- Code blocks: 15+
|
|
615
|
+
- Footnotes: 5+
|
|
616
|
+
- Mathematical formulas: 10+
|
|
617
|
+
- Special features: All of them!
|
|
618
|
+
|
|
619
|
+
*Generated: 2025-12-05 | Version: 1.0 | Format: Markdown*
|
|
620
|
+
|