apex-ruby 1.0.17 → 1.0.20
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 +17 -3
- data/ext/apex_ext/apex_ext.c +260 -91
- data/ext/apex_ext/apex_src/CHANGELOG.md +440 -0
- data/ext/apex_ext/apex_src/CMakeLists.txt +15 -1
- data/ext/apex_ext/apex_src/Formula/apex.rb +7 -2
- data/ext/apex_ext/apex_src/Package.swift +15 -4
- data/ext/apex_ext/apex_src/README.md +94 -35
- data/ext/apex_ext/apex_src/VERSION +1 -1
- data/ext/apex_ext/apex_src/apex-debug.log +4 -0
- data/ext/apex_ext/apex_src/apex.code-workspace +38 -0
- data/ext/apex_ext/apex_src/apex.taskpaper +12 -0
- data/ext/apex_ext/apex_src/apex_deflist_debug.log +25 -0
- data/ext/apex_ext/apex_src/buildnotes.md +1435 -0
- data/ext/apex_ext/apex_src/cli/main.c +262 -33
- data/ext/apex_ext/apex_src/debug.log +7 -0
- data/ext/apex_ext/apex_src/docs/CITATIONS_EXAMPLES.md +274 -0
- data/ext/apex_ext/apex_src/docs/CITATIONS_IMPLEMENTATION_PLAN.md +749 -0
- data/ext/apex_ext/apex_src/docs/CITATIONS_PLAN.md +744 -0
- data/ext/apex_ext/apex_src/docs/INDEX_IMPLEMENTATION_ANALYSIS.md +382 -0
- data/ext/apex_ext/apex_src/docs/plans/2025-02-27-man-page-output-implementation.md +351 -0
- data/ext/apex_ext/apex_src/docs/superpowers/plans/2026-07-12-toc-output-format.md +745 -0
- data/ext/apex_ext/apex_src/docs/superpowers/plans/2026-07-18-bear-image-attributes.md +829 -0
- data/ext/apex_ext/apex_src/docs/superpowers/plans/2026-07-19-apex-node-npm.md +1148 -0
- data/ext/apex_ext/apex_src/docs/superpowers/specs/2026-07-12-toc-output-format-design.md +161 -0
- data/ext/apex_ext/apex_src/docs/superpowers/specs/2026-07-18-bear-image-attributes-design.md +184 -0
- data/ext/apex_ext/apex_src/docs/superpowers/specs/2026-07-19-apex-node-npm-design.md +211 -0
- data/ext/apex_ext/apex_src/documentation/app-settings-table.md +67 -0
- data/ext/apex_ext/apex_src/documentation/app-transformed/Citations.md +340 -0
- data/ext/apex_ext/apex_src/documentation/app-transformed/Credits.md +11 -0
- data/ext/apex_ext/apex_src/documentation/app-transformed/Header-IDs.md +234 -0
- data/ext/apex_ext/apex_src/documentation/app-transformed/Inline-Attribute-Lists.md +516 -0
- data/ext/apex_ext/apex_src/documentation/app-transformed/Metadata-Transforms.md +461 -0
- data/ext/apex_ext/apex_src/documentation/app-transformed/Modes.md +193 -0
- data/ext/apex_ext/apex_src/documentation/app-transformed/Multi-File-Documents.md +201 -0
- data/ext/apex_ext/apex_src/documentation/app-transformed/Plugins.md +678 -0
- data/ext/apex_ext/apex_src/documentation/app-transformed/Syntax.md +1367 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex Command Line Options.cheatsheet.txt +6 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/C-API.html +774 -300
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Callouts.html +1194 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Citations.html +416 -216
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Command-Line-Options.html +3544 -1094
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Configuration.html +371 -97
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Credits.html +153 -23
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Examples.html +358 -124
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Filters.html +1656 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Generating-Man-Pages.html +1226 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Getting-Started.html +201 -56
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Header-IDs.html +279 -109
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Home.html +200 -53
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Indices.html +2327 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Inline-Attribute-Lists.html +690 -271
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Installation.html +201 -55
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Limitations-and-Roadmap.html +238 -68
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Metadata-Transforms.html +421 -221
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Modes.html +340 -78
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Multi-File-Documents.html +251 -86
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Multi-Format-Images.html +1362 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Pandoc-Integration.html +277 -90
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Plugins.html +673 -346
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Quarto-Mode.html +1405 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Rendering-Markdown-In-Terminal.html +1902 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Syntax.html +1939 -1698
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Tables.html +1781 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Troubleshooting.html +315 -140
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Usage.html +307 -113
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Using-Apex-with-Jekyll.html +1132 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Writing-Tests.html +1754 -0
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Xcode-Integration.html +872 -376
- 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/html/apex-app-docs.html +8746 -0
- data/ext/apex_ext/apex_src/documentation/shared_styles.css +20 -15
- data/ext/apex_ext/apex_src/documentation/transform_for_app.md +55 -0
- data/ext/apex_ext/apex_src/escaping-repro.md +103 -0
- data/ext/apex_ext/apex_src/examples/quick-actions/Markdown to RTF.workflow/Contents/Info.plist +8 -0
- 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 +547 -0
- 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 +33 -0
- data/ext/apex_ext/apex_src/include/apex/apex.h +92 -6
- data/ext/apex_ext/apex_src/include/apex/ast_rtf.h +23 -0
- data/ext/apex_ext/apex_src/include/apex/ast_terminal.h +6 -0
- data/ext/apex_ext/apex_src/include/apex/module.modulemap +5 -0
- data/ext/apex_ext/apex_src/include/apex/plugins.h +105 -0
- data/ext/apex_ext/apex_src/include/apexc.h +1 -0
- data/ext/apex_ext/apex_src/man/apex.1 +82 -78
- data/ext/apex_ext/apex_src/man/apex.1.md +81 -4
- data/ext/apex_ext/apex_src/objc/Apex.swift +73 -0
- data/ext/apex_ext/apex_src/objc/ApexPlugins.swift +79 -0
- data/ext/apex_ext/apex_src/objc/NSString+Apex.h +83 -5
- data/ext/apex_ext/apex_src/objc/NSString+Apex.m +244 -1
- data/ext/apex_ext/apex_src/objc/NSString+ApexPlugins.h +76 -0
- data/ext/apex_ext/apex_src/objc/NSString+ApexPlugins.m +169 -0
- data/ext/apex_ext/apex_src/output.html +87 -0
- data/ext/apex_ext/apex_src/plans/quarto-mode.md +442 -0
- data/ext/apex_ext/apex_src/src/_README.md +85 -32
- data/ext/apex_ext/apex_src/src/apex.c +770 -200
- data/ext/apex_ext/apex_src/src/ast_rtf.c +848 -0
- data/ext/apex_ext/apex_src/src/ast_terminal.c +184 -7
- data/ext/apex_ext/apex_src/src/extensions/abbreviations.c +10 -3
- data/ext/apex_ext/apex_src/src/extensions/advanced_tables.c +7 -11
- data/ext/apex_ext/apex_src/src/extensions/bear_image_attrs.c +467 -0
- data/ext/apex_ext/apex_src/src/extensions/bear_image_attrs.h +27 -0
- data/ext/apex_ext/apex_src/src/extensions/callouts.c +400 -4
- data/ext/apex_ext/apex_src/src/extensions/callouts.h +15 -5
- data/ext/apex_ext/apex_src/src/extensions/citations.c +26 -5
- data/ext/apex_ext/apex_src/src/extensions/code_fence_attrs.c +632 -0
- data/ext/apex_ext/apex_src/src/extensions/code_fence_attrs.h +22 -0
- data/ext/apex_ext/apex_src/src/extensions/concordance.c +632 -0
- data/ext/apex_ext/apex_src/src/extensions/definition_list.c +129 -15
- data/ext/apex_ext/apex_src/src/extensions/grid_tables.c +1050 -121
- data/ext/apex_ext/apex_src/src/extensions/html_markdown.c +569 -16
- data/ext/apex_ext/apex_src/src/extensions/ial.c +502 -52
- data/ext/apex_ext/apex_src/src/extensions/ial.h +2 -1
- data/ext/apex_ext/apex_src/src/extensions/includes.c +532 -33
- data/ext/apex_ext/apex_src/src/extensions/includes.h +7 -1
- data/ext/apex_ext/apex_src/src/extensions/index.c +1427 -140
- data/ext/apex_ext/apex_src/src/extensions/index.h +28 -0
- data/ext/apex_ext/apex_src/src/extensions/metadata.c +200 -161
- data/ext/apex_ext/apex_src/src/extensions/quarto_diagrams.c +251 -0
- data/ext/apex_ext/apex_src/src/extensions/quarto_diagrams.h +22 -0
- data/ext/apex_ext/apex_src/src/extensions/quarto_lists.c +624 -0
- data/ext/apex_ext/apex_src/src/extensions/quarto_lists.h +35 -0
- data/ext/apex_ext/apex_src/src/extensions/quarto_polish.c +264 -0
- data/ext/apex_ext/apex_src/src/extensions/quarto_polish.h +23 -0
- data/ext/apex_ext/apex_src/src/extensions/quarto_shortcodes.c +307 -0
- data/ext/apex_ext/apex_src/src/extensions/quarto_shortcodes.h +21 -0
- data/ext/apex_ext/apex_src/src/extensions/raw_content.c +351 -0
- data/ext/apex_ext/apex_src/src/extensions/raw_content.h +20 -0
- data/ext/apex_ext/apex_src/src/extensions/relaxed_tables.c +117 -3
- data/ext/apex_ext/apex_src/src/extensions/special_markers.c +53 -0
- data/ext/apex_ext/apex_src/src/extensions/syntax_highlight.c +23 -1
- data/ext/apex_ext/apex_src/src/extensions/table_html_postprocess.c +83 -92
- data/ext/apex_ext/apex_src/src/extensions/toc.c +446 -25
- data/ext/apex_ext/apex_src/src/extensions/toc.h +26 -1
- data/ext/apex_ext/apex_src/src/extensions/wiki_links.c +28 -0
- data/ext/apex_ext/apex_src/src/html_renderer.c +387 -17
- data/ext/apex_ext/apex_src/src/plugin_catalog.c +517 -0
- data/ext/apex_ext/apex_src/src/plugins_remote.c +88 -14
- data/ext/apex_ext/apex_src/src/plugins_remote.h +34 -0
- data/ext/apex_ext/apex_src/src/pretty_html.c +6 -1
- data/ext/apex_ext/apex_src/tests/fixtures/comprehensive_test.md +21 -0
- data/ext/apex_ext/apex_src/tests/fixtures/images/bear_image_attributes.md +10 -0
- data/ext/apex_ext/apex_src/tests/fixtures/includes/sections.md +19 -0
- data/ext/apex_ext/apex_src/tests/fixtures/includes/sections.txt +11 -0
- data/ext/apex_ext/apex_src/tests/fixtures/minimal_pb.md +2 -0
- data/ext/apex_ext/apex_src/tests/fixtures/obsidian-callouts.md +46 -0
- data/ext/apex_ext/apex_src/tests/fixtures/pagebreak_html_repro.md +5 -0
- data/ext/apex_ext/apex_src/tests/fixtures/python-callouts.md +47 -0
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/callouts.md +3 -0
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/code-attrs.md +3 -0
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/diagrams.md +8 -0
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/lists.md +19 -0
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/raw-content.md +5 -0
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/shortcodes.md +7 -0
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/smoke.md +81 -0
- data/ext/apex_ext/apex_src/tests/fixtures/quarto/spans.md +5 -0
- data/ext/apex_ext/apex_src/tests/fixtures/quarto-callouts.md +47 -0
- data/ext/apex_ext/apex_src/tests/fixtures/speed.md +192 -0
- data/ext/apex_ext/apex_src/tests/fixtures/tables/grid-tables.md +37 -0
- data/ext/apex_ext/apex_src/tests/paginate_cli_test.sh +16 -0
- data/ext/apex_ext/apex_src/tests/test_bear_image_attrs.c +301 -0
- data/ext/apex_ext/apex_src/tests/test_concordance.tsv +4 -0
- data/ext/apex_ext/apex_src/tests/test_escaping_repro.c +82 -0
- data/ext/apex_ext/apex_src/tests/test_extensions.c +821 -1
- data/ext/apex_ext/apex_src/tests/test_ial.c +7 -0
- data/ext/apex_ext/apex_src/tests/test_marked_integration.c +25 -0
- data/ext/apex_ext/apex_src/tests/test_metadata.c +129 -0
- data/ext/apex_ext/apex_src/tests/test_output.c +568 -2
- data/ext/apex_ext/apex_src/tests/test_runner.c +11 -0
- data/ext/apex_ext/apex_src/tests/test_tables.c +420 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/CMakeLists.txt +1 -1
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/autolink.c +77 -1
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/extensions/table.c +135 -5
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/blocks.c +56 -1
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/config.h +38 -0
- data/ext/apex_ext/apex_src/vendor/cmark-gfm/src/main.c +1 -1
- 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/extensions.txt +69 -0
- data/ext/apex_ext/apex_src/xcode_build/CMakeScripts/ReRunCMake.make +74 -0
- data/ext/apex_ext/apex_src/xcode_build/CTestTestfile.cmake +22 -0
- 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 +44 -0
- data/ext/apex_ext/apex_src/xcode_build/Debug/Apex.framework/Versions/A/_CodeSignature/CodeResources +128 -0
- data/ext/apex_ext/apex_src/xcode_build/apex.xcodeproj/project.pbxproj +5118 -0
- data/ext/apex_ext/apex_src/xcode_build/apex.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
- 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 +8 -0
- data/ext/apex_ext/apex_src/xcode_build/apex.xcodeproj/xcuserdata/ttscoff.xcuserdatad/xcschemes/xcschememanagement.plist +99 -0
- data/ext/apex_ext/apex_src/xcode_build/cmake_install.cmake +452 -0
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/CMakeScripts/ReRunCMake.make +52 -0
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/cmake_install.cmake +55 -0
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/cmark-gfm.xcodeproj/project.pbxproj +2455 -0
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/cmark-gfm.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/extensions/cmake_install.cmake +171 -0
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/man/cmake_install.cmake +55 -0
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/cmake_install.cmake +220 -0
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/cmark-gfm_export.h +43 -0
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/cmark-gfm_version.h +7 -0
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/config.h +76 -0
- data/ext/apex_ext/apex_src/xcode_build/vendor/cmark-gfm/src/libcmark-gfm.pc +10 -0
- data/ext/apex_ext/extconf.rb +35 -0
- data/lib/apex/version.rb +2 -2
- metadata +117 -2
- data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/tempOptimizedIndex.dsidx +0 -0
data/ext/apex_ext/apex_src/documentation/docsets/Apex.docset/Contents/Resources/Documents/Modes.html
CHANGED
|
@@ -5,8 +5,97 @@
|
|
|
5
5
|
|
|
6
6
|
<meta charset="UTF-8">
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
8
|
-
<meta name="generator" content="Apex
|
|
8
|
+
<meta name="generator" content="Apex 1.1.12">
|
|
9
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>
|
|
10
99
|
<style>
|
|
11
100
|
body {
|
|
12
101
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
|
|
@@ -35,10 +124,52 @@
|
|
|
35
124
|
ins { background: #d4fcbc; text-decoration: none; }
|
|
36
125
|
del { background: #fbb6c2; text-decoration: line-through; }
|
|
37
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; }
|
|
38
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
|
+
}
|
|
39
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
|
+
|
|
40
165
|
<style>
|
|
41
|
-
|
|
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) */
|
|
42
173
|
body {
|
|
43
174
|
-webkit-font-smoothing: antialiased;
|
|
44
175
|
-moz-osx-font-smoothing: grayscale;
|
|
@@ -48,6 +179,11 @@ body {
|
|
|
48
179
|
line-height: 1.65;
|
|
49
180
|
color: #1e293b;
|
|
50
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;
|
|
51
187
|
}
|
|
52
188
|
|
|
53
189
|
/* Sidebar / Main TOC - wider on larger screens */
|
|
@@ -56,9 +192,10 @@ body {
|
|
|
56
192
|
position: fixed;
|
|
57
193
|
left: 0;
|
|
58
194
|
top: 0;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
195
|
+
box-sizing: border-box;
|
|
196
|
+
width: var(--sidebar-width);
|
|
197
|
+
min-width: var(--sidebar-width);
|
|
198
|
+
max-width: var(--sidebar-width);
|
|
62
199
|
height: 100vh;
|
|
63
200
|
overflow-y: auto;
|
|
64
201
|
background: #1e293b;
|
|
@@ -67,7 +204,6 @@ body {
|
|
|
67
204
|
padding: 24px 20px 130px;
|
|
68
205
|
font-size: 14px;
|
|
69
206
|
z-index: 100;
|
|
70
|
-
margin-right: 1rem;
|
|
71
207
|
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
|
|
72
208
|
transition: transform 0.3s ease;
|
|
73
209
|
}
|
|
@@ -116,11 +252,6 @@ body {
|
|
|
116
252
|
font-weight: 500;
|
|
117
253
|
}
|
|
118
254
|
|
|
119
|
-
/* Body margin for sidebar */
|
|
120
|
-
body {
|
|
121
|
-
margin-left: 270px;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
255
|
/* Hamburger menu button */
|
|
125
256
|
.hamburger-menu {
|
|
126
257
|
display: none;
|
|
@@ -136,6 +267,7 @@ body {
|
|
|
136
267
|
color: rgba(255, 255, 255, 0.9);
|
|
137
268
|
font-size: 20px;
|
|
138
269
|
line-height: 1;
|
|
270
|
+
box-sizing: border-box;
|
|
139
271
|
width: 44px;
|
|
140
272
|
height: 44px;
|
|
141
273
|
align-items: center;
|
|
@@ -153,9 +285,7 @@ body {
|
|
|
153
285
|
|
|
154
286
|
/* Move hamburger to the right of the sidebar when menu is open */
|
|
155
287
|
.hamburger-menu.active {
|
|
156
|
-
left: calc(
|
|
157
|
-
250px + 12px
|
|
158
|
-
); /* Position just to the right of sidebar (max-width 250px + 12px padding) */
|
|
288
|
+
left: calc(var(--sidebar-width) + 12px);
|
|
159
289
|
}
|
|
160
290
|
|
|
161
291
|
.hamburger-menu.active {
|
|
@@ -251,7 +381,7 @@ body {
|
|
|
251
381
|
.floating-toc {
|
|
252
382
|
position: fixed;
|
|
253
383
|
top: 0;
|
|
254
|
-
left:
|
|
384
|
+
left: var(--sidebar-offset);
|
|
255
385
|
right: 0;
|
|
256
386
|
z-index: 50;
|
|
257
387
|
opacity: 0;
|
|
@@ -677,7 +807,7 @@ ol ul {
|
|
|
677
807
|
}
|
|
678
808
|
|
|
679
809
|
body {
|
|
680
|
-
margin
|
|
810
|
+
margin: 2rem 1rem;
|
|
681
811
|
}
|
|
682
812
|
|
|
683
813
|
.floating-toc {
|
|
@@ -687,7 +817,7 @@ ol ul {
|
|
|
687
817
|
|
|
688
818
|
</style></head>
|
|
689
819
|
|
|
690
|
-
<body>
|
|
820
|
+
<body class="code-highlighted">
|
|
691
821
|
<div class="floating-toc" id="floating-toc">
|
|
692
822
|
<div class="floating-toc-container">
|
|
693
823
|
<div class="floating-toc-header">
|
|
@@ -702,12 +832,12 @@ ol ul {
|
|
|
702
832
|
<button class="hamburger-menu" id="hamburger-menu" aria-label="Toggle navigation"></button>
|
|
703
833
|
<div class="mobile-menu-overlay" id="mobile-menu-overlay"></div>
|
|
704
834
|
|
|
705
|
-
<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="Inline-Attribute-Lists.html">Inline Attribute Lists</a></li><li><a href="Modes.html">Modes</a></li><li><a href="Command-Line-Options.html">Command Line Options</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="Metadata-Transforms.html">Metadata Transforms</a></li><li><a href="Pandoc-Integration.html">Integrating with Pandoc</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="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="Troubleshooting.html">Troubleshooting</a></li><li><a href="Credits.html">Credits</a></li></ul></nav>
|
|
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>
|
|
706
836
|
|
|
707
837
|
<h1 id="processor-modes">
|
|
708
|
-
Processor
|
|
838
|
+
Processor Modes
|
|
709
839
|
</h1>
|
|
710
|
-
<nav class="page-toc" id="page-toc-top"><ul><li><a href="#processor-modes">Processor
|
|
840
|
+
<nav class="page-toc" id="page-toc-top"><ul><li><a href="#processor-modes">Processor Modes</a><ul><li><a href="#overview">Overview</a></li><li><a href="#unified-mode-default">Unified Mode (Default)</a><ul><li><a href="#enabled-features">Enabled Features</a></li><li><a href="#id-format">ID Format</a></li></ul></li><li><a href="#quarto-mode">Quarto Mode</a><ul><li><a href="#enabled-features">Enabled Features</a></li><li><a href="#disabled-vs-unified">Disabled vs Unified</a></li></ul></li><li><a href="#gfm-mode">GFM Mode</a><ul><li><a href="#enabled-features">Enabled Features</a></li><li><a href="#disabled-features">Disabled Features</a></li><li><a href="#id-format">ID Format</a></li></ul></li><li><a href="#multimarkdown-mode">MultiMarkdown Mode</a><ul><li><a href="#enabled-features">Enabled Features</a></li><li><a href="#disabled-features">Disabled Features</a></li><li><a href="#id-format">ID Format</a></li></ul></li><li><a href="#kramdown-mode">Kramdown Mode</a><ul><li><a href="#enabled-features">Enabled Features</a></li><li><a href="#disabled-features">Disabled Features</a></li><li><a href="#id-format">ID Format</a></li></ul></li><li><a href="#commonmark-mode">CommonMark Mode</a><ul><li><a href="#enabled-features">Enabled Features</a></li><li><a href="#disabled-features">Disabled Features</a></li><li><a href="#id-format">ID Format</a></li></ul></li><li><a href="#feature-comparison-table">Feature Comparison Table</a></li><li><a href="#choosing-a-mode">Choosing a Mode</a></li><li><a href="#overriding-mode-defaults">Overriding Mode Defaults</a></li><li><a href="#related">Related</a></li></ul></li></ul></nav>
|
|
711
841
|
|
|
712
842
|
<p>
|
|
713
843
|
Apex supports multiple processor modes, each optimized for compatibility with different Markdown flavors.
|
|
@@ -755,6 +885,21 @@ ol ul {
|
|
|
755
885
|
GFM
|
|
756
886
|
</td>
|
|
757
887
|
|
|
888
|
+
</tr>
|
|
889
|
+
<tr>
|
|
890
|
+
|
|
891
|
+
<td>
|
|
892
|
+
<code>quarto</code>
|
|
893
|
+
</td>
|
|
894
|
+
|
|
895
|
+
<td>
|
|
896
|
+
Pandoc/Quarto markdown
|
|
897
|
+
</td>
|
|
898
|
+
|
|
899
|
+
<td>
|
|
900
|
+
GFM
|
|
901
|
+
</td>
|
|
902
|
+
|
|
758
903
|
</tr>
|
|
759
904
|
<tr>
|
|
760
905
|
|
|
@@ -821,11 +966,11 @@ ol ul {
|
|
|
821
966
|
</table>
|
|
822
967
|
|
|
823
968
|
<h2 id="unified-mode-default">
|
|
824
|
-
Unified Mode
|
|
969
|
+
Unified Mode (Default)
|
|
825
970
|
</h2>
|
|
826
971
|
|
|
827
972
|
<p>
|
|
828
|
-
<strong>
|
|
973
|
+
<strong>Command:</strong> <code>apex document.md</code> or <code>apex --mode unified document.md</code>
|
|
829
974
|
</p>
|
|
830
975
|
|
|
831
976
|
<p>
|
|
@@ -833,7 +978,7 @@ ol ul {
|
|
|
833
978
|
</p>
|
|
834
979
|
|
|
835
980
|
<h3 id="enabled-features">
|
|
836
|
-
Enabled
|
|
981
|
+
Enabled Features
|
|
837
982
|
</h3>
|
|
838
983
|
|
|
839
984
|
<ul>
|
|
@@ -870,6 +1015,10 @@ ol ul {
|
|
|
870
1015
|
✅ Math support (<code>$inline$</code> and <code>$$display$$</code>)
|
|
871
1016
|
</li>
|
|
872
1017
|
|
|
1018
|
+
<li>
|
|
1019
|
+
✅ Superscript and subscript (<code>x^2^</code>, <code>H~2~O</code>)
|
|
1020
|
+
</li>
|
|
1021
|
+
|
|
873
1022
|
<li>
|
|
874
1023
|
✅ Wiki links (<code>[[Page]]</code>) - <strong>Requires <code>--wikilinks</code> flag</strong> (disabled by default)
|
|
875
1024
|
</li>
|
|
@@ -891,7 +1040,7 @@ ol ul {
|
|
|
891
1040
|
</li>
|
|
892
1041
|
|
|
893
1042
|
<li>
|
|
894
|
-
✅ Metadata variables (<code>[%key]</code>) - See <a href="Metadata-Transforms.html">Metadata Transforms</a> for transform syntax
|
|
1043
|
+
✅ Metadata variables (<code>[%key]</code>) - See <a href="Metadata-Transforms.html">Metadata Transforms</a> for transform syntax
|
|
895
1044
|
</li>
|
|
896
1045
|
|
|
897
1046
|
<li>
|
|
@@ -899,7 +1048,7 @@ ol ul {
|
|
|
899
1048
|
</li>
|
|
900
1049
|
|
|
901
1050
|
<li>
|
|
902
|
-
✅ Inline Attribute Lists (IAL)
|
|
1051
|
+
✅ Inline Attribute Lists (IAL), including fenced divs and bracketed spans
|
|
903
1052
|
</li>
|
|
904
1053
|
|
|
905
1054
|
<li>
|
|
@@ -907,13 +1056,21 @@ ol ul {
|
|
|
907
1056
|
</li>
|
|
908
1057
|
|
|
909
1058
|
<li>
|
|
910
|
-
✅
|
|
1059
|
+
✅ Grid tables (Pandoc <code>+---+</code> syntax) - <strong><code>--grid-tables</code> to enable, <code>--no-grid-tables</code> to disable</strong> (off by default)
|
|
1060
|
+
</li>
|
|
1061
|
+
|
|
1062
|
+
<li>
|
|
1063
|
+
✅ GitHub Emoji / emoji autocorrect (<code><span class=\"emoji\">:emoji_name:</span></code>)
|
|
1064
|
+
</li>
|
|
1065
|
+
|
|
1066
|
+
<li>
|
|
1067
|
+
✅ Image captions from Markdown image syntax (wrap images with title/alt in <code><figure></code>/<code><figcaption></code>)
|
|
911
1068
|
</li>
|
|
912
1069
|
|
|
913
1070
|
</ul>
|
|
914
1071
|
|
|
915
|
-
<h3 id="id-format">
|
|
916
|
-
ID
|
|
1072
|
+
<h3 Mode id="id-format">
|
|
1073
|
+
ID Format
|
|
917
1074
|
</h3>
|
|
918
1075
|
|
|
919
1076
|
<ul>
|
|
@@ -928,20 +1085,88 @@ ol ul {
|
|
|
928
1085
|
|
|
929
1086
|
</ul>
|
|
930
1087
|
|
|
931
|
-
<h2 id="
|
|
932
|
-
|
|
1088
|
+
<h2 Description id="quarto-mode">
|
|
1089
|
+
Quarto Mode
|
|
1090
|
+
</h2>
|
|
1091
|
+
|
|
1092
|
+
<p>
|
|
1093
|
+
<strong>Command:</strong> <code>apex --mode quarto document.qmd</code>
|
|
1094
|
+
</p>
|
|
1095
|
+
|
|
1096
|
+
<p>
|
|
1097
|
+
Pandoc/Quarto markdown compatibility for HTML-oriented documents. See <strong><a href="Quarto-Mode.html">Quarto Mode</a></strong> for syntax, metadata toggles, and limitations.
|
|
1098
|
+
</p>
|
|
1099
|
+
|
|
1100
|
+
<h3 Default ID Format id="enabled-features">
|
|
1101
|
+
Enabled Features
|
|
1102
|
+
</h3>
|
|
1103
|
+
|
|
1104
|
+
<ul>
|
|
1105
|
+
|
|
1106
|
+
<li>
|
|
1107
|
+
✅ Quarto callouts (<code>::: {.callout-note}</code>)
|
|
1108
|
+
</li>
|
|
1109
|
+
|
|
1110
|
+
<li>
|
|
1111
|
+
✅ Fenced divs and bracketed spans
|
|
1112
|
+
</li>
|
|
1113
|
+
|
|
1114
|
+
<li>
|
|
1115
|
+
✅ Raw content (<code>{=html}</code>, <code>{=latex}</code>, etc.)
|
|
1116
|
+
</li>
|
|
1117
|
+
|
|
1118
|
+
<li>
|
|
1119
|
+
✅ Example lists <code>(@)</code>, roman lists, line blocks
|
|
1120
|
+
</li>
|
|
1121
|
+
|
|
1122
|
+
<li>
|
|
1123
|
+
✅ Code fence attributes, diagram fences (<code>{mermaid}</code>, <code>{dot}</code>)
|
|
1124
|
+
</li>
|
|
1125
|
+
|
|
1126
|
+
<li>
|
|
1127
|
+
✅ Shortcode shim (<code>{{< pagebreak >}}</code>, <code>{{< kbd >}}</code>, <code>{{< include >}}</code>)
|
|
1128
|
+
</li>
|
|
1129
|
+
|
|
1130
|
+
<li>
|
|
1131
|
+
✅ fig-alt, semantic span CSS in standalone output
|
|
1132
|
+
</li>
|
|
1133
|
+
|
|
1134
|
+
</ul>
|
|
1135
|
+
|
|
1136
|
+
<h3 id="disabled-vs-unified">
|
|
1137
|
+
Disabled vs Unified
|
|
1138
|
+
</h3>
|
|
1139
|
+
|
|
1140
|
+
<ul>
|
|
1141
|
+
|
|
1142
|
+
<li>
|
|
1143
|
+
❌ Marked extensions (page break markers, etc.)
|
|
1144
|
+
</li>
|
|
1145
|
+
|
|
1146
|
+
<li>
|
|
1147
|
+
❌ Wiki links (unless explicitly enabled)
|
|
1148
|
+
</li>
|
|
1149
|
+
|
|
1150
|
+
<li>
|
|
1151
|
+
❌ Index syntax (mmark, TextIndex, Leanpub)
|
|
1152
|
+
</li>
|
|
1153
|
+
|
|
1154
|
+
</ul>
|
|
1155
|
+
|
|
1156
|
+
<h2 `unified` id="gfm-mode">
|
|
1157
|
+
GFM Mode
|
|
933
1158
|
</h2>
|
|
934
1159
|
|
|
935
1160
|
<p>
|
|
936
|
-
<strong>
|
|
1161
|
+
<strong>Command:</strong> <code>apex --mode gfm document.md</code>
|
|
937
1162
|
</p>
|
|
938
1163
|
|
|
939
1164
|
<p>
|
|
940
1165
|
GitHub Flavored Markdown compatibility mode.
|
|
941
1166
|
</p>
|
|
942
1167
|
|
|
943
|
-
<h3 id="enabled-features">
|
|
944
|
-
Enabled
|
|
1168
|
+
<h3 All features enabled id="enabled-features">
|
|
1169
|
+
Enabled Features
|
|
945
1170
|
</h3>
|
|
946
1171
|
|
|
947
1172
|
<ul>
|
|
@@ -968,8 +1193,8 @@ ol ul {
|
|
|
968
1193
|
|
|
969
1194
|
</ul>
|
|
970
1195
|
|
|
971
|
-
<h3 id="disabled-features">
|
|
972
|
-
Disabled
|
|
1196
|
+
<h3 GFM id="disabled-features">
|
|
1197
|
+
Disabled Features
|
|
973
1198
|
</h3>
|
|
974
1199
|
|
|
975
1200
|
<ul>
|
|
@@ -1025,7 +1250,7 @@ ol ul {
|
|
|
1025
1250
|
</ul>
|
|
1026
1251
|
|
|
1027
1252
|
<h3 id="id-format">
|
|
1028
|
-
ID
|
|
1253
|
+
ID Format
|
|
1029
1254
|
</h3>
|
|
1030
1255
|
|
|
1031
1256
|
<ul>
|
|
@@ -1037,11 +1262,11 @@ ol ul {
|
|
|
1037
1262
|
</ul>
|
|
1038
1263
|
|
|
1039
1264
|
<h2 id="multimarkdown-mode">
|
|
1040
|
-
MultiMarkdown
|
|
1265
|
+
MultiMarkdown Mode
|
|
1041
1266
|
</h2>
|
|
1042
1267
|
|
|
1043
1268
|
<p>
|
|
1044
|
-
<strong>
|
|
1269
|
+
<strong>Command:</strong> <code>apex --mode mmd document.md</code> or <code>apex --mode multimarkdown document.md</code>
|
|
1045
1270
|
</p>
|
|
1046
1271
|
|
|
1047
1272
|
<p>
|
|
@@ -1049,7 +1274,7 @@ ol ul {
|
|
|
1049
1274
|
</p>
|
|
1050
1275
|
|
|
1051
1276
|
<h3 id="enabled-features">
|
|
1052
|
-
Enabled
|
|
1277
|
+
Enabled Features
|
|
1053
1278
|
</h3>
|
|
1054
1279
|
|
|
1055
1280
|
<ul>
|
|
@@ -1090,10 +1315,14 @@ ol ul {
|
|
|
1090
1315
|
✅ File includes
|
|
1091
1316
|
</li>
|
|
1092
1317
|
|
|
1318
|
+
<li>
|
|
1319
|
+
✅ Image captions from Markdown image syntax (wrap images with title/alt in <code><figure></code>/<code><figcaption></code>)
|
|
1320
|
+
</li>
|
|
1321
|
+
|
|
1093
1322
|
</ul>
|
|
1094
1323
|
|
|
1095
1324
|
<h3 id="disabled-features">
|
|
1096
|
-
Disabled
|
|
1325
|
+
Disabled Features
|
|
1097
1326
|
</h3>
|
|
1098
1327
|
|
|
1099
1328
|
<ul>
|
|
@@ -1129,7 +1358,7 @@ ol ul {
|
|
|
1129
1358
|
</ul>
|
|
1130
1359
|
|
|
1131
1360
|
<h3 id="id-format">
|
|
1132
|
-
ID
|
|
1361
|
+
ID Format
|
|
1133
1362
|
</h3>
|
|
1134
1363
|
|
|
1135
1364
|
<ul>
|
|
@@ -1140,20 +1369,20 @@ ol ul {
|
|
|
1140
1369
|
|
|
1141
1370
|
</ul>
|
|
1142
1371
|
|
|
1143
|
-
<h2 id="kramdown-mode">
|
|
1144
|
-
Kramdown
|
|
1372
|
+
<h2 `quarto` id="kramdown-mode">
|
|
1373
|
+
Kramdown Mode
|
|
1145
1374
|
</h2>
|
|
1146
1375
|
|
|
1147
1376
|
<p>
|
|
1148
|
-
<strong>
|
|
1377
|
+
<strong>Command:</strong> <code>apex --mode kramdown document.md</code>
|
|
1149
1378
|
</p>
|
|
1150
1379
|
|
|
1151
1380
|
<p>
|
|
1152
1381
|
Kramdown compatibility mode.
|
|
1153
1382
|
</p>
|
|
1154
1383
|
|
|
1155
|
-
<h3 id="enabled-features">
|
|
1156
|
-
Enabled
|
|
1384
|
+
<h3 Pandoc/Quarto markdown id="enabled-features">
|
|
1385
|
+
Enabled Features
|
|
1157
1386
|
</h3>
|
|
1158
1387
|
|
|
1159
1388
|
<ul>
|
|
@@ -1192,8 +1421,8 @@ ol ul {
|
|
|
1192
1421
|
|
|
1193
1422
|
</ul>
|
|
1194
1423
|
|
|
1195
|
-
<h3 id="disabled-features">
|
|
1196
|
-
Disabled
|
|
1424
|
+
<h3 GFM id="disabled-features">
|
|
1425
|
+
Disabled Features
|
|
1197
1426
|
</h3>
|
|
1198
1427
|
|
|
1199
1428
|
<ul>
|
|
@@ -1233,7 +1462,7 @@ ol ul {
|
|
|
1233
1462
|
</ul>
|
|
1234
1463
|
|
|
1235
1464
|
<h3 id="id-format">
|
|
1236
|
-
ID
|
|
1465
|
+
ID Format
|
|
1237
1466
|
</h3>
|
|
1238
1467
|
|
|
1239
1468
|
<ul>
|
|
@@ -1244,20 +1473,20 @@ ol ul {
|
|
|
1244
1473
|
|
|
1245
1474
|
</ul>
|
|
1246
1475
|
|
|
1247
|
-
<h2 id="commonmark-mode">
|
|
1248
|
-
CommonMark
|
|
1476
|
+
<h2 `gfm` id="commonmark-mode">
|
|
1477
|
+
CommonMark Mode
|
|
1249
1478
|
</h2>
|
|
1250
1479
|
|
|
1251
1480
|
<p>
|
|
1252
|
-
<strong>
|
|
1481
|
+
<strong>Command:</strong> <code>apex --mode commonmark document.md</code>
|
|
1253
1482
|
</p>
|
|
1254
1483
|
|
|
1255
1484
|
<p>
|
|
1256
1485
|
Pure CommonMark specification compliance. No extensions.
|
|
1257
1486
|
</p>
|
|
1258
1487
|
|
|
1259
|
-
<h3 id="enabled-features">
|
|
1260
|
-
Enabled
|
|
1488
|
+
<h3 GitHub Flavored Markdown id="enabled-features">
|
|
1489
|
+
Enabled Features
|
|
1261
1490
|
</h3>
|
|
1262
1491
|
|
|
1263
1492
|
<ul>
|
|
@@ -1268,8 +1497,8 @@ ol ul {
|
|
|
1268
1497
|
|
|
1269
1498
|
</ul>
|
|
1270
1499
|
|
|
1271
|
-
<h3 id="disabled-features">
|
|
1272
|
-
Disabled
|
|
1500
|
+
<h3 GFM id="disabled-features">
|
|
1501
|
+
Disabled Features
|
|
1273
1502
|
</h3>
|
|
1274
1503
|
|
|
1275
1504
|
<ul>
|
|
@@ -1281,7 +1510,7 @@ ol ul {
|
|
|
1281
1510
|
</ul>
|
|
1282
1511
|
|
|
1283
1512
|
<h3 id="id-format">
|
|
1284
|
-
ID
|
|
1513
|
+
ID Format
|
|
1285
1514
|
</h3>
|
|
1286
1515
|
|
|
1287
1516
|
<ul>
|
|
@@ -1292,8 +1521,8 @@ ol ul {
|
|
|
1292
1521
|
|
|
1293
1522
|
</ul>
|
|
1294
1523
|
|
|
1295
|
-
<h2 id="feature-comparison-table">
|
|
1296
|
-
Feature Comparison
|
|
1524
|
+
<h2 `mmd` id="feature-comparison-table">
|
|
1525
|
+
Feature Comparison Table
|
|
1297
1526
|
</h2>
|
|
1298
1527
|
|
|
1299
1528
|
<table>
|
|
@@ -1737,6 +1966,33 @@ ol ul {
|
|
|
1737
1966
|
</td>
|
|
1738
1967
|
|
|
1739
1968
|
</tr>
|
|
1969
|
+
<tr>
|
|
1970
|
+
|
|
1971
|
+
<td>
|
|
1972
|
+
Image Captions
|
|
1973
|
+
</td>
|
|
1974
|
+
|
|
1975
|
+
<td>
|
|
1976
|
+
✅
|
|
1977
|
+
</td>
|
|
1978
|
+
|
|
1979
|
+
<td>
|
|
1980
|
+
❌
|
|
1981
|
+
</td>
|
|
1982
|
+
|
|
1983
|
+
<td>
|
|
1984
|
+
✅
|
|
1985
|
+
</td>
|
|
1986
|
+
|
|
1987
|
+
<td>
|
|
1988
|
+
❌
|
|
1989
|
+
</td>
|
|
1990
|
+
|
|
1991
|
+
<td>
|
|
1992
|
+
❌
|
|
1993
|
+
</td>
|
|
1994
|
+
|
|
1995
|
+
</tr>
|
|
1740
1996
|
</tbody>
|
|
1741
1997
|
|
|
1742
1998
|
</table>
|
|
@@ -1745,51 +2001,57 @@ ol ul {
|
|
|
1745
2001
|
* Wiki links are available in unified mode but <strong>disabled by default</strong>. Use <code>--wikilinks</code> to enable.
|
|
1746
2002
|
</p>
|
|
1747
2003
|
|
|
1748
|
-
<h2 id="choosing-a-mode">
|
|
1749
|
-
Choosing
|
|
2004
|
+
<h2 MultiMarkdown compatibility id="choosing-a-mode">
|
|
2005
|
+
Choosing a Mode
|
|
1750
2006
|
</h2>
|
|
1751
2007
|
|
|
1752
2008
|
<ul>
|
|
1753
2009
|
|
|
1754
2010
|
<li>
|
|
1755
|
-
<strong>
|
|
2011
|
+
<strong>Quarto</strong> - Use for Pandoc/Quarto <code>.qmd</code> documents and HTML-oriented Quarto markdown
|
|
1756
2012
|
</li>
|
|
1757
2013
|
|
|
1758
2014
|
<li>
|
|
1759
|
-
<strong>
|
|
2015
|
+
<strong>Unified</strong> - Use when you want all features or need compatibility with multiple Markdown flavors
|
|
1760
2016
|
</li>
|
|
1761
2017
|
|
|
1762
2018
|
<li>
|
|
1763
|
-
<strong>
|
|
2019
|
+
<strong>GFM</strong> - Use for GitHub compatibility or when publishing to GitHub
|
|
1764
2020
|
</li>
|
|
1765
2021
|
|
|
1766
2022
|
<li>
|
|
1767
|
-
<strong>
|
|
2023
|
+
<strong>MMD</strong> - Use for MultiMarkdown compatibility or when you need metadata
|
|
1768
2024
|
</li>
|
|
1769
2025
|
|
|
1770
2026
|
<li>
|
|
1771
|
-
<strong>
|
|
2027
|
+
<strong>Kramdown</strong> - Use for Kramdown compatibility or when you need IAL attributes
|
|
2028
|
+
</li>
|
|
2029
|
+
|
|
2030
|
+
<li>
|
|
2031
|
+
<strong>CommonMark</strong> - Use for strict CommonMark compliance or minimal output
|
|
1772
2032
|
</li>
|
|
1773
2033
|
|
|
1774
2034
|
</ul>
|
|
1775
2035
|
|
|
1776
|
-
<h2 id="overriding-mode-defaults">
|
|
1777
|
-
Overriding Mode
|
|
2036
|
+
<h2 MultiMarkdown id="overriding-mode-defaults">
|
|
2037
|
+
Overriding Mode Defaults
|
|
1778
2038
|
</h2>
|
|
1779
2039
|
|
|
1780
2040
|
<p>
|
|
1781
2041
|
In unified mode, you can enable or disable specific features:
|
|
1782
2042
|
</p>
|
|
1783
2043
|
|
|
1784
|
-
<
|
|
1785
|
-
|
|
2044
|
+
<div class="highlight">
|
|
2045
|
+
<pre><span></span><span class="c1"># Unified mode but disable footnotes</span>
|
|
2046
|
+
apex<span class="w"> </span>--mode<span class="w"> </span>unified<span class="w"> </span>--no-footnotes<span class="w"> </span>document.md
|
|
1786
2047
|
|
|
1787
|
-
<span class="
|
|
1788
|
-
apex
|
|
2048
|
+
<span class="c1"># Unified mode but disable math</span>
|
|
2049
|
+
apex<span class="w"> </span>--mode<span class="w"> </span>unified<span class="w"> </span>--no-math<span class="w"> </span>document.md
|
|
1789
2050
|
|
|
1790
|
-
<span class="
|
|
1791
|
-
apex
|
|
1792
|
-
</
|
|
2051
|
+
<span class="c1"># Enable wiki links (disabled by default)</span>
|
|
2052
|
+
apex<span class="w"> </span>--mode<span class="w"> </span>unified<span class="w"> </span>--wikilinks<span class="w"> </span>document.md
|
|
2053
|
+
</pre>
|
|
2054
|
+
</div>
|
|
1793
2055
|
|
|
1794
2056
|
<h2 id="related">
|
|
1795
2057
|
Related
|
|
@@ -1798,15 +2060,15 @@ apex <span class="nt">--mode</span> unified <span class="nt">--wikilinks</span>
|
|
|
1798
2060
|
<ul>
|
|
1799
2061
|
|
|
1800
2062
|
<li>
|
|
1801
|
-
<a href="Header-IDs.html">
|
|
2063
|
+
<a href="Header-IDs.html">Header IDs</a> - How ID formats differ by mode
|
|
1802
2064
|
</li>
|
|
1803
2065
|
|
|
1804
2066
|
<li>
|
|
1805
|
-
<a href="Syntax.html">
|
|
2067
|
+
<a href="Syntax.html">Syntax</a> - Syntax available in each mode
|
|
1806
2068
|
</li>
|
|
1807
2069
|
|
|
1808
2070
|
<li>
|
|
1809
|
-
<a href="Command-Line-Options.html">
|
|
2071
|
+
<a href="Command-Line-Options.html">Command Line Options</a> - Mode selection and feature flags
|
|
1810
2072
|
</li>
|
|
1811
2073
|
|
|
1812
2074
|
</ul>
|