apex-ruby 1.0.18 → 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
[](https://github.com/ApexMarkdown/apex/releases/latest)  [](https://opensource.org/licenses/MIT) <!--TESTS_BADGE--><!--END TESTS_BADGE-->
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
# Apex
|
|
@@ -21,22 +21,41 @@ flavor. So I'm building Apex with the goal of making all of
|
|
|
21
21
|
the most popular features of various processors available in
|
|
22
22
|
one tool.
|
|
23
23
|
|
|
24
|
+
## Table of Contents
|
|
25
|
+
|
|
26
|
+
- [Features](#features)
|
|
27
|
+
- [Compatibility Modes](#compatibility-modes)
|
|
28
|
+
- [Markdown Extensions](#markdown-extensions)
|
|
29
|
+
- [Document Features](#document-features)
|
|
30
|
+
- [Citations and Bibliography](#citations-and-bibliography)
|
|
31
|
+
- [Indices](#indices)
|
|
32
|
+
- [Critic Markup](#critic-markup)
|
|
33
|
+
- [Output Options](#output-options)
|
|
34
|
+
- [Advanced Features](#advanced-features)
|
|
35
|
+
- [Extensibility and Plugins](#extensibility-and-plugins)
|
|
36
|
+
- [Installation](#installation)
|
|
37
|
+
- [Basic Usage](#basic-usage)
|
|
38
|
+
- [Documentation](#documentation)
|
|
39
|
+
- [Contributing](#contributing)
|
|
40
|
+
- [License](#license)
|
|
41
|
+
|
|
24
42
|
## Features
|
|
25
43
|
|
|
26
44
|
### Compatibility Modes
|
|
27
45
|
|
|
28
|
-
- **Multiple compatibility modes**: CommonMark, GFM, MultiMarkdown, Kramdown, and Unified (all features)
|
|
29
|
-
- **Mode-specific features**: Each mode enables appropriate extensions for maximum compatibility
|
|
46
|
+
- **Multiple compatibility modes**: [CommonMark, GFM, MultiMarkdown, Kramdown, and Unified](https://github.com/ApexMarkdown/apex/wiki/Modes) (all features)
|
|
47
|
+
- **Mode-specific features**: Each mode enables appropriate extensions for maximum compatibility ([more info](https://github.com/ApexMarkdown/apex/wiki/Modes))
|
|
30
48
|
|
|
31
49
|
### Markdown Extensions
|
|
32
50
|
|
|
33
|
-
- **Tables**: GitHub Flavored Markdown tables with advanced features (rowspan via `^^`, colspan via empty cells/`<<`, captions before/after tables including Pandoc-style `Table: Caption` and `: Caption` syntax, and individual cell alignment using colons `:Left`, `Right:`, `:Center:`)
|
|
51
|
+
- **Tables**: [GitHub Flavored Markdown tables](https://github.com/ApexMarkdown/apex/wiki/Tables) with advanced features (rowspan via `^^`, colspan via empty cells/`<<`, captions before/after tables including Pandoc-style `Table: Caption` and `: Caption` syntax, and individual cell alignment using colons `:Left`, `Right:`, `:Center:`)
|
|
52
|
+
- **Grid tables**: Pandoc-style `+---+` grid tables (opt-in with `--grid-tables`; [more info](https://github.com/ApexMarkdown/apex/wiki/Tables#grid-tables-pandoc-style))
|
|
34
53
|
- **Table caption positioning**: Control caption placement with `--captions above` or `--captions below` (default: below)
|
|
35
54
|
- **Table caption IAL**: IAL attributes in table captions (e.g., `: Caption {#id .class}`) are extracted and applied to the table element
|
|
36
55
|
- **Relaxed tables**: Support for tables without separator rows (Kramdown-style)
|
|
37
56
|
- **Headerless tables**: Support for tables that start with alignment rows (separator rows) without header rows; column alignment is automatically applied
|
|
38
|
-
- **Footnotes**: Three syntaxes supported (reference-style, Kramdown inline, MultiMarkdown inline)
|
|
39
|
-
- **Definition lists**: Kramdown-style definition lists with Markdown content support
|
|
57
|
+
- **Footnotes**: Three syntaxes supported (reference-style, Kramdown inline, MultiMarkdown inline) ([more info](https://github.com/ApexMarkdown/apex/wiki/Syntax))
|
|
58
|
+
- **Definition lists**: Kramdown-style definition lists with Markdown content support ([more info](https://github.com/ApexMarkdown/apex/wiki/Syntax))
|
|
40
59
|
- **Task lists**: GitHub-style checkboxes (`- [ ]` and `- [x]`)
|
|
41
60
|
- **Strikethrough**: `~~text~~` syntax from GFM
|
|
42
61
|
- **Smart typography**: Automatic conversion of quotes, dashes, ellipses, and more
|
|
@@ -44,51 +63,53 @@ one tool.
|
|
|
44
63
|
|
|
45
64
|
- **Syntax highlighting**: External syntax highlighting for fenced code blocks via Pygments, Skylighting, or Shiki with `--code-highlight` flag.
|
|
46
65
|
|
|
47
|
-
Supports language-aware highlighting, auto-detection, and line numbers with `--code-line-numbers`
|
|
66
|
+
Supports language-aware highlighting, auto-detection, and line numbers with `--code-line-numbers` ([more info](https://github.com/ApexMarkdown/apex/wiki/Command-Line-Options))
|
|
48
67
|
|
|
49
|
-
- **Wiki links**: `[[Page Name]]`, `[[Page Name|Display Text]]`, and `[[Page Name#Section]]` syntax with configurable link targets via `--wikilink-space` and `--wikilink-extension`
|
|
68
|
+
- **Wiki links**: `[[Page Name]]`, `[[Page Name|Display Text]]`, and `[[Page Name#Section]]` syntax with configurable link targets via `--wikilink-space` and `--wikilink-extension` ([more info](https://github.com/ApexMarkdown/apex/wiki/Syntax))
|
|
50
69
|
- **Abbreviations**: Three syntaxes (classic MMD, MMD 6 reference, MMD 6 inline)
|
|
51
|
-
- **Callouts**: Bear/Obsidian-style callouts with collapsible support (`> [!NOTE]`, `> [!WARNING]`, etc.)
|
|
70
|
+
- **Callouts**: Bear/Obsidian-style callouts with collapsible support (`> [!NOTE]`, `> [!WARNING]`, etc.), plus optional Python-Markdown (`!!!`) and Quarto (`:::`) callout parsing behind explicit flags ([more info](https://github.com/ApexMarkdown/apex/wiki/Callouts))
|
|
52
71
|
- **GitHub emoji**: 350+ emoji support (`:rocket:`, `:heart:`, etc.)
|
|
53
72
|
|
|
54
73
|
### Document Features
|
|
55
74
|
|
|
56
75
|
|
|
57
76
|
|
|
58
|
-
- **Metadata blocks**: YAML front matter, MultiMarkdown metadata, and Pandoc title blocks
|
|
59
|
-
- **Metadata variables**: Insert metadata values with `[%key]` syntax
|
|
77
|
+
- **Metadata blocks**: YAML front matter, MultiMarkdown metadata, and Pandoc title blocks ([more info](https://github.com/ApexMarkdown/apex/wiki/Syntax))
|
|
78
|
+
- **Metadata variables**: Insert metadata values with `[%key]` syntax ([more info](https://github.com/ApexMarkdown/apex/wiki/Configuration))
|
|
60
79
|
- **Metadata transforms**: Transform metadata values with `[%key:transform]` syntax
|
|
61
80
|
|
|
62
81
|
Supports case conversion, string manipulation, regex replacement, date formatting, and more.
|
|
63
82
|
|
|
64
83
|
See [Metadata Transforms](https://github.com/ApexMarkdown/apex/wiki/Metadata-Transforms) for complete documentation
|
|
65
|
-
- **Metadata control of options**: Control command-line options via metadata
|
|
84
|
+
- **Metadata control of options**: [Control command-line options via metadata](https://github.com/ApexMarkdown/apex/wiki/Configuration)
|
|
66
85
|
- set boolean flags (`indices: false`, `wikilinks: true`) and string options (`bibliography: refs.bib`, `title: My Document`, `wikilink-space: dash`, `wikilink-extension: html`) directly in document metadata for per-document configuration
|
|
67
|
-
- **Table of Contents**: Automatic TOC generation with depth control using HTML (`<!--TOC-->`), MMD (`{{TOC}}` / `{{TOC:2-4}}`), and Kramdown `{:toc}` markers. Headings marked with `{:.no_toc}` are excluded from the generated TOC.
|
|
68
|
-
- **File includes**: Three syntaxes (Marked `<<[file]`, MultiMarkdown `{{file}}`, iA Writer `/file`), with support for address ranges and wildcard/glob patterns such as `{{file.*}}`, `{{*.md}}`, and `{{c?de.py}}`.
|
|
86
|
+
- **Table of Contents**: Automatic TOC generation with depth control using HTML (`<!--TOC-->`), MMD (`{{TOC}}` / `{{TOC:2-4}}`), and Kramdown `{:toc}` markers. Headings marked with `{:.no_toc}` are excluded from the generated TOC. ([more info](https://github.com/ApexMarkdown/apex/wiki/Syntax))
|
|
87
|
+
- **File includes**: Three syntaxes (Marked `<<[file]`, MultiMarkdown `{{file}}`, iA Writer `/file`), with support for address ranges and wildcard/glob patterns such as `{{file.*}}`, `{{*.md}}`, and `{{c?de.py}}`. ([more info](https://github.com/ApexMarkdown/apex/wiki/Multi-File-Documents))
|
|
69
88
|
- **Markdown combiner (`--combine`)**: Concatenate one or more Markdown files into a single Markdown stream, expanding all include syntaxes.
|
|
70
89
|
|
|
71
|
-
When a `SUMMARY.md` file is provided, Apex treats it as a GitBook-style index and combines the linked files in order, perfect for building books, multi-file indices, and shared tables of contents that can then be piped back into Apex for final rendering.
|
|
90
|
+
When a `SUMMARY.md` file is provided, Apex treats it as a GitBook-style index and combines the linked files in order, perfect for building books, multi-file indices, and shared tables of contents that can then be piped back into Apex for final rendering. ([more info](https://github.com/ApexMarkdown/apex/wiki/Multi-File-Documents))
|
|
72
91
|
- **MultiMarkdown merge (`--mmd-merge`)**: Read one or more mmd_merge-style index files and stitch their referenced documents into a single Markdown stream.
|
|
73
92
|
|
|
74
93
|
Each non-empty, non-comment line specifies a file to include; indentation with tabs or four-space groups shifts all headings in that file down by one level per indent, mirroring the original `mmd_merge.pl` behavior.
|
|
75
94
|
|
|
76
|
-
Output is raw Markdown that can be piped into Apex (e.g., `apex --mmd-merge index.txt | apex --mode mmd`).
|
|
95
|
+
Output is raw Markdown that can be piped into Apex (e.g., `apex --mmd-merge index.txt | apex --mode mmd`). ([more info](https://github.com/ApexMarkdown/apex/wiki/Multi-File-Documents))
|
|
77
96
|
|
|
78
|
-
- **CSV/TSV support**: Automatic table conversion from CSV and TSV files
|
|
79
|
-
- **Inline Attribute Lists (IAL)**: Kramdown-style attributes `{: #id .class}` and Pandoc-style attributes `{#id .class}`
|
|
97
|
+
- **CSV/TSV support**: Automatic table conversion from CSV and TSV files ([more info](https://github.com/ApexMarkdown/apex/wiki/Tables))
|
|
98
|
+
- **Inline Attribute Lists (IAL)**: [Kramdown-style attributes](https://github.com/ApexMarkdown/apex/wiki/Inline-Attribute-Lists) `{: #id .class}` and Pandoc-style attributes `{#id .class}`
|
|
80
99
|
|
|
81
100
|
Both formats work in all contexts (block-level, inline, paragraphs, headings, table captions)
|
|
82
|
-
- **Bracketed spans**: Convert `[text]{IAL}` syntax to HTML span elements with attributes, enabled by default in unified mode
|
|
101
|
+
- **Bracketed spans**: Convert `[text]{IAL}` syntax to HTML span elements with attributes, enabled by default in unified mode ([more info](https://github.com/ApexMarkdown/apex/wiki/Syntax))
|
|
83
102
|
- **Fenced divs**: Pandoc-style fenced divs `::::: {#id .class} ... :::::` for creating custom block containers, enabled by default in unified mode.
|
|
84
103
|
|
|
85
|
-
Supports block type syntax `>blocktype` to create different HTML elements (e.g., `::: >aside {.sidebar}` creates `<aside>` instead of `<div>`). Common block types include `aside`, `article`, `section`, `details`, `summary`, `header`, `footer`, `nav`, and custom elements
|
|
86
|
-
- **Image IAL support**: Inline and reference-style images support IAL syntax with automatic width/height conversion (percentages and non-integer/non-px values convert to style attributes, Xpx values convert to integer width/height attributes, bare integers remain as width/height attributes)
|
|
104
|
+
Supports block type syntax `>blocktype` to create different HTML elements (e.g., `::: >aside {.sidebar}` creates `<aside>` instead of `<div>`). Common block types include `aside`, `article`, `section`, `details`, `summary`, `header`, `footer`, `nav`, and custom elements ([more info](https://github.com/ApexMarkdown/apex/wiki/Syntax))
|
|
105
|
+
- **Image IAL support**: Inline and reference-style images support IAL syntax with automatic width/height conversion (percentages and non-integer/non-px values convert to style attributes, Xpx values convert to integer width/height attributes, bare integers remain as width/height attributes) ([more info](https://github.com/ApexMarkdown/apex/wiki/Multi-Format-Images))
|
|
87
106
|
- **Special markers**: Page breaks (`<!--BREAK-->`), autoscroll pauses (`<!--PAUSE:N-->`), end-of-block markers
|
|
88
107
|
|
|
89
108
|
|
|
90
109
|
### Citations and Bibliography
|
|
91
110
|
|
|
111
|
+
See the [Citations and Bibliography](https://github.com/ApexMarkdown/apex/wiki/Citations) wiki page for a complete guide.
|
|
112
|
+
|
|
92
113
|
- **Multiple citation syntaxes**: Pandoc (`[@key]`), MultiMarkdown (`[#key]`), and mmark (`[@RFC1234]`) styles
|
|
93
114
|
- **Bibliography formats**: Support for BibTeX (`.bib`), CSL JSON (`.json`), and CSL YAML (`.yml`, `.yaml`) formats
|
|
94
115
|
- **Automatic bibliography generation**: Bibliography automatically generated from cited entries
|
|
@@ -100,6 +121,8 @@ one tool.
|
|
|
100
121
|
|
|
101
122
|
### Indices
|
|
102
123
|
|
|
124
|
+
See the [Indices](https://github.com/ApexMarkdown/apex/wiki/Indices) wiki page for syntax and examples.
|
|
125
|
+
|
|
103
126
|
- **mmark syntax**: `(!item)`, `(!item, subitem)`, `(!!item, subitem)` for primary entries
|
|
104
127
|
- **TextIndex syntax**: `{^}`, `[term]{^}`, `{^params}` for flexible indexing
|
|
105
128
|
- **Automatic index generation**: Index automatically generated at end of document or at `<!--INDEX-->` marker
|
|
@@ -109,7 +132,7 @@ one tool.
|
|
|
109
132
|
|
|
110
133
|
### Critic Markup
|
|
111
134
|
|
|
112
|
-
- **Change tracking**: Additions (`{++text++}`), deletions (`{--text--}`), substitutions (`{~~old~>new~~}`)
|
|
135
|
+
- **Change tracking**: Additions (`{++text++}`), deletions (`{--text--}`), substitutions (`{~~old~>new~~}`) ([more info](https://github.com/ApexMarkdown/apex/wiki/Syntax))
|
|
113
136
|
- **Annotations**: Highlights (`{==text==}`) and comments (`{>>text<<}`)
|
|
114
137
|
- **Accept mode**: `--accept` flag to apply all changes for final output
|
|
115
138
|
- **Reject mode**: `--reject` flag to revert all changes to original
|
|
@@ -121,11 +144,13 @@ one tool.
|
|
|
121
144
|
- **Custom styling**: Link multiple external CSS files in standalone mode (use `--css` multiple times or comma-separated list)
|
|
122
145
|
- **Syntax highlighting**: External syntax highlighting via Pygments, Skylighting, or Shiki with `--code-highlight` flag, includes automatic GitHub-style CSS in standalone mode
|
|
123
146
|
- **Pretty-print**: Formatted HTML with proper indentation for readability
|
|
124
|
-
- **XHTML output**: `--xhtml` writes void/empty elements in XML form (`<br />`, `<meta ... />`). `--strict-xhtml` adds polyglot XHTML document scaffolding when used with `--standalone` (XML declaration, XHTML namespace, `Content-Type` meta). You can also select the same behavior with `-t xhtml` or `-t strict-xhtml` (aliases for HTML output with those flags). In **fragment** mode, strict mode does not validate or repair all markup as XML
|
|
125
|
-
- **Header ID generation**: Automatic or manual header IDs with multiple format options (GFM, MMD, Kramdown)
|
|
147
|
+
- **XHTML output**: `--xhtml` writes void/empty elements in XML form (`<br />`, `<meta ... />`). `--strict-xhtml` adds polyglot XHTML document scaffolding when used with `--standalone` (XML declaration, XHTML namespace, `Content-Type` meta). You can also select the same behavior with `-t xhtml` or `-t strict-xhtml` (aliases for HTML output with those flags). In **fragment** mode, strict mode does not validate or repair all markup as XML; raw HTML can still be ill-formed.
|
|
148
|
+
- **Header ID generation**: [Automatic or manual header IDs](https://github.com/ApexMarkdown/apex/wiki/Header-IDs) with multiple format options (GFM, MMD, Kramdown)
|
|
126
149
|
- **Emoji-to-name conversion**: In GFM mode, emojis in headers are converted to their textual names in IDs (e.g., `# ???? Support` ??? `id="smile-support"`), matching Pandoc's GFM behavior
|
|
127
150
|
- **Header anchors**: Option to generate `<a>` anchor tags instead of header IDs
|
|
128
151
|
- **ARIA accessibility**: Add ARIA labels and accessibility attributes (`--aria`) for better screen reader support, including aria-label on TOC navigation, role attributes on figures and tables, and aria-describedby linking tables to their captions
|
|
152
|
+
- **Terminal output**: Render Markdown in the terminal with `-t terminal` / `-t terminal256`, themes, pagination, and optional inline images ([more info](https://github.com/ApexMarkdown/apex/wiki/Rendering-Markdown-In-Terminal))
|
|
153
|
+
- **RTF output**: Native Rich Text Format via `-t rtf` (files and `NSAttributedString`); see clipboard notes in [Command Line Options](https://github.com/ApexMarkdown/apex/wiki/Command-Line-Options)
|
|
129
154
|
- **Terminal inline images**: With `-t terminal` / `-t terminal256`, when stdout is a TTY and a viewer is available on `PATH`, Markdown images are rendered as inline terminal graphics (viewer order: `imgcat`, `chafa`, `viu`, `catimg`). Width is controlled with `--terminal-image-width` (default 50 character cells). HTTP(S) URLs are downloaded with `curl` (60s timeout, 10 MiB max) to a temp file under `TMPDIR` or `/tmp`. Use `--no-terminal-images` to always show images as styled link text plus URL instead. Metadata: `terminal.inline_images` / `terminal_inline_images`, `terminal.image_width` / `terminal_image_width`.
|
|
130
155
|
|
|
131
156
|
### Advanced Features
|
|
@@ -155,10 +180,14 @@ When installing from a direct Git URL or GitHub repo name,
|
|
|
155
180
|
Apex will prompt with a security warning before cloning,
|
|
156
181
|
since plugins execute unverified code.
|
|
157
182
|
|
|
158
|
-
For a complete guide to writing, installing, and publishing plugins, see the [Plugins](https://github.com/ApexMarkdown/apex/wiki/Plugins) page in the Apex Wiki.
|
|
183
|
+
For a complete guide to writing, installing, and publishing plugins, see the [Plugins](https://github.com/ApexMarkdown/apex/wiki/Plugins) page in the Apex Wiki. App developers can also use the [plugin catalog API](https://github.com/ApexMarkdown/apex/wiki/Xcode-Integration#plugin-catalog-and-installation) from Swift or Objective-C ([C API](https://github.com/ApexMarkdown/apex/wiki/C-API#plugin-catalog-api)).
|
|
184
|
+
|
|
185
|
+
**AST filters** (Pandoc-style JSON filters) are also supported via `--filter`, `--filters`, and `--lua-filter`. See [Filters](https://github.com/ApexMarkdown/apex/wiki/Filters).
|
|
159
186
|
|
|
160
187
|
## Installation
|
|
161
188
|
|
|
189
|
+
See the [Installation](https://github.com/ApexMarkdown/apex/wiki/Installation) wiki page for additional build options and platform notes.
|
|
190
|
+
|
|
162
191
|
### Homebrew (macOS/Linux)
|
|
163
192
|
|
|
164
193
|
```bash
|
|
@@ -197,6 +226,8 @@ Download pre-built binaries from the [latest release](https://github.com/ApexMar
|
|
|
197
226
|
|
|
198
227
|
## Basic Usage
|
|
199
228
|
|
|
229
|
+
See [Usage](https://github.com/ApexMarkdown/apex/wiki/Usage) and [Getting Started](https://github.com/ApexMarkdown/apex/wiki/Getting-Started) for more examples.
|
|
230
|
+
|
|
200
231
|
### Command Line
|
|
201
232
|
|
|
202
233
|
```bash
|
|
@@ -216,7 +247,7 @@ apex input.md --pretty
|
|
|
216
247
|
|
|
217
248
|
### Processing Modes
|
|
218
249
|
|
|
219
|
-
Apex supports multiple compatibility modes:
|
|
250
|
+
Apex supports multiple [compatibility modes](https://github.com/ApexMarkdown/apex/wiki/Modes):
|
|
220
251
|
|
|
221
252
|
- `--mode commonmark` - Pure CommonMark specification
|
|
222
253
|
- `--mode gfm` - GitHub Flavored Markdown
|
|
@@ -237,6 +268,8 @@ apex input.md --mode kramdown
|
|
|
237
268
|
|
|
238
269
|
### Common Options
|
|
239
270
|
|
|
271
|
+
See [Command Line Options](https://github.com/ApexMarkdown/apex/wiki/Command-Line-Options) for the full reference.
|
|
272
|
+
|
|
240
273
|
- `--pretty` - Pretty-print HTML with indentation
|
|
241
274
|
|
|
242
275
|
`--standalone` - Generate complete HTML document with `<html>`, `<head>`, `<body>`
|
|
@@ -292,6 +325,10 @@ apex input.md --mode kramdown
|
|
|
292
325
|
|
|
293
326
|
syntax (enabled by default in unified mode)
|
|
294
327
|
|
|
328
|
+
- `--py-callouts` / `--no-py-callouts` - Enable/disable Python-Markdown callout syntax (`!!!`) plus markdown-callouts label syntax (`NOTE: ...`, `>? NOTE: ...`) (disabled by default)
|
|
329
|
+
|
|
330
|
+
- `--quarto-callouts` / `--no-quarto-callouts` - Enable/disable Quarto `:::` callout syntax for `.callout-*` blocks (disabled by default; recognized callouts bypass generic div processing)
|
|
331
|
+
|
|
295
332
|
`--spans` / `--no-spans` - Enable/disable bracketed spans `[text]{IAL}` syntax (enabled by default in unified mode)
|
|
296
333
|
|
|
297
334
|
`--code-highlight TOOL` - Use external tool for syntax highlighting (supports `pygments`/`p`/`pyg`, `skylighting`/`s`/`sky`, or `shiki`/`sh`). Uses HTML or ANSI output based on destination format. Automatically includes GitHub-style CSS in standalone mode
|
|
@@ -301,7 +338,7 @@ apex input.md --mode kramdown
|
|
|
301
338
|
### All Options
|
|
302
339
|
|
|
303
340
|
```
|
|
304
|
-
Apex Markdown Processor v1.
|
|
341
|
+
Apex Markdown Processor v1.1.17
|
|
305
342
|
One Markdown processor to rule them all
|
|
306
343
|
|
|
307
344
|
Project homepage: https://github.com/ApexMarkdown/apex
|
|
@@ -325,6 +362,7 @@ Options:
|
|
|
325
362
|
--combine Concatenate Markdown files (expanding includes) into a single Markdown stream
|
|
326
363
|
When a SUMMARY.md file is provided, treat it as a GitBook index and combine
|
|
327
364
|
the linked files in order. Output is raw Markdown suitable for piping back into Apex.
|
|
365
|
+
--concordance FILE TextIndex concordance TSV file (can be used multiple times; enables indices)
|
|
328
366
|
--csl FILE Citation style file (CSL format)
|
|
329
367
|
--css FILE, --style FILE Link to CSS file(s) in document head. With HTML: requires -s/--standalone.
|
|
330
368
|
With -t man-html -s: include custom CSS in the man page. Can be used multiple times or comma-separated (e.g., --css style.css)
|
|
@@ -358,8 +396,8 @@ Options:
|
|
|
358
396
|
--[no-]mixed-lists Allow mixed list markers at same level (inherit type from first item)
|
|
359
397
|
--mmd-merge Merge files from one or more mmd_merge-style index files into a single Markdown stream
|
|
360
398
|
Index files list document parts line-by-line; indentation controls header level shifting.
|
|
361
|
-
-m, --mode MODE Processor mode: commonmark, gfm, mmd, kramdown, unified (default)
|
|
362
|
-
-t, --to FORMAT Output format: html (default), xhtml (alias for html + --xhtml), strict-xhtml (alias for html + --strict-xhtml), json (before filters), json-filtered/ast-json/ast (after filters), markdown/md, mmd, commonmark/cmark, kramdown, gfm, terminal/cli, terminal256, man, man-html
|
|
399
|
+
-m, --mode MODE Processor mode: commonmark, gfm, mmd, kramdown, unified, quarto (default)
|
|
400
|
+
-t, --to FORMAT Output format: html (default), xhtml (alias for html + --xhtml), strict-xhtml (alias for html + --strict-xhtml), json (before filters), json-filtered/ast-json/ast (after filters), markdown/md, mmd, commonmark/cmark, kramdown, gfm, terminal/cli, terminal256, man, man-html, toc, rtf
|
|
363
401
|
--no-bibliography Suppress bibliography output
|
|
364
402
|
--no-footnotes Disable footnote support
|
|
365
403
|
--no-ids Disable automatic header ID generation
|
|
@@ -372,6 +410,8 @@ Options:
|
|
|
372
410
|
--no-smart Disable smart typography
|
|
373
411
|
--no-sup-sub Disable superscript/subscript syntax
|
|
374
412
|
--[no-]divs Enable or disable Pandoc fenced divs (Unified mode only)
|
|
413
|
+
--[no-]py-callouts Enable or disable Python-Markdown !!! callout syntax (default: disabled)
|
|
414
|
+
--[no-]quarto-callouts Enable or disable Quarto ::: {.callout-*} syntax (default: disabled)
|
|
375
415
|
--[no-]one-line-definitions Enable or disable one-line definition lists (Term :: Definition)
|
|
376
416
|
--[no-]spans Enable or disable bracketed spans [text]{IAL} (Pandoc-style, enabled by default in unified mode)
|
|
377
417
|
--no-tables Disable table support
|
|
@@ -388,6 +428,7 @@ Options:
|
|
|
388
428
|
--strict-xhtml Polyglot XHTML/XML for parsers (xmlns, application/xhtml+xml meta; implies --xhtml). Mutually exclusive with --xhtml. Same as -t strict-xhtml.
|
|
389
429
|
--reject Reject all Critic Markup changes (revert edits)
|
|
390
430
|
--[no-]relaxed-tables Enable or disable relaxed table parsing (no separator rows required)
|
|
431
|
+
--[no-]grid-tables Enable or disable Pandoc grid table syntax (+---+ borders; disabled by default)
|
|
391
432
|
--[no-]per-cell-alignment Enable or disable per-cell alignment markers (colons at start/end of cells, enabled by default in unified mode)
|
|
392
433
|
--script VALUE Inject <script> tags before </body> (standalone) or at end of HTML (snippet).
|
|
393
434
|
VALUE can be a path, URL, or shorthand (mermaid, mathjax, katex). Can be used multiple times or as a comma-separated list.
|
|
@@ -396,6 +437,7 @@ Options:
|
|
|
396
437
|
--[no-]sup-sub Enable or disable MultiMarkdown-style superscript (^text^) and subscript (~text~) syntax
|
|
397
438
|
--[no-]strikethrough Enable or disable GFM-style ~~strikethrough~~ processing
|
|
398
439
|
--title TITLE Document title (requires --standalone, default: "Document")
|
|
440
|
+
--toc-min-max MIN,MAX TOC heading depth (default 1,3) for -t toc and bare HTML TOC markers; marker ranges still override
|
|
399
441
|
--[no-]transforms Enable or disable metadata variable transforms [%key:transform]
|
|
400
442
|
--[no-]unsafe Allow or disallow raw HTML in output
|
|
401
443
|
--widont Prevent short widows in headings by inserting non-breaking spaces between trailing words
|
|
@@ -418,6 +460,8 @@ Options:
|
|
|
418
460
|
--no-terminal-images Do not render local images via imgcat/chafa/viu/catimg on terminal output
|
|
419
461
|
--terminal-image-width N Max width/cells for terminal image tools (default: 50)
|
|
420
462
|
-p, --paginate Page terminal/cli/terminal256 output through a pager (APEX_PAGER, then PAGER, then less -R)
|
|
463
|
+
--paginate-symbols Page output and render images as chafa ANSI art (compatible with less -R)
|
|
464
|
+
--no-paginate Do not page terminal output (overrides -p and paginate: true in config/metadata)
|
|
421
465
|
|
|
422
466
|
If no file is specified, reads from stdin.
|
|
423
467
|
|
|
@@ -431,6 +475,8 @@ different settings when processing batches. Boolean options
|
|
|
431
475
|
accept `true`/`false`, `yes`/`no`, or `1`/`0`
|
|
432
476
|
(case-insensitive). String options use the value directly.
|
|
433
477
|
|
|
478
|
+
See [Configuration](https://github.com/ApexMarkdown/apex/wiki/Configuration) for the complete list of metadata-controlled options.
|
|
479
|
+
|
|
434
480
|
**Example:**
|
|
435
481
|
|
|
436
482
|
```yaml
|
|
@@ -453,11 +499,24 @@ For complete documentation, see the [Apex Wiki](https://github.com/ApexMarkdown/
|
|
|
453
499
|
|
|
454
500
|
Key documentation pages:
|
|
455
501
|
|
|
456
|
-
[
|
|
457
|
-
|
|
458
|
-
[
|
|
459
|
-
|
|
460
|
-
[
|
|
502
|
+
- [Getting Started](https://github.com/ApexMarkdown/apex/wiki/Getting-Started) - Your first steps with Apex
|
|
503
|
+
- [Installation](https://github.com/ApexMarkdown/apex/wiki/Installation) - Build and install options
|
|
504
|
+
- [Usage](https://github.com/ApexMarkdown/apex/wiki/Usage) - Basic usage examples
|
|
505
|
+
- [Syntax](https://github.com/ApexMarkdown/apex/wiki/Syntax) - Complete syntax reference
|
|
506
|
+
- [Modes](https://github.com/ApexMarkdown/apex/wiki/Modes) - Processor compatibility modes
|
|
507
|
+
- [Tables](https://github.com/ApexMarkdown/apex/wiki/Tables) - Table syntax, captions, rowspan/colspan
|
|
508
|
+
- [Callouts](https://github.com/ApexMarkdown/apex/wiki/Callouts) - Callout formats and flags
|
|
509
|
+
- [Command Line Options](https://github.com/ApexMarkdown/apex/wiki/Command-Line-Options) - All CLI flags explained
|
|
510
|
+
- [Configuration](https://github.com/ApexMarkdown/apex/wiki/Configuration) - Metadata-controlled options
|
|
511
|
+
- [Multi-File Documents](https://github.com/ApexMarkdown/apex/wiki/Multi-File-Documents) - `--combine`, `--mmd-merge`, includes
|
|
512
|
+
- [Citations](https://github.com/ApexMarkdown/apex/wiki/Citations) - Citations and bibliographies
|
|
513
|
+
- [Indices](https://github.com/ApexMarkdown/apex/wiki/Indices) - Index generation
|
|
514
|
+
- [Plugins](https://github.com/ApexMarkdown/apex/wiki/Plugins) - Plugin system and recipes
|
|
515
|
+
- [Filters](https://github.com/ApexMarkdown/apex/wiki/Filters) - AST filters
|
|
516
|
+
- [Xcode Integration](https://github.com/ApexMarkdown/apex/wiki/Xcode-Integration) - Swift Package Manager and app integration
|
|
517
|
+
- [C API](https://github.com/ApexMarkdown/apex/wiki/C-API) - Programmatic API
|
|
518
|
+
- [Pandoc Integration](https://github.com/ApexMarkdown/apex/wiki/Pandoc-Integration) - Use Apex with Pandoc
|
|
519
|
+
- [Troubleshooting](https://github.com/ApexMarkdown/apex/wiki/Troubleshooting) - Common issues
|
|
461
520
|
|
|
462
521
|
## Contributing
|
|
463
522
|
|
|
@@ -474,4 +533,4 @@ Please note the [tests requirement for new features](https://github.com/ApexMark
|
|
|
474
533
|
|
|
475
534
|
## License
|
|
476
535
|
|
|
477
|
-
This project is licensed under the MIT License - see the [LICENSE](
|
|
536
|
+
This project is licensed under the MIT License - see the [LICENSE](https://github.com/ApexMarkdown/apex/blob/main/LICENSE) file for details.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.1.20
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
[DEBUG] Detected colon caption: ': Sales Data Q4 2024' (after_table=0, before_table=1, prev_line_was_table_row=0, in_table_section=0)
|
|
2
|
+
[DEBUG] Detected colon caption: ': Quarterly Performance' (after_table=0, before_table=1, prev_line_was_table_row=0, in_table_section=0)
|
|
3
|
+
[DEBUG] Detected colon caption: ': Employee Roster {#employee-table .data-table}' (after_table=0, before_table=1, prev_line_was_table_row=0, in_table_section=0)
|
|
4
|
+
[DEBUG][table_html_postprocess] paragraph before strip checks: 'Table: Travel Statistics'
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"folders": [
|
|
3
|
+
{
|
|
4
|
+
"path": "."
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
"path": "../apex-ruby"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"path": "../apex.wiki"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"path": "../apex-plugin-kbd"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"path": "../apex-plugin-md-fixup"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"path": "../apex-plugins"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"path": "../apex-filters"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"path": "../apex-filter-delink"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"path": "../apex-filter-title"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"path": "../apex-filter-uppercase"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"path": "../apex-filter-unwrap"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"settings": {}
|
|
38
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Inbox:
|
|
2
|
+
- Code block containing image markup renders empty
|
|
3
|
+
This doesn't seem to be happening anymore
|
|
4
|
+
Feature Requests:
|
|
5
|
+
Ideas:
|
|
6
|
+
Bugs:
|
|
7
|
+
Archive:
|
|
8
|
+
Search Definitions:
|
|
9
|
+
Top Priority @search(@priority = 5 and not @done)
|
|
10
|
+
High Priority @search(@priority > 3 and not @done)
|
|
11
|
+
Maybe @search(@maybe)
|
|
12
|
+
Next @search(@na and not @done and not project = "Archive")
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
[deflist] conversion pipeline started; enable_definition_lists=1
|
|
2
|
+
[deflist] apex_process_definition_lists (preprocessor) entered
|
|
3
|
+
[deflist open_block] definition line recognized len=15
|
|
4
|
+
[deflist open_block] prev=0x7f4c20000 type=32776 content.size=10 parser->current=0x7f4c20000
|
|
5
|
+
[deflist open_block] content: **--foo**
|
|
6
|
+
|
|
7
|
+
[deflist open_block] definition line recognized len=15
|
|
8
|
+
[deflist postprocess] entered root=0x100bbe810 root.type=32769 first_child=0x7f4c20000
|
|
9
|
+
block=0x7f4c20000 type=32776
|
|
10
|
+
block=0x7f4c200c0 type=32783
|
|
11
|
+
block=0x7f4c20240 type=32776
|
|
12
|
+
[deflist ensure_node_has_content_from_block] node=0x7f4c20000 content.len=10 ptr=0x100bbf130
|
|
13
|
+
[deflist postprocess] def_list=0x7f4c200c0 term=0x7f4c20180 term_para=0x0 term_para.first_child=0x0 next_sib=0x0 next_sib.type=0 next_sib.first_child=0x0
|
|
14
|
+
[deflist] conversion pipeline started; enable_definition_lists=1
|
|
15
|
+
[deflist] apex_process_definition_lists (preprocessor) entered
|
|
16
|
+
[deflist open_block] definition line recognized len=15
|
|
17
|
+
[deflist open_block] prev=0x703020000 type=32776 content.size=10 parser->current=0x703020000
|
|
18
|
+
[deflist open_block] content: **--foo**
|
|
19
|
+
|
|
20
|
+
[deflist open_block] definition line recognized len=15
|
|
21
|
+
[deflist postprocess] entered root=0x10534e980 root.type=32769 first_child=0x703020000
|
|
22
|
+
block=0x703020000 type=32776
|
|
23
|
+
block=0x7030200c0 type=32783
|
|
24
|
+
block=0x703020240 type=32776
|
|
25
|
+
[deflist postprocess] def_list=0x7030200c0 term=0x703020180 term_para=0x703020600 term_para.first_child=0x7030203c0 next_sib=0x0 next_sib.type=0 next_sib.first_child=0x0
|