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
|
@@ -0,0 +1,2327 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
|
|
6
|
+
<meta charset="UTF-8">
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
8
|
+
<meta name="generator" content="Apex 1.1.12">
|
|
9
|
+
<title>Document</title>
|
|
10
|
+
<style>
|
|
11
|
+
/* GitHub-style syntax highlighting for Pygments and Skylighting */
|
|
12
|
+
/* Don't apply background to wrapper when code highlighting is enabled - let default styles handle it */
|
|
13
|
+
.code-highlighted .highlight, .code-highlighted .sourceCode { background: inherit; border-radius: 6px; padding: 16px; overflow-x: auto; }
|
|
14
|
+
.highlight pre, .sourceCode pre { margin: 0; padding: 0; background: transparent; }
|
|
15
|
+
.highlight code, .sourceCode code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; font-size: 12px; line-height: 1.45; }
|
|
16
|
+
/* Pygments classes */
|
|
17
|
+
.highlight .k { color: #d73a49; font-weight: 600; } /* Keyword */
|
|
18
|
+
.highlight .kt { color: #d73a49; } /* Keyword.Type */
|
|
19
|
+
.highlight .kd { color: #d73a49; font-weight: 600; } /* Keyword.Declaration */
|
|
20
|
+
.highlight .kn { color: #d73a49; } /* Keyword.Namespace */
|
|
21
|
+
.highlight .kp { color: #d73a49; } /* Keyword.Pseudo */
|
|
22
|
+
.highlight .kr { color: #d73a49; font-weight: 600; } /* Keyword.Reserved */
|
|
23
|
+
.highlight .n { color: #6f42c1; } /* Name */
|
|
24
|
+
.highlight .na { color: #6f42c1; } /* Name.Attribute */
|
|
25
|
+
.highlight .nc { color: #6f42c1; font-weight: 600; } /* Name.Class */
|
|
26
|
+
.highlight .no { color: #005cc5; } /* Name.Constant */
|
|
27
|
+
.highlight .nd { color: #6f42c1; font-weight: 600; } /* Name.Decorator */
|
|
28
|
+
.highlight .ni { color: #800080; } /* Name.Entity */
|
|
29
|
+
.highlight .ne { color: #990000; font-weight: 600; } /* Name.Exception */
|
|
30
|
+
.highlight .nf { color: #6f42c1; font-weight: 600; } /* Name.Function */
|
|
31
|
+
.highlight .nl { color: #6f42c1; } /* Name.Label */
|
|
32
|
+
.highlight .nn { color: #555; } /* Name.Namespace */
|
|
33
|
+
.highlight .nt { color: #22863a; } /* Name.Tag */
|
|
34
|
+
.highlight .nv { color: #e36209; } /* Name.Variable */
|
|
35
|
+
.highlight .s { color: #032f62; } /* String */
|
|
36
|
+
.highlight .sb { color: #032f62; } /* String.Backtick */
|
|
37
|
+
.highlight .sc { color: #032f62; } /* String.Char */
|
|
38
|
+
.highlight .sd { color: #032f62; } /* String.Doc */
|
|
39
|
+
.highlight .s2 { color: #032f62; } /* String.Double */
|
|
40
|
+
.highlight .se { color: #032f62; } /* String.Escape */
|
|
41
|
+
.highlight .sh { color: #032f62; } /* String.Heredoc */
|
|
42
|
+
.highlight .si { color: #032f62; } /* String.Interpol */
|
|
43
|
+
.highlight .sx { color: #032f62; } /* String.Other */
|
|
44
|
+
.highlight .sr { color: #032f62; } /* String.Regex */
|
|
45
|
+
.highlight .s1 { color: #032f62; } /* String.Single */
|
|
46
|
+
.highlight .ss { color: #032f62; } /* String.Symbol */
|
|
47
|
+
.highlight .c { color: #6a737d; font-style: italic; } /* Comment */
|
|
48
|
+
.highlight .c1 { color: #6a737d; font-style: italic; } /* Comment.Single */
|
|
49
|
+
.highlight .cm { color: #6a737d; font-style: italic; } /* Comment.Multiline */
|
|
50
|
+
.highlight .cp { color: #6a737d; font-weight: 600; } /* Comment.Preproc */
|
|
51
|
+
.highlight .cs { color: #6a737d; font-weight: 600; font-style: italic; } /* Comment.Special */
|
|
52
|
+
.highlight .m { color: #005cc5; } /* Literal.Number */
|
|
53
|
+
.highlight .mb { color: #005cc5; } /* Literal.Number.Bin */
|
|
54
|
+
.highlight .mf { color: #005cc5; } /* Literal.Number.Float */
|
|
55
|
+
.highlight .mh { color: #005cc5; } /* Literal.Number.Hex */
|
|
56
|
+
.highlight .mi { color: #005cc5; } /* Literal.Number.Integer */
|
|
57
|
+
.highlight .il { color: #005cc5; } /* Literal.Number.Integer.Long */
|
|
58
|
+
.highlight .mo { color: #005cc5; } /* Literal.Number.Oct */
|
|
59
|
+
.highlight .o { color: #d73a49; } /* Operator */
|
|
60
|
+
.highlight .ow { color: #d73a49; } /* Operator.Word */
|
|
61
|
+
.highlight .p { color: #24292e; } /* Punctuation */
|
|
62
|
+
.highlight .w { color: #e1e4e8; } /* Text.Whitespace */
|
|
63
|
+
/* Skylighting classes */
|
|
64
|
+
.sourceCode .kw { color: #d73a49; font-weight: 600; } /* Keyword */
|
|
65
|
+
.sourceCode .dt { color: #6f42c1; } /* DataType */
|
|
66
|
+
.sourceCode .dv { color: #005cc5; } /* DecVal */
|
|
67
|
+
.sourceCode .bn { color: #005cc5; } /* BaseN */
|
|
68
|
+
.sourceCode .fl { color: #005cc5; } /* Float */
|
|
69
|
+
.sourceCode .ch { color: #032f62; } /* Char */
|
|
70
|
+
.sourceCode .st { color: #032f62; } /* String */
|
|
71
|
+
.sourceCode .co { color: #6a737d; font-style: italic; } /* Comment */
|
|
72
|
+
.sourceCode .ot { color: #22863a; } /* Other */
|
|
73
|
+
.sourceCode .al { color: #e36209; font-weight: 600; } /* Alert */
|
|
74
|
+
.sourceCode .fu { color: #6f42c1; font-weight: 600; } /* Function */
|
|
75
|
+
.sourceCode .re { color: #032f62; } /* RegionMarker */
|
|
76
|
+
.sourceCode .er { color: #d73a49; font-weight: 600; } /* Error */
|
|
77
|
+
.sourceCode .cf { color: #d73a49; font-weight: 600; } /* ControlFlow */
|
|
78
|
+
.sourceCode .op { color: #d73a49; } /* Operator */
|
|
79
|
+
.sourceCode .pp { color: #6a737d; } /* Preprocessor */
|
|
80
|
+
.sourceCode .at { color: #005cc5; } /* Attribute */
|
|
81
|
+
.sourceCode .do { color: #6a737d; font-style: italic; } /* Documentation */
|
|
82
|
+
.sourceCode .an { color: #6a737d; font-weight: 600; } /* Annotation */
|
|
83
|
+
.sourceCode .cv { color: #6a737d; font-weight: 600; font-style: italic; } /* CommentVar */
|
|
84
|
+
.sourceCode .in { color: #6a737d; } /* Information */
|
|
85
|
+
.sourceCode .wa { color: #e36209; font-weight: 600; } /* Warning */
|
|
86
|
+
.sourceCode .im { color: #d73a49; } /* Import */
|
|
87
|
+
.sourceCode .bu { color: #005cc5; } /* BuiltIn */
|
|
88
|
+
.sourceCode .ex { color: #6f42c1; } /* Extension */
|
|
89
|
+
.sourceCode .va { color: #e36209; } /* Variable */
|
|
90
|
+
.sourceCode .ss { color: #032f62; } /* SpecialString */
|
|
91
|
+
.sourceCode .sc { color: #032f62; } /* SpecialChar */
|
|
92
|
+
.sourceCode .vs { color: #032f62; } /* VerbatimString */
|
|
93
|
+
.sourceCode .il { color: #005cc5; } /* Special */
|
|
94
|
+
/* Line numbers (Skylighting) */
|
|
95
|
+
.sourceCode.numberSource .sourceCode { counter-reset: line; }
|
|
96
|
+
.sourceCode.numberSource .sourceCode > span { position: relative; left: -4em; counter-increment: line; }
|
|
97
|
+
.sourceCode.numberSource .sourceCode > span > a:first-child::before { content: counter(line); position: relative; left: -1em; text-align: right; vertical-align: baseline; border: none; display: inline-block; min-width: 1em; padding-right: 0.5em; color: #aaa; }
|
|
98
|
+
</style>
|
|
99
|
+
<style>
|
|
100
|
+
body {
|
|
101
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
|
|
102
|
+
line-height: 1.6;
|
|
103
|
+
max-width: 800px;
|
|
104
|
+
margin: 2rem auto;
|
|
105
|
+
padding: 0 1rem;
|
|
106
|
+
color: #333;
|
|
107
|
+
}
|
|
108
|
+
pre { background: #f5f5f5; padding: 1rem; overflow-x: auto; }
|
|
109
|
+
code { background: #f0f0f0; padding: 0.2em 0.4em; border-radius: 3px; }
|
|
110
|
+
blockquote { border-left: 4px solid #ddd; margin: 0; padding-left: 1rem; color: #666; }
|
|
111
|
+
table { border-collapse: collapse; width: 100%%; }
|
|
112
|
+
th, td { border: 1px solid #ddd; padding: 0.5rem; }
|
|
113
|
+
th { background: #f5f5f5; }
|
|
114
|
+
tfoot td { background: #e8e8e8; }
|
|
115
|
+
figure.table-figure { width: fit-content; margin: 1em 0; }
|
|
116
|
+
figure.table-figure table { width: auto; }
|
|
117
|
+
figcaption { text-align: center; font-weight: bold; font-size: 0.8em; }
|
|
118
|
+
.page-break { page-break-after: always; }
|
|
119
|
+
.callout { padding: 1rem; margin: 1rem 0; border-left: 4px solid; }
|
|
120
|
+
.callout-note { border-color: #3b82f6; background: #eff6ff; }
|
|
121
|
+
.callout-warning { border-color: #f59e0b; background: #fffbeb; }
|
|
122
|
+
.callout-tip { border-color: #10b981; background: #f0fdf4; }
|
|
123
|
+
.callout-danger { border-color: #ef4444; background: #fef2f2; }
|
|
124
|
+
ins { background: #d4fcbc; text-decoration: none; }
|
|
125
|
+
del { background: #fbb6c2; text-decoration: line-through; }
|
|
126
|
+
mark { background: #fff3cd; }
|
|
127
|
+
.smallcaps { font-variant: small-caps; }
|
|
128
|
+
.underline { text-decoration: underline; }
|
|
129
|
+
span.mark { background: #fff3cd; }
|
|
130
|
+
.hidden { display: none; }
|
|
131
|
+
.quarto-xref { font-variant: normal; }
|
|
132
|
+
.critic.comment { background: #e7e7e7; color: #666; font-style: italic; }
|
|
133
|
+
.mkhashtag { color: #666; }
|
|
134
|
+
.mkstyledtag {
|
|
135
|
+
display: inline-block;
|
|
136
|
+
background: #e0e0e0;
|
|
137
|
+
padding: 3px 9px;
|
|
138
|
+
border-radius: 20px;
|
|
139
|
+
font-size: 0.9em;
|
|
140
|
+
line-height: 1.4;
|
|
141
|
+
color: #333;
|
|
142
|
+
margin: 0 2px;
|
|
143
|
+
}
|
|
144
|
+
</style>
|
|
145
|
+
<meta name="paginate" content="symbols"/>
|
|
146
|
+
<meta name="highlight-language-only" content="true"/>
|
|
147
|
+
<meta name="code-line-numbers" content="false"/>
|
|
148
|
+
<meta name="code-highlight" content="pygments"/>
|
|
149
|
+
<meta name="sup-sub" content="true"/>
|
|
150
|
+
<meta name="relaxed-tables" content="true"/>
|
|
151
|
+
<meta name="includes" content="true"/>
|
|
152
|
+
<meta name="autolink" content="true"/>
|
|
153
|
+
<meta name="pretty" content="false"/>
|
|
154
|
+
<meta name="standalone" content="false"/>
|
|
155
|
+
<meta name="mode" content="unified"/>
|
|
156
|
+
<meta name="markdown-in-html" content="true"/>
|
|
157
|
+
<meta name="image-captions" content="true"/>
|
|
158
|
+
<meta name="wikilink-extension" content="html"/>
|
|
159
|
+
<meta name="wikilink-space" content="hyphen"/>
|
|
160
|
+
<meta name="wikilinks" content="true"/>
|
|
161
|
+
<meta name="widont" content="true"/>
|
|
162
|
+
<meta name="plugins" content="true"/>
|
|
163
|
+
<meta name="id-format" content="gfm"/>
|
|
164
|
+
|
|
165
|
+
<style>
|
|
166
|
+
:root {
|
|
167
|
+
/* border-box width of the fixed sidebar; body offset includes a small gap */
|
|
168
|
+
--sidebar-width: 250px;
|
|
169
|
+
--sidebar-offset: 270px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/* Base styles — override Apex standalone centering (max-width + margin: auto) */
|
|
173
|
+
body {
|
|
174
|
+
-webkit-font-smoothing: antialiased;
|
|
175
|
+
-moz-osx-font-smoothing: grayscale;
|
|
176
|
+
font-size: 17px;
|
|
177
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
178
|
+
"Helvetica Neue", Arial, sans-serif;
|
|
179
|
+
line-height: 1.65;
|
|
180
|
+
color: #1e293b;
|
|
181
|
+
background-color: #fff;
|
|
182
|
+
max-width: none;
|
|
183
|
+
width: auto;
|
|
184
|
+
margin: 2rem 2rem 2rem var(--sidebar-offset);
|
|
185
|
+
padding: 0 1rem;
|
|
186
|
+
box-sizing: border-box;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/* Sidebar / Main TOC - wider on larger screens */
|
|
190
|
+
.main-toc,
|
|
191
|
+
.sidebar {
|
|
192
|
+
position: fixed;
|
|
193
|
+
left: 0;
|
|
194
|
+
top: 0;
|
|
195
|
+
box-sizing: border-box;
|
|
196
|
+
width: var(--sidebar-width);
|
|
197
|
+
min-width: var(--sidebar-width);
|
|
198
|
+
max-width: var(--sidebar-width);
|
|
199
|
+
height: 100vh;
|
|
200
|
+
overflow-y: auto;
|
|
201
|
+
background: #1e293b;
|
|
202
|
+
color: rgba(255, 255, 255, 0.9);
|
|
203
|
+
border-right: 2px solid rgba(255, 255, 255, 0.1);
|
|
204
|
+
padding: 24px 20px 130px;
|
|
205
|
+
font-size: 14px;
|
|
206
|
+
z-index: 100;
|
|
207
|
+
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
|
|
208
|
+
transition: transform 0.3s ease;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.main-toc ul,
|
|
212
|
+
.sidebar ul {
|
|
213
|
+
list-style: none;
|
|
214
|
+
padding-left: 0;
|
|
215
|
+
margin: 0;
|
|
216
|
+
padding-bottom: 80px;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.main-toc ul::after,
|
|
220
|
+
.sidebar ul::after {
|
|
221
|
+
content: "";
|
|
222
|
+
display: block;
|
|
223
|
+
height: 80px;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.main-toc li,
|
|
227
|
+
.sidebar li {
|
|
228
|
+
margin: 0.25em 0;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.main-toc a,
|
|
232
|
+
.sidebar a {
|
|
233
|
+
color: rgba(255, 255, 255, 0.85);
|
|
234
|
+
text-decoration: none;
|
|
235
|
+
display: block;
|
|
236
|
+
padding: 6px 12px;
|
|
237
|
+
border-radius: 4px;
|
|
238
|
+
transition: all 0.15s ease;
|
|
239
|
+
white-space: nowrap;
|
|
240
|
+
overflow: hidden;
|
|
241
|
+
text-overflow: ellipsis;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.main-toc a:hover,
|
|
245
|
+
.sidebar a:hover {
|
|
246
|
+
background: #334155;
|
|
247
|
+
color: #fff;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.sidebar a.active {
|
|
251
|
+
color: #0ea5e9;
|
|
252
|
+
font-weight: 500;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/* Hamburger menu button */
|
|
256
|
+
.hamburger-menu {
|
|
257
|
+
display: none;
|
|
258
|
+
position: fixed;
|
|
259
|
+
top: 12px;
|
|
260
|
+
left: 12px;
|
|
261
|
+
z-index: 200;
|
|
262
|
+
background: #1e293b;
|
|
263
|
+
border: 2px solid rgba(255, 255, 255, 0.1);
|
|
264
|
+
border-radius: 6px;
|
|
265
|
+
padding: 10px;
|
|
266
|
+
cursor: pointer;
|
|
267
|
+
color: rgba(255, 255, 255, 0.9);
|
|
268
|
+
font-size: 20px;
|
|
269
|
+
line-height: 1;
|
|
270
|
+
box-sizing: border-box;
|
|
271
|
+
width: 44px;
|
|
272
|
+
height: 44px;
|
|
273
|
+
align-items: center;
|
|
274
|
+
justify-content: center;
|
|
275
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
276
|
+
transition: all 0.2s ease;
|
|
277
|
+
opacity: 0.2;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.hamburger-menu:hover {
|
|
281
|
+
background: #334155;
|
|
282
|
+
color: #fff;
|
|
283
|
+
opacity: 1;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/* Move hamburger to the right of the sidebar when menu is open */
|
|
287
|
+
.hamburger-menu.active {
|
|
288
|
+
left: calc(var(--sidebar-width) + 12px);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.hamburger-menu.active {
|
|
292
|
+
background: #0ea5e9;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.hamburger-menu::before {
|
|
296
|
+
content: "☰";
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.hamburger-menu.active::before {
|
|
300
|
+
content: "✕";
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/* Mobile menu overlay */
|
|
304
|
+
.mobile-menu-overlay {
|
|
305
|
+
display: none;
|
|
306
|
+
position: fixed;
|
|
307
|
+
top: 0;
|
|
308
|
+
left: 0;
|
|
309
|
+
right: 0;
|
|
310
|
+
bottom: 0;
|
|
311
|
+
background: rgba(0, 0, 0, 0.5);
|
|
312
|
+
z-index: 150;
|
|
313
|
+
opacity: 0;
|
|
314
|
+
visibility: hidden;
|
|
315
|
+
transition: opacity 0.3s ease, visibility 0.3s ease;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.mobile-menu-overlay.active {
|
|
319
|
+
opacity: 1;
|
|
320
|
+
visibility: visible;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/* Page TOC */
|
|
324
|
+
.page-toc {
|
|
325
|
+
background: #f9f9f9;
|
|
326
|
+
border: 1px solid #ddd;
|
|
327
|
+
border-radius: 4px;
|
|
328
|
+
padding: 1rem;
|
|
329
|
+
margin: 1.5rem 0;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.page-toc ul {
|
|
333
|
+
list-style: none;
|
|
334
|
+
padding-left: 0;
|
|
335
|
+
margin: 0;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.page-toc > ul {
|
|
339
|
+
padding-left: 0;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.page-toc li {
|
|
343
|
+
margin: 0.25em 0;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.page-toc a {
|
|
347
|
+
color: #0066cc;
|
|
348
|
+
text-decoration: none;
|
|
349
|
+
display: block;
|
|
350
|
+
padding: 0.25em 0.5em;
|
|
351
|
+
border-radius: 3px;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.page-toc a:hover {
|
|
355
|
+
background: #e0e0e0;
|
|
356
|
+
color: #004499;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.page-toc ul ul {
|
|
360
|
+
list-style: none;
|
|
361
|
+
padding-left: 1.5em;
|
|
362
|
+
margin-top: 0.25em;
|
|
363
|
+
margin-left: 0;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.page-toc ul ul ul {
|
|
367
|
+
padding-left: 1.5em;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.page-toc ul ul a {
|
|
371
|
+
font-size: 0.9em;
|
|
372
|
+
color: #555;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.page-toc ul ul ul a {
|
|
376
|
+
font-size: 0.85em;
|
|
377
|
+
color: #666;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/* Floating TOC */
|
|
381
|
+
.floating-toc {
|
|
382
|
+
position: fixed;
|
|
383
|
+
top: 0;
|
|
384
|
+
left: var(--sidebar-offset);
|
|
385
|
+
right: 0;
|
|
386
|
+
z-index: 50;
|
|
387
|
+
opacity: 0;
|
|
388
|
+
visibility: hidden;
|
|
389
|
+
transition: opacity 0.2s ease, visibility 0.2s ease;
|
|
390
|
+
pointer-events: none;
|
|
391
|
+
display: flex;
|
|
392
|
+
justify-content: flex-end;
|
|
393
|
+
padding-right: 2rem;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.floating-toc.visible {
|
|
397
|
+
opacity: 1;
|
|
398
|
+
visibility: visible;
|
|
399
|
+
pointer-events: auto;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.floating-toc-container {
|
|
403
|
+
background: rgba(255, 255, 255, 0.95);
|
|
404
|
+
backdrop-filter: blur(10px);
|
|
405
|
+
border-bottom: 1px solid #ddd;
|
|
406
|
+
border-radius: 0 0 12px 12px;
|
|
407
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
408
|
+
width: fit-content;
|
|
409
|
+
max-width: 400px;
|
|
410
|
+
min-width: 200px;
|
|
411
|
+
overflow: hidden;
|
|
412
|
+
transition: max-height 0.3s ease;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.floating-toc-header {
|
|
416
|
+
padding: 8px 16px;
|
|
417
|
+
cursor: pointer;
|
|
418
|
+
user-select: none;
|
|
419
|
+
font-size: 14px;
|
|
420
|
+
font-weight: 500;
|
|
421
|
+
color: #1e293b;
|
|
422
|
+
display: flex;
|
|
423
|
+
align-items: center;
|
|
424
|
+
justify-content: space-between;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.floating-toc-header:hover {
|
|
428
|
+
background: rgba(0, 0, 0, 0.02);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.floating-toc-content {
|
|
432
|
+
max-height: 0;
|
|
433
|
+
overflow: hidden;
|
|
434
|
+
transition: max-height 0.3s ease;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.floating-toc-container:hover .floating-toc-content {
|
|
438
|
+
max-height: 70vh;
|
|
439
|
+
overflow-y: auto;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
.floating-toc-content ul {
|
|
443
|
+
list-style: none;
|
|
444
|
+
padding: 8px 16px 16px;
|
|
445
|
+
margin: 0;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.floating-toc-content li {
|
|
449
|
+
margin: 0.1em 0;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.floating-toc-content a {
|
|
453
|
+
color: #0066cc;
|
|
454
|
+
text-decoration: none;
|
|
455
|
+
display: block;
|
|
456
|
+
padding: 0.2em 0.5em;
|
|
457
|
+
border-radius: 4px;
|
|
458
|
+
font-size: 13px;
|
|
459
|
+
transition: background 0.15s ease;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.floating-toc-content a:hover {
|
|
463
|
+
background: #e0e0e0;
|
|
464
|
+
color: #004499;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.floating-toc-content ul ul {
|
|
468
|
+
padding-left: 1.2em;
|
|
469
|
+
margin-top: 0;
|
|
470
|
+
margin-bottom: 0;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.floating-toc-content ul ul ul {
|
|
474
|
+
margin-top: 0;
|
|
475
|
+
margin-bottom: 0;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.floating-toc-content ul ul a {
|
|
479
|
+
font-size: 12px;
|
|
480
|
+
color: #555;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.floating-toc-content ul ul ul a {
|
|
484
|
+
font-size: 11px;
|
|
485
|
+
color: #666;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
/* Smooth scrolling */
|
|
489
|
+
html {
|
|
490
|
+
scroll-behavior: smooth;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/* Code blocks */
|
|
494
|
+
code {
|
|
495
|
+
background: #f0f0f0;
|
|
496
|
+
padding: 0.2em 0.4em;
|
|
497
|
+
border-radius: 3px;
|
|
498
|
+
font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
|
|
499
|
+
font-size: 0.9em;
|
|
500
|
+
margin: 0 0.1em;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
pre {
|
|
504
|
+
background: #f5f5f5;
|
|
505
|
+
padding: 1rem;
|
|
506
|
+
overflow-x: auto;
|
|
507
|
+
border-radius: 4px;
|
|
508
|
+
margin: 1em 0;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
pre code {
|
|
512
|
+
background: none;
|
|
513
|
+
padding: 0;
|
|
514
|
+
margin: 0;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/* Rouge syntax highlighting - GitHub theme, scoped to .highlight containers */
|
|
518
|
+
.highlight {
|
|
519
|
+
color: #24292e;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.highlight .c {
|
|
523
|
+
color: #6a737d;
|
|
524
|
+
font-style: italic;
|
|
525
|
+
} /* Comment */
|
|
526
|
+
.highlight .err {
|
|
527
|
+
color: #a61717;
|
|
528
|
+
background-color: #e3d2d2;
|
|
529
|
+
} /* Error */
|
|
530
|
+
.highlight .k {
|
|
531
|
+
color: #d73a49;
|
|
532
|
+
font-weight: bold;
|
|
533
|
+
} /* Keyword */
|
|
534
|
+
.highlight .l {
|
|
535
|
+
color: #032f62;
|
|
536
|
+
} /* Literal */
|
|
537
|
+
.highlight .n {
|
|
538
|
+
color: #24292e;
|
|
539
|
+
} /* Name */
|
|
540
|
+
.highlight .o {
|
|
541
|
+
color: #d73a49;
|
|
542
|
+
} /* Operator */
|
|
543
|
+
.highlight .p {
|
|
544
|
+
color: #24292e;
|
|
545
|
+
} /* Punctuation */
|
|
546
|
+
.highlight .cm {
|
|
547
|
+
color: #6a737d;
|
|
548
|
+
font-style: italic;
|
|
549
|
+
} /* Comment.Multiline */
|
|
550
|
+
.highlight .cp {
|
|
551
|
+
color: #6a737d;
|
|
552
|
+
font-weight: bold;
|
|
553
|
+
} /* Comment.Preproc */
|
|
554
|
+
.highlight .c1 {
|
|
555
|
+
color: #6a737d;
|
|
556
|
+
font-style: italic;
|
|
557
|
+
} /* Comment.Single */
|
|
558
|
+
.highlight .cs {
|
|
559
|
+
color: #6a737d;
|
|
560
|
+
font-weight: bold;
|
|
561
|
+
font-style: italic;
|
|
562
|
+
} /* Comment.Special */
|
|
563
|
+
.highlight .gd {
|
|
564
|
+
color: #24292e;
|
|
565
|
+
background-color: #ffeef0;
|
|
566
|
+
} /* Generic.Deleted */
|
|
567
|
+
.highlight .ge {
|
|
568
|
+
color: #24292e;
|
|
569
|
+
font-style: italic;
|
|
570
|
+
} /* Generic.Emph */
|
|
571
|
+
.highlight .gr {
|
|
572
|
+
color: #aa0000;
|
|
573
|
+
} /* Generic.Error */
|
|
574
|
+
.highlight .gh {
|
|
575
|
+
color: #999999;
|
|
576
|
+
font-weight: bold;
|
|
577
|
+
} /* Generic.Heading */
|
|
578
|
+
.highlight .gi {
|
|
579
|
+
color: #24292e;
|
|
580
|
+
background-color: #f0fff4;
|
|
581
|
+
} /* Generic.Inserted */
|
|
582
|
+
.highlight .go {
|
|
583
|
+
color: #888888;
|
|
584
|
+
} /* Generic.Output */
|
|
585
|
+
.highlight .gp {
|
|
586
|
+
color: #555555;
|
|
587
|
+
} /* Generic.Prompt */
|
|
588
|
+
.highlight .gs {
|
|
589
|
+
font-weight: bold;
|
|
590
|
+
} /* Generic.Strong */
|
|
591
|
+
.highlight .gu {
|
|
592
|
+
color: #aaaaaa;
|
|
593
|
+
} /* Generic.Subheading */
|
|
594
|
+
.highlight .gt {
|
|
595
|
+
color: #aa0000;
|
|
596
|
+
} /* Generic.Traceback */
|
|
597
|
+
.highlight .kc {
|
|
598
|
+
color: #d73a49;
|
|
599
|
+
font-weight: bold;
|
|
600
|
+
} /* Keyword.Constant */
|
|
601
|
+
.highlight .kd {
|
|
602
|
+
color: #d73a49;
|
|
603
|
+
font-weight: bold;
|
|
604
|
+
} /* Keyword.Declaration */
|
|
605
|
+
.highlight .kn {
|
|
606
|
+
color: #d73a49;
|
|
607
|
+
font-weight: bold;
|
|
608
|
+
} /* Keyword.Namespace */
|
|
609
|
+
.highlight .kp {
|
|
610
|
+
color: #d73a49;
|
|
611
|
+
font-weight: bold;
|
|
612
|
+
} /* Keyword.Pseudo */
|
|
613
|
+
.highlight .kr {
|
|
614
|
+
color: #d73a49;
|
|
615
|
+
font-weight: bold;
|
|
616
|
+
} /* Keyword.Reserved */
|
|
617
|
+
.highlight .kt {
|
|
618
|
+
color: #d73a49;
|
|
619
|
+
font-weight: bold;
|
|
620
|
+
} /* Keyword.Type */
|
|
621
|
+
.highlight .ld {
|
|
622
|
+
color: #032f62;
|
|
623
|
+
} /* Literal.Date */
|
|
624
|
+
.highlight .m {
|
|
625
|
+
color: #005cc5;
|
|
626
|
+
} /* Literal.Number */
|
|
627
|
+
.highlight .s {
|
|
628
|
+
color: #032f62;
|
|
629
|
+
} /* Literal.String */
|
|
630
|
+
.highlight .na {
|
|
631
|
+
color: #6f42c1;
|
|
632
|
+
} /* Name.Attribute */
|
|
633
|
+
.highlight .nb {
|
|
634
|
+
color: #005cc5;
|
|
635
|
+
} /* Name.Builtin */
|
|
636
|
+
.highlight .nc {
|
|
637
|
+
color: #6f42c1;
|
|
638
|
+
font-weight: bold;
|
|
639
|
+
} /* Name.Class */
|
|
640
|
+
.highlight .no {
|
|
641
|
+
color: #005cc5;
|
|
642
|
+
} /* Name.Constant */
|
|
643
|
+
.highlight .nd {
|
|
644
|
+
color: #6f42c1;
|
|
645
|
+
font-weight: bold;
|
|
646
|
+
} /* Name.Decorator */
|
|
647
|
+
.highlight .ni {
|
|
648
|
+
color: #800080;
|
|
649
|
+
} /* Name.Entity */
|
|
650
|
+
.highlight .ne {
|
|
651
|
+
color: #990000;
|
|
652
|
+
font-weight: bold;
|
|
653
|
+
} /* Name.Exception */
|
|
654
|
+
.highlight .nf {
|
|
655
|
+
color: #6f42c1;
|
|
656
|
+
} /* Name.Function */
|
|
657
|
+
.highlight .nl {
|
|
658
|
+
color: #990000;
|
|
659
|
+
} /* Name.Label */
|
|
660
|
+
.highlight .nn {
|
|
661
|
+
color: #555555;
|
|
662
|
+
} /* Name.Namespace */
|
|
663
|
+
.highlight .nx {
|
|
664
|
+
color: #6f42c1;
|
|
665
|
+
} /* Name.Other */
|
|
666
|
+
.highlight .py {
|
|
667
|
+
color: #990000;
|
|
668
|
+
} /* Name.Property */
|
|
669
|
+
.highlight .nt {
|
|
670
|
+
color: #22863a;
|
|
671
|
+
} /* Name.Tag */
|
|
672
|
+
.highlight .nv {
|
|
673
|
+
color: #e36209;
|
|
674
|
+
} /* Name.Variable */
|
|
675
|
+
.highlight .ow {
|
|
676
|
+
color: #d73a49;
|
|
677
|
+
font-weight: bold;
|
|
678
|
+
} /* Operator.Word */
|
|
679
|
+
.highlight .w {
|
|
680
|
+
color: #bbbbbb;
|
|
681
|
+
} /* Text.Whitespace */
|
|
682
|
+
.highlight .mf {
|
|
683
|
+
color: #005cc5;
|
|
684
|
+
} /* Literal.Number.Float */
|
|
685
|
+
.highlight .mh {
|
|
686
|
+
color: #005cc5;
|
|
687
|
+
} /* Literal.Number.Hex */
|
|
688
|
+
.highlight .mi {
|
|
689
|
+
color: #005cc5;
|
|
690
|
+
} /* Literal.Number.Integer */
|
|
691
|
+
.highlight .mo {
|
|
692
|
+
color: #005cc5;
|
|
693
|
+
} /* Literal.Number.Oct */
|
|
694
|
+
.highlight .sb {
|
|
695
|
+
color: #032f62;
|
|
696
|
+
} /* Literal.String.Backtick */
|
|
697
|
+
.highlight .sc {
|
|
698
|
+
color: #032f62;
|
|
699
|
+
} /* Literal.String.Char */
|
|
700
|
+
.highlight .sd {
|
|
701
|
+
color: #032f62;
|
|
702
|
+
} /* Literal.String.Doc */
|
|
703
|
+
.highlight .s2 {
|
|
704
|
+
color: #032f62;
|
|
705
|
+
} /* Literal.String.Double */
|
|
706
|
+
.highlight .se {
|
|
707
|
+
color: #032f62;
|
|
708
|
+
} /* Literal.String.Escape */
|
|
709
|
+
.highlight .sh {
|
|
710
|
+
color: #032f62;
|
|
711
|
+
} /* Literal.String.Heredoc */
|
|
712
|
+
.highlight .si {
|
|
713
|
+
color: #032f62;
|
|
714
|
+
} /* Literal.String.Interpol */
|
|
715
|
+
.highlight .sx {
|
|
716
|
+
color: #032f62;
|
|
717
|
+
} /* Literal.String.Other */
|
|
718
|
+
.highlight .sr {
|
|
719
|
+
color: #22863a;
|
|
720
|
+
} /* Literal.String.Regex */
|
|
721
|
+
.highlight .s1 {
|
|
722
|
+
color: #032f62;
|
|
723
|
+
} /* Literal.String.Single */
|
|
724
|
+
.highlight .ss {
|
|
725
|
+
color: #032f62;
|
|
726
|
+
} /* Literal.String.Symbol */
|
|
727
|
+
.highlight .bp {
|
|
728
|
+
color: #005cc5;
|
|
729
|
+
} /* Name.Builtin.Pseudo */
|
|
730
|
+
.highlight .vc {
|
|
731
|
+
color: #e36209;
|
|
732
|
+
} /* Name.Variable.Class */
|
|
733
|
+
.highlight .vg {
|
|
734
|
+
color: #e36209;
|
|
735
|
+
} /* Name.Variable.Global */
|
|
736
|
+
.highlight .vi {
|
|
737
|
+
color: #e36209;
|
|
738
|
+
} /* Name.Variable.Instance */
|
|
739
|
+
.highlight .il {
|
|
740
|
+
color: #005cc5;
|
|
741
|
+
} /* Literal.Number.Integer.Long */
|
|
742
|
+
|
|
743
|
+
/* Additional Rouge token classes that may be used */
|
|
744
|
+
.highlight .token {
|
|
745
|
+
color: #5670a0;
|
|
746
|
+
}
|
|
747
|
+
.highlight .token.list {
|
|
748
|
+
color: #546e9f;
|
|
749
|
+
}
|
|
750
|
+
.highlight .token.punctuation {
|
|
751
|
+
color: #3e8dad;
|
|
752
|
+
}
|
|
753
|
+
.highlight .token.list.punctuation {
|
|
754
|
+
color: #e05b78;
|
|
755
|
+
}
|
|
756
|
+
.highlight .token.content {
|
|
757
|
+
padding: 0;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/* Nested lists in page content */
|
|
761
|
+
ul ul,
|
|
762
|
+
ol ol,
|
|
763
|
+
ul ol,
|
|
764
|
+
ol ul {
|
|
765
|
+
padding-left: 1.5em;
|
|
766
|
+
margin-top: 0.25em;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
/* Page footer */
|
|
770
|
+
.page-footer {
|
|
771
|
+
background: #f5f5f5;
|
|
772
|
+
border-top: 1px solid #ddd;
|
|
773
|
+
padding: 1.5rem;
|
|
774
|
+
margin-top: 3rem;
|
|
775
|
+
color: #666;
|
|
776
|
+
font-size: 0.9em;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
.page-footer p {
|
|
780
|
+
margin: 0.5em 0;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.page-footer a {
|
|
784
|
+
color: #0066cc;
|
|
785
|
+
text-decoration: none;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
.page-footer a:hover {
|
|
789
|
+
text-decoration: underline;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
/* Mobile responsive */
|
|
793
|
+
@media (max-width: 768px) {
|
|
794
|
+
.hamburger-menu {
|
|
795
|
+
display: flex;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.main-toc,
|
|
799
|
+
.sidebar {
|
|
800
|
+
transform: translateX(-100%);
|
|
801
|
+
z-index: 175;
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
.main-toc.mobile-open,
|
|
805
|
+
.sidebar.mobile-open {
|
|
806
|
+
transform: translateX(0);
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
body {
|
|
810
|
+
margin: 2rem 1rem;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.floating-toc {
|
|
814
|
+
left: 0;
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
</style></head>
|
|
819
|
+
|
|
820
|
+
<body class="code-highlighted">
|
|
821
|
+
<div class="floating-toc" id="floating-toc">
|
|
822
|
+
<div class="floating-toc-container">
|
|
823
|
+
<div class="floating-toc-header">
|
|
824
|
+
<span>Table of Contents 🔻</span>
|
|
825
|
+
</div>
|
|
826
|
+
<div class="floating-toc-content" id="floating-toc-content">
|
|
827
|
+
<!-- Content will be populated by JavaScript -->
|
|
828
|
+
</div>
|
|
829
|
+
</div>
|
|
830
|
+
</div>
|
|
831
|
+
|
|
832
|
+
<button class="hamburger-menu" id="hamburger-menu" aria-label="Toggle navigation"></button>
|
|
833
|
+
<div class="mobile-menu-overlay" id="mobile-menu-overlay"></div>
|
|
834
|
+
|
|
835
|
+
<nav class="main-toc"><ul><li><a href="Home.html">Home</a></li><li><a href="Getting-Started.html">Getting Started</a></li><li><a href="Installation.html">Installation</a></li><li><a href="Usage.html">Usage</a></li><li><a href="Syntax.html">Syntax</a></li><li><a href="Callouts.html">Callouts</a></li><li><a href="Tables.html">Tables</a></li><li><a href="Inline-Attribute-Lists.html">Inline Attribute Lists</a></li><li><a href="Modes.html">Modes</a></li><li><a href="Quarto-Mode.html">Quarto Mode</a></li><li><a href="Command-Line-Options.html">Command Line Options</a></li><li><a href="Rendering-Markdown-In-Terminal.html">Rendering Markdown in the Terminal</a></li><li><a href="Generating-Man-Pages.html">Generating Man Pages</a></li><li><a href="Multi-File-Documents.html">Multi-file Documents</a></li><li><a href="Citations.html">Citations</a></li><li><a href="Indices.html">Indices</a></li><li><a href="Metadata-Transforms.html">Metadata Transforms</a></li><li><a href="Pandoc-Integration.html">Integrating with Pandoc</a></li><li><a href="Using-Apex-with-Jekyll.html">Using Apex with Jekyll</a></li><li><a href="Header-IDs.html">Header IDs</a></li><li><a href="C-API.html">C API</a></li><li><a href="Writing-Tests.html">Writing Tests</a></li><li><a href="Xcode-Integration.html">Xcode Integration</a></li><li><a href="Examples.html">Examples</a></li><li><a href="Plugins.html">Plugins</a></li><li><a href="Filters.html">Filters</a></li><li><a href="Troubleshooting.html">Troubleshooting</a></li><li><a href="Credits.html">Credits</a></li></ul></nav>
|
|
836
|
+
|
|
837
|
+
<h1 id="indices">
|
|
838
|
+
Indices
|
|
839
|
+
</h1>
|
|
840
|
+
<nav class="page-toc" id="page-toc-top"><ul><li><a href="#indices">Indices</a><ul><li><a href="#overview">Overview</a></li><li><a href="#syntax">Syntax</a><ul><li><a href="#mmark-index-syntax">mmark Index Syntax</a></li><li><a href="#textindex-syntax">TextIndex Syntax</a></li><li><a href="#leanpub-index-syntax">Leanpub Index Syntax</a></li></ul></li><li><a href="#index-generation">Index Generation</a><ul><li><a href="#automatic-placement">Automatic Placement</a></li><li><a href="#custom-placement">Custom Placement</a></li></ul></li><li><a href="#command-line-options">Command-Line Options</a><ul><li><a href="#indices">--indices</a></li><li><a href="#no-indices">--no-indices</a></li><li><a href="#no-index">--no-index</a></li></ul></li><li><a href="#configuration">Configuration</a><ul><li><a href="#metadata-options">Metadata Options</a></li><li><a href="#configuration-file">Configuration File</a></li></ul></li><li><a href="#examples">Examples</a><ul><li><a href="#basic-index-example">Basic Index Example</a></li><li><a href="#textindex-example">TextIndex Example</a></li><li><a href="#index-with-custom-placement">Index with Custom Placement</a></li><li><a href="#primary-entries-example">Primary Entries Example</a></li></ul></li><li><a href="#output-format">Output Format</a></li><li><a href="#tips-and-best-practices">Tips and Best Practices</a></li><li><a href="#related">Related</a></li></ul></li><li><a href="#index-section">Index</a></li></ul></nav>
|
|
841
|
+
|
|
842
|
+
<p>
|
|
843
|
+
Apex supports automatic index generation from index markers in your Markdown documents. Indices enable you to mark terms and concepts in your text and automatically generate a comprehensive index at the end of your document.
|
|
844
|
+
</p>
|
|
845
|
+
|
|
846
|
+
<h2 id="overview">
|
|
847
|
+
Overview
|
|
848
|
+
</h2>
|
|
849
|
+
|
|
850
|
+
<p>
|
|
851
|
+
<strong>Supported modes:</strong> MultiMarkdown and unified (enabled by default)
|
|
852
|
+
</p>
|
|
853
|
+
|
|
854
|
+
<p>
|
|
855
|
+
<strong>Default behavior:</strong> Indices are automatically enabled in MultiMarkdown and unified modes. In other modes, use the <code>--indices</code> flag to enable them.
|
|
856
|
+
</p>
|
|
857
|
+
|
|
858
|
+
<p>
|
|
859
|
+
<strong>Index features:</strong>
|
|
860
|
+
</p>
|
|
861
|
+
|
|
862
|
+
<ul>
|
|
863
|
+
|
|
864
|
+
<li>
|
|
865
|
+
Three syntaxes supported: mmark, TextIndex, and Leanpub
|
|
866
|
+
</li>
|
|
867
|
+
|
|
868
|
+
<li>
|
|
869
|
+
Automatic alphabetical sorting
|
|
870
|
+
</li>
|
|
871
|
+
|
|
872
|
+
<li>
|
|
873
|
+
Optional grouping by first letter
|
|
874
|
+
</li>
|
|
875
|
+
|
|
876
|
+
<li>
|
|
877
|
+
Hierarchical sub-items
|
|
878
|
+
</li>
|
|
879
|
+
|
|
880
|
+
<li>
|
|
881
|
+
Primary entries (bold entries in the index)
|
|
882
|
+
</li>
|
|
883
|
+
|
|
884
|
+
<li>
|
|
885
|
+
Automatic index generation at document end or custom marker
|
|
886
|
+
</li>
|
|
887
|
+
|
|
888
|
+
</ul>
|
|
889
|
+
|
|
890
|
+
<h2 id="syntax">
|
|
891
|
+
Syntax
|
|
892
|
+
</h2>
|
|
893
|
+
|
|
894
|
+
<p>
|
|
895
|
+
Apex supports two index syntax formats:
|
|
896
|
+
</p>
|
|
897
|
+
|
|
898
|
+
<h3 id="mmark-index-syntax">
|
|
899
|
+
mmark Index Syntax
|
|
900
|
+
</h3>
|
|
901
|
+
|
|
902
|
+
<p>
|
|
903
|
+
The mmark syntax uses parentheses with exclamation marks to create index entries.
|
|
904
|
+
</p>
|
|
905
|
+
|
|
906
|
+
<p>
|
|
907
|
+
<strong>Basic index entry:</strong>
|
|
908
|
+
</p>
|
|
909
|
+
|
|
910
|
+
<div class="highlight">
|
|
911
|
+
<pre><span></span>This is about protocols <!--IDX:idxref-0-->.
|
|
912
|
+
</pre>
|
|
913
|
+
</div>
|
|
914
|
+
|
|
915
|
+
<p>
|
|
916
|
+
<strong>Sub-item entry:</strong>
|
|
917
|
+
</p>
|
|
918
|
+
|
|
919
|
+
<div class="highlight">
|
|
920
|
+
<pre><span></span>HTTP/1.1 <!--IDX:idxref-1--> is a protocol version.
|
|
921
|
+
</pre>
|
|
922
|
+
</div>
|
|
923
|
+
|
|
924
|
+
<p>
|
|
925
|
+
The first term is the main entry, and the second term (after the comma) is the sub-item. Sub-items appear nested under their main entries in the generated index.
|
|
926
|
+
</p>
|
|
927
|
+
|
|
928
|
+
<p>
|
|
929
|
+
<strong>Primary entry (bold in index):</strong>
|
|
930
|
+
</p>
|
|
931
|
+
|
|
932
|
+
<div class="highlight">
|
|
933
|
+
<pre><span></span>This is a primary topic <!--IDX:idxref-2-->.
|
|
934
|
+
</pre>
|
|
935
|
+
</div>
|
|
936
|
+
|
|
937
|
+
<p>
|
|
938
|
+
Using <code>!!</code> instead of <code>!</code> marks the entry as a primary entry. Primary entries are typically rendered in bold in the generated index.
|
|
939
|
+
</p>
|
|
940
|
+
|
|
941
|
+
<p>
|
|
942
|
+
<strong>Multiple entries:</strong>
|
|
943
|
+
</p>
|
|
944
|
+
|
|
945
|
+
<div class="highlight">
|
|
946
|
+
<pre><span></span>Protocols <!--IDX:idxref-3--> and implementations <!--IDX:idxref-4--> are important.
|
|
947
|
+
</pre>
|
|
948
|
+
</div>
|
|
949
|
+
|
|
950
|
+
<p>
|
|
951
|
+
You can have multiple index entries in the same paragraph or sentence.
|
|
952
|
+
</p>
|
|
953
|
+
|
|
954
|
+
<p>
|
|
955
|
+
<strong>Examples:</strong>
|
|
956
|
+
</p>
|
|
957
|
+
|
|
958
|
+
<div class="highlight">
|
|
959
|
+
<pre><span></span>The Hypertext Transfer Protocol <!--IDX:idxref-5--> is widely used.
|
|
960
|
+
|
|
961
|
+
There are multiple versions <!--IDX:idxref-6--> and <!--IDX:idxref-7-->.
|
|
962
|
+
|
|
963
|
+
Security protocols <!--IDX:idxref-8--> like TLS <!--IDX:idxref-9--> are essential.
|
|
964
|
+
</pre>
|
|
965
|
+
</div>
|
|
966
|
+
|
|
967
|
+
<h3 id="textindex-syntax">
|
|
968
|
+
TextIndex Syntax
|
|
969
|
+
</h3>
|
|
970
|
+
|
|
971
|
+
<p>
|
|
972
|
+
TextIndex syntax uses curly braces with a caret (<code>{^}</code>) to mark index entries.
|
|
973
|
+
</p>
|
|
974
|
+
|
|
975
|
+
<p>
|
|
976
|
+
<strong>Basic syntax (indexes preceding word):</strong>
|
|
977
|
+
</p>
|
|
978
|
+
|
|
979
|
+
<div class="highlight">
|
|
980
|
+
<pre><span></span>Most mechanical keyboard firmware<!--IDX:idxref-10--> supports key combinations.
|
|
981
|
+
</pre>
|
|
982
|
+
</div>
|
|
983
|
+
|
|
984
|
+
<p>
|
|
985
|
+
The <code>{^}</code> marks the word immediately before it for indexing. In this case, “firmware” will be indexed.
|
|
986
|
+
</p>
|
|
987
|
+
|
|
988
|
+
<p>
|
|
989
|
+
<strong>Explicit term:</strong>
|
|
990
|
+
</p>
|
|
991
|
+
|
|
992
|
+
<div class="highlight">
|
|
993
|
+
<pre><span></span>This uses [key combinations]<!--IDX:idxref-11--> for indexing.
|
|
994
|
+
</pre>
|
|
995
|
+
</div>
|
|
996
|
+
|
|
997
|
+
<p>
|
|
998
|
+
Square brackets allow you to specify the exact term to index, which may differ from the visible text.
|
|
999
|
+
</p>
|
|
1000
|
+
|
|
1001
|
+
<p>
|
|
1002
|
+
<strong>With parameters:</strong>
|
|
1003
|
+
</p>
|
|
1004
|
+
|
|
1005
|
+
<div class="highlight">
|
|
1006
|
+
<pre><span></span>Term<!--IDX:idxref-12-->
|
|
1007
|
+
</pre>
|
|
1008
|
+
</div>
|
|
1009
|
+
|
|
1010
|
+
<p>
|
|
1011
|
+
Parameters can be included after the caret, though they are typically handled by the index generation system.
|
|
1012
|
+
</p>
|
|
1013
|
+
|
|
1014
|
+
<p>
|
|
1015
|
+
<strong>Examples:</strong>
|
|
1016
|
+
</p>
|
|
1017
|
+
|
|
1018
|
+
<div class="highlight">
|
|
1019
|
+
<pre><span></span>Python<!--IDX:idxref-13--> is a programming language.
|
|
1020
|
+
|
|
1021
|
+
We use [machine learning]<!--IDX:idxref-14--> techniques.
|
|
1022
|
+
|
|
1023
|
+
The API<!--IDX:idxref-15--> provides access.
|
|
1024
|
+
</pre>
|
|
1025
|
+
</div>
|
|
1026
|
+
|
|
1027
|
+
<h3 id="leanpub-index-syntax">
|
|
1028
|
+
Leanpub Index Syntax
|
|
1029
|
+
</h3>
|
|
1030
|
+
|
|
1031
|
+
<p>
|
|
1032
|
+
Leanpub (Markua) index syntax uses <code><!--IDX:idxref-16--></code> to mark index entries. See the <a href="https://help.leanpub.com/en/articles/6961502-how-to-create-an-index-in-a-leanpub-book">Leanpub index documentation</a> for full details.
|
|
1033
|
+
</p>
|
|
1034
|
+
|
|
1035
|
+
<p>
|
|
1036
|
+
<strong>Basic index entry:</strong>
|
|
1037
|
+
</p>
|
|
1038
|
+
|
|
1039
|
+
<div class="highlight">
|
|
1040
|
+
<pre><span></span>Call me Ishmael<!--IDX:idxref-17-->
|
|
1041
|
+
</pre>
|
|
1042
|
+
</div>
|
|
1043
|
+
|
|
1044
|
+
<p>
|
|
1045
|
+
<strong>Entries under headings (hierarchical):</strong>
|
|
1046
|
+
</p>
|
|
1047
|
+
|
|
1048
|
+
<div class="highlight">
|
|
1049
|
+
<pre><span></span>Were Niagara<!--IDX:idxref-18--> but a cataract of sand<!--IDX:idxref-19-->.
|
|
1050
|
+
</pre>
|
|
1051
|
+
</div>
|
|
1052
|
+
|
|
1053
|
+
<p>
|
|
1054
|
+
The <code>Main!sub</code> format places the sub-item under the main heading in the generated index. Formatting like <code>*italics*</code> and <code>**bold**</code> within the entry is stripped for the index display.
|
|
1055
|
+
</p>
|
|
1056
|
+
|
|
1057
|
+
<p>
|
|
1058
|
+
<strong>Sort form (for “Lastname, Firstname” or “something, the”):</strong>
|
|
1059
|
+
</p>
|
|
1060
|
+
|
|
1061
|
+
<div class="highlight">
|
|
1062
|
+
<pre><span></span>Circumambulate the city of a dreamy Sabbath<!--IDX:idxref-20--> afternoon.
|
|
1063
|
+
</pre>
|
|
1064
|
+
</div>
|
|
1065
|
+
|
|
1066
|
+
<p>
|
|
1067
|
+
<strong>Examples:</strong>
|
|
1068
|
+
</p>
|
|
1069
|
+
|
|
1070
|
+
<div class="highlight">
|
|
1071
|
+
<pre><span></span>Call me Ishmael<!--IDX:idxref-21-->
|
|
1072
|
+
|
|
1073
|
+
Niagara<!--IDX:idxref-22--> is a waterfall.
|
|
1074
|
+
|
|
1075
|
+
Sabbath<!--IDX:idxref-23--> afternoon.
|
|
1076
|
+
</pre>
|
|
1077
|
+
</div>
|
|
1078
|
+
|
|
1079
|
+
<h2 id="index-generation">
|
|
1080
|
+
Index Generation
|
|
1081
|
+
</h2>
|
|
1082
|
+
|
|
1083
|
+
<p>
|
|
1084
|
+
The index is automatically generated and placed in your document based on the following rules:
|
|
1085
|
+
</p>
|
|
1086
|
+
|
|
1087
|
+
<h3 id="automatic-placement">
|
|
1088
|
+
Automatic Placement
|
|
1089
|
+
</h3>
|
|
1090
|
+
|
|
1091
|
+
<p>
|
|
1092
|
+
By default, the index is generated at the <strong>end of the document</strong> after all content.
|
|
1093
|
+
</p>
|
|
1094
|
+
|
|
1095
|
+
<h3 id="custom-placement">
|
|
1096
|
+
Custom Placement
|
|
1097
|
+
</h3>
|
|
1098
|
+
|
|
1099
|
+
<p>
|
|
1100
|
+
You can control where the index appears using the <code><!--INDEX--></code> marker or Leanpub’s <code>{index}</code> marker:
|
|
1101
|
+
</p>
|
|
1102
|
+
|
|
1103
|
+
<div class="highlight">
|
|
1104
|
+
<pre><span></span><span class="gh"># Document</span>
|
|
1105
|
+
|
|
1106
|
+
This is about protocols <!--IDX:idxref-24-->.
|
|
1107
|
+
|
|
1108
|
+
<!--INDEX-->
|
|
1109
|
+
|
|
1110
|
+
More content after the index.
|
|
1111
|
+
</pre>
|
|
1112
|
+
</div>
|
|
1113
|
+
|
|
1114
|
+
<p>
|
|
1115
|
+
When the <code><!--INDEX--></code> marker is present, the index is inserted at that location instead of the end of the document.
|
|
1116
|
+
</p>
|
|
1117
|
+
|
|
1118
|
+
<p>
|
|
1119
|
+
<strong>Leanpub compatibility:</strong> Apex also accepts <code>{index}</code> as a placement marker (as used in Leanpub/Markua). The literal <code>{index}</code> is replaced with <code><!--INDEX--></code> during preprocessing, so it is always removed from the output—either replaced by the generated index or left as an invisible HTML comment when the index is suppressed. This matches Leanpub’s behavior where the index is placed at the marker (Leanpub moves it to the very end of the book regardless; in Apex the index appears at the marker position).
|
|
1120
|
+
</p>
|
|
1121
|
+
|
|
1122
|
+
<h2 id="command-line-options">
|
|
1123
|
+
Command-Line Options
|
|
1124
|
+
</h2>
|
|
1125
|
+
|
|
1126
|
+
<h3 id="indices">
|
|
1127
|
+
<code>--indices</code>
|
|
1128
|
+
</h3>
|
|
1129
|
+
|
|
1130
|
+
<p>
|
|
1131
|
+
Enable index processing with both mmark and TextIndex syntax support.
|
|
1132
|
+
</p>
|
|
1133
|
+
|
|
1134
|
+
<p>
|
|
1135
|
+
<strong>Default:</strong> Enabled in MultiMarkdown and unified modes
|
|
1136
|
+
</p>
|
|
1137
|
+
|
|
1138
|
+
<p>
|
|
1139
|
+
<strong>Behavior:</strong>
|
|
1140
|
+
</p>
|
|
1141
|
+
|
|
1142
|
+
<ul>
|
|
1143
|
+
|
|
1144
|
+
<li>
|
|
1145
|
+
Enables mmark syntax (<code><!--IDX:idxref-25--></code>, <code><!--IDX:idxref-26--></code>, <code><!--IDX:idxref-27--></code>), TextIndex syntax (<code>{^}</code>, <code>[term]<!--IDX:idxref-28--></code>), and Leanpub syntax (<code><!--IDX:idxref-29--></code>, <code><!--IDX:idxref-30--></code>)
|
|
1146
|
+
</li>
|
|
1147
|
+
|
|
1148
|
+
<li>
|
|
1149
|
+
Index entries are collected during parsing
|
|
1150
|
+
</li>
|
|
1151
|
+
|
|
1152
|
+
<li>
|
|
1153
|
+
Index is automatically generated at the end of the document or at <code><!--INDEX--></code> marker
|
|
1154
|
+
</li>
|
|
1155
|
+
|
|
1156
|
+
<li>
|
|
1157
|
+
Entries are sorted alphabetically and can be grouped by first letter
|
|
1158
|
+
</li>
|
|
1159
|
+
|
|
1160
|
+
</ul>
|
|
1161
|
+
|
|
1162
|
+
<p>
|
|
1163
|
+
<strong>Example:</strong>
|
|
1164
|
+
</p>
|
|
1165
|
+
|
|
1166
|
+
<div class="highlight">
|
|
1167
|
+
<pre><span></span>apex<span class="w"> </span>document.md<span class="w"> </span>--indices
|
|
1168
|
+
</pre>
|
|
1169
|
+
</div>
|
|
1170
|
+
|
|
1171
|
+
<p>
|
|
1172
|
+
<strong>When to use:</strong>
|
|
1173
|
+
</p>
|
|
1174
|
+
|
|
1175
|
+
<ul>
|
|
1176
|
+
|
|
1177
|
+
<li>
|
|
1178
|
+
Enable indices in modes where they’re disabled by default (commonmark, gfm, kramdown)
|
|
1179
|
+
</li>
|
|
1180
|
+
|
|
1181
|
+
<li>
|
|
1182
|
+
Explicitly enable indices when using unified or MultiMarkdown modes (optional, since enabled by default)
|
|
1183
|
+
</li>
|
|
1184
|
+
|
|
1185
|
+
</ul>
|
|
1186
|
+
|
|
1187
|
+
<h3 id="no-indices">
|
|
1188
|
+
<code>--no-indices</code>
|
|
1189
|
+
</h3>
|
|
1190
|
+
|
|
1191
|
+
<p>
|
|
1192
|
+
Disable index processing entirely.
|
|
1193
|
+
</p>
|
|
1194
|
+
|
|
1195
|
+
<p>
|
|
1196
|
+
<strong>Example:</strong>
|
|
1197
|
+
</p>
|
|
1198
|
+
|
|
1199
|
+
<div class="highlight">
|
|
1200
|
+
<pre><span></span>apex<span class="w"> </span>document.md<span class="w"> </span>--no-indices
|
|
1201
|
+
</pre>
|
|
1202
|
+
</div>
|
|
1203
|
+
|
|
1204
|
+
<p>
|
|
1205
|
+
<strong>Behavior:</strong>
|
|
1206
|
+
</p>
|
|
1207
|
+
|
|
1208
|
+
<ul>
|
|
1209
|
+
|
|
1210
|
+
<li>
|
|
1211
|
+
Index syntax is treated as plain text
|
|
1212
|
+
</li>
|
|
1213
|
+
|
|
1214
|
+
<li>
|
|
1215
|
+
No index markers are created in the document
|
|
1216
|
+
</li>
|
|
1217
|
+
|
|
1218
|
+
<li>
|
|
1219
|
+
No index section is generated
|
|
1220
|
+
</li>
|
|
1221
|
+
|
|
1222
|
+
<li>
|
|
1223
|
+
Useful when you want to preserve index syntax in the source but not process it
|
|
1224
|
+
</li>
|
|
1225
|
+
|
|
1226
|
+
</ul>
|
|
1227
|
+
|
|
1228
|
+
<p>
|
|
1229
|
+
<strong>Note:</strong> When disabled, index syntax like <code><!--IDX:idxref-31--></code> and <code>{^}</code> will appear literally in your output.
|
|
1230
|
+
</p>
|
|
1231
|
+
|
|
1232
|
+
<h3 id="no-index">
|
|
1233
|
+
<code>--no-index</code>
|
|
1234
|
+
</h3>
|
|
1235
|
+
|
|
1236
|
+
<p>
|
|
1237
|
+
Suppress index generation while still creating index markers in the document.
|
|
1238
|
+
</p>
|
|
1239
|
+
|
|
1240
|
+
<p>
|
|
1241
|
+
<strong>Example:</strong>
|
|
1242
|
+
</p>
|
|
1243
|
+
|
|
1244
|
+
<div class="highlight">
|
|
1245
|
+
<pre><span></span>apex<span class="w"> </span>document.md<span class="w"> </span>--no-index
|
|
1246
|
+
</pre>
|
|
1247
|
+
</div>
|
|
1248
|
+
|
|
1249
|
+
<p>
|
|
1250
|
+
<strong>Behavior:</strong>
|
|
1251
|
+
</p>
|
|
1252
|
+
|
|
1253
|
+
<ul>
|
|
1254
|
+
|
|
1255
|
+
<li>
|
|
1256
|
+
Index markers (<code><span class="index" id="idxref:N"></code>) are still created in the document
|
|
1257
|
+
</li>
|
|
1258
|
+
|
|
1259
|
+
<li>
|
|
1260
|
+
Index section is <strong>not</strong> generated at the end
|
|
1261
|
+
</li>
|
|
1262
|
+
|
|
1263
|
+
<li>
|
|
1264
|
+
Useful when you want to mark terms but generate the index separately or later
|
|
1265
|
+
</li>
|
|
1266
|
+
|
|
1267
|
+
</ul>
|
|
1268
|
+
|
|
1269
|
+
<p>
|
|
1270
|
+
<strong>Use cases:</strong>
|
|
1271
|
+
</p>
|
|
1272
|
+
|
|
1273
|
+
<ul>
|
|
1274
|
+
|
|
1275
|
+
<li>
|
|
1276
|
+
Marking terms for future index generation
|
|
1277
|
+
</li>
|
|
1278
|
+
|
|
1279
|
+
<li>
|
|
1280
|
+
Generating index separately with different options
|
|
1281
|
+
</li>
|
|
1282
|
+
|
|
1283
|
+
<li>
|
|
1284
|
+
Using external tools to build the index from the markers
|
|
1285
|
+
</li>
|
|
1286
|
+
|
|
1287
|
+
</ul>
|
|
1288
|
+
|
|
1289
|
+
<h2 id="configuration">
|
|
1290
|
+
Configuration
|
|
1291
|
+
</h2>
|
|
1292
|
+
|
|
1293
|
+
<h3 id="metadata-options">
|
|
1294
|
+
Metadata Options
|
|
1295
|
+
</h3>
|
|
1296
|
+
|
|
1297
|
+
<p>
|
|
1298
|
+
Index behavior can be controlled via document metadata or a configuration file.
|
|
1299
|
+
</p>
|
|
1300
|
+
|
|
1301
|
+
<p>
|
|
1302
|
+
<strong>Enable/disable indices:</strong>
|
|
1303
|
+
</p>
|
|
1304
|
+
|
|
1305
|
+
<div class="highlight">
|
|
1306
|
+
<pre><span></span><span class="nn">---</span>
|
|
1307
|
+
<span class="nt">indices</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span><span class="w"> </span><span class="c1"># or false</span>
|
|
1308
|
+
<span class="nn">---</span>
|
|
1309
|
+
</pre>
|
|
1310
|
+
</div>
|
|
1311
|
+
|
|
1312
|
+
<p>
|
|
1313
|
+
<strong>Suppress index generation:</strong>
|
|
1314
|
+
</p>
|
|
1315
|
+
|
|
1316
|
+
<div class="highlight">
|
|
1317
|
+
<pre><span></span><span class="nn">---</span>
|
|
1318
|
+
<span class="nt">suppress-index</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span><span class="w"> </span><span class="c1"># Generate markers but not the index section</span>
|
|
1319
|
+
<span class="nn">---</span>
|
|
1320
|
+
</pre>
|
|
1321
|
+
</div>
|
|
1322
|
+
|
|
1323
|
+
<p>
|
|
1324
|
+
<strong>Group by letter:</strong>
|
|
1325
|
+
</p>
|
|
1326
|
+
|
|
1327
|
+
<div class="highlight">
|
|
1328
|
+
<pre><span></span><span class="nn">---</span>
|
|
1329
|
+
<span class="nt">group-index-by-letter</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span><span class="w"> </span><span class="c1"># Group entries alphabetically by first letter</span>
|
|
1330
|
+
<span class="nn">---</span>
|
|
1331
|
+
</pre>
|
|
1332
|
+
</div>
|
|
1333
|
+
|
|
1334
|
+
<p>
|
|
1335
|
+
When <code>group-index-by-letter</code> is enabled, the index groups entries under letter headings (A, B, C, etc.), making it easier to navigate longer indices.
|
|
1336
|
+
</p>
|
|
1337
|
+
|
|
1338
|
+
<p>
|
|
1339
|
+
<strong>Complete example:</strong>
|
|
1340
|
+
</p>
|
|
1341
|
+
|
|
1342
|
+
<div class="highlight">
|
|
1343
|
+
<pre><span></span><span class="nn">---</span>
|
|
1344
|
+
<span class="nt">indices</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1345
|
+
<span class="nt">group-index-by-letter</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1346
|
+
<span class="nn">---</span>
|
|
1347
|
+
</pre>
|
|
1348
|
+
</div>
|
|
1349
|
+
|
|
1350
|
+
<h3 id="configuration-file">
|
|
1351
|
+
Configuration File
|
|
1352
|
+
</h3>
|
|
1353
|
+
|
|
1354
|
+
<p>
|
|
1355
|
+
You can also set these options in your global <code>config.yml</code> file:
|
|
1356
|
+
</p>
|
|
1357
|
+
|
|
1358
|
+
<div class="highlight">
|
|
1359
|
+
<pre><span></span><span class="nn">---</span>
|
|
1360
|
+
<span class="nt">indices</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1361
|
+
<span class="nt">group-index-by-letter</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span>
|
|
1362
|
+
<span class="nn">---</span>
|
|
1363
|
+
</pre>
|
|
1364
|
+
</div>
|
|
1365
|
+
|
|
1366
|
+
<p>
|
|
1367
|
+
This applies the settings to all documents unless overridden by document metadata or command-line flags.
|
|
1368
|
+
</p>
|
|
1369
|
+
|
|
1370
|
+
<h2 id="examples">
|
|
1371
|
+
Examples
|
|
1372
|
+
</h2>
|
|
1373
|
+
|
|
1374
|
+
<h3 id="basic-index-example">
|
|
1375
|
+
Basic Index Example
|
|
1376
|
+
</h3>
|
|
1377
|
+
|
|
1378
|
+
<p>
|
|
1379
|
+
<strong>Input:</strong>
|
|
1380
|
+
</p>
|
|
1381
|
+
|
|
1382
|
+
<div class="highlight">
|
|
1383
|
+
<pre><span></span><span class="gh"># Network Protocols</span>
|
|
1384
|
+
|
|
1385
|
+
The Hypertext Transfer Protocol <!--IDX:idxref-32--> is the foundation of the web.
|
|
1386
|
+
|
|
1387
|
+
There are several versions including <!--IDX:idxref-33--> and <!--IDX:idxref-34-->.
|
|
1388
|
+
|
|
1389
|
+
Secure communication uses <!--IDX:idxref-35--> for encryption.
|
|
1390
|
+
</pre>
|
|
1391
|
+
</div>
|
|
1392
|
+
|
|
1393
|
+
<p>
|
|
1394
|
+
<strong>Output with <code>--indices</code>:</strong>
|
|
1395
|
+
</p>
|
|
1396
|
+
|
|
1397
|
+
<div class="highlight">
|
|
1398
|
+
<pre><span></span><span class="p"><</span><span class="nt">h1</span><span class="p">></span>Network Protocols<span class="p"></</span><span class="nt">h1</span><span class="p">></span>
|
|
1399
|
+
<span class="p"><</span><span class="nt">p</span><span class="p">></span>The Hypertext Transfer Protocol <span class="p"><</span><span class="nt">span</span> <span class="na">class</span><span class="o">=</span><span class="s">"index"</span> <span class="na">id</span><span class="o">=</span><span class="s">"idxref:0"</span><span class="p">></</span><span class="nt">span</span><span class="p">></span> is the foundation of the web.<span class="p"></</span><span class="nt">p</span><span class="p">></span>
|
|
1400
|
+
<span class="p"><</span><span class="nt">p</span><span class="p">></span>There are several versions including <span class="p"><</span><span class="nt">span</span> <span class="na">class</span><span class="o">=</span><span class="s">"index"</span> <span class="na">id</span><span class="o">=</span><span class="s">"idxref:1"</span><span class="p">></</span><span class="nt">span</span><span class="p">></span> and <span class="p"><</span><span class="nt">span</span> <span class="na">class</span><span class="o">=</span><span class="s">"index"</span> <span class="na">id</span><span class="o">=</span><span class="s">"idxref:2"</span><span class="p">></</span><span class="nt">span</span><span class="p">></span>.<span class="p"></</span><span class="nt">p</span><span class="p">></span>
|
|
1401
|
+
<span class="p"><</span><span class="nt">p</span><span class="p">></span>Secure communication uses <span class="p"><</span><span class="nt">span</span> <span class="na">class</span><span class="o">=</span><span class="s">"index"</span> <span class="na">id</span><span class="o">=</span><span class="s">"idxref:3"</span><span class="p">></</span><span class="nt">span</span><span class="p">></span> for encryption.<span class="p"></</span><span class="nt">p</span><span class="p">></span>
|
|
1402
|
+
|
|
1403
|
+
<span class="p"><</span><span class="nt">h1</span> <span class="na">id</span><span class="o">=</span><span class="s">"index-section"</span><span class="p">></span>Index<span class="p"></</span><span class="nt">h1</span><span class="p">></span>
|
|
1404
|
+
<span class="p"><</span><span class="nt">div</span> <span class="na">class</span><span class="o">=</span><span class="s">"index"</span><span class="p">></span>
|
|
1405
|
+
<span class="p"><</span><span class="nt">ul</span><span class="p">></span>
|
|
1406
|
+
<span class="p"><</span><span class="nt">li</span><span class="p">></span>HTTP
|
|
1407
|
+
<span class="p"><</span><span class="nt">ul</span><span class="p">></span>
|
|
1408
|
+
<span class="p"><</span><span class="nt">li</span><span class="p">></span>HTTP/1.0<span class="p"></</span><span class="nt">li</span><span class="p">></span>
|
|
1409
|
+
<span class="p"><</span><span class="nt">li</span><span class="p">></span>HTTP/1.1<span class="p"></</span><span class="nt">li</span><span class="p">></span>
|
|
1410
|
+
<span class="p"></</span><span class="nt">ul</span><span class="p">></span>
|
|
1411
|
+
<span class="p"></</span><span class="nt">li</span><span class="p">></span>
|
|
1412
|
+
<span class="p"><</span><span class="nt">li</span><span class="p">></span>TLS<span class="p"></</span><span class="nt">li</span><span class="p">></span>
|
|
1413
|
+
<span class="p"></</span><span class="nt">ul</span><span class="p">></span>
|
|
1414
|
+
<span class="p"></</span><span class="nt">div</span><span class="p">></span>
|
|
1415
|
+
</pre>
|
|
1416
|
+
</div>
|
|
1417
|
+
|
|
1418
|
+
<h3 id="textindex-example">
|
|
1419
|
+
TextIndex Example
|
|
1420
|
+
</h3>
|
|
1421
|
+
|
|
1422
|
+
<p>
|
|
1423
|
+
<strong>Input:</strong>
|
|
1424
|
+
</p>
|
|
1425
|
+
|
|
1426
|
+
<div class="highlight">
|
|
1427
|
+
<pre><span></span>Python<!--IDX:idxref-36--> is a versatile language.
|
|
1428
|
+
|
|
1429
|
+
We use [machine learning]<!--IDX:idxref-37--> for data analysis.
|
|
1430
|
+
|
|
1431
|
+
The API<!--IDX:idxref-38--> allows programmatic access.
|
|
1432
|
+
</pre>
|
|
1433
|
+
</div>
|
|
1434
|
+
|
|
1435
|
+
<p>
|
|
1436
|
+
<strong>Output:</strong>
|
|
1437
|
+
The index will include entries for “Python”, “machine learning” (or “ML” if using parameters), and “API” (or “Application Programming Interface” based on the syntax used).
|
|
1438
|
+
</p>
|
|
1439
|
+
|
|
1440
|
+
<h3 id="index-with-custom-placement">
|
|
1441
|
+
Index with Custom Placement
|
|
1442
|
+
</h3>
|
|
1443
|
+
|
|
1444
|
+
<p>
|
|
1445
|
+
<strong>Input:</strong>
|
|
1446
|
+
</p>
|
|
1447
|
+
|
|
1448
|
+
<div class="highlight">
|
|
1449
|
+
<pre><span></span><span class="gh"># Introduction</span>
|
|
1450
|
+
|
|
1451
|
+
This document covers networking <!--IDX:idxref-39-->.
|
|
1452
|
+
|
|
1453
|
+
<span class="gh"># Main Content</span>
|
|
1454
|
+
|
|
1455
|
+
More content about protocols <!--IDX:idxref-40-->.
|
|
1456
|
+
|
|
1457
|
+
<!--INDEX-->
|
|
1458
|
+
|
|
1459
|
+
<span class="gh"># Appendix</span>
|
|
1460
|
+
|
|
1461
|
+
Additional information goes here.
|
|
1462
|
+
</pre>
|
|
1463
|
+
</div>
|
|
1464
|
+
|
|
1465
|
+
<p>
|
|
1466
|
+
<strong>Output:</strong>
|
|
1467
|
+
The index appears between the main content and the appendix section, not at the very end of the document.
|
|
1468
|
+
</p>
|
|
1469
|
+
|
|
1470
|
+
<h3 id="primary-entries-example">
|
|
1471
|
+
Primary Entries Example
|
|
1472
|
+
</h3>
|
|
1473
|
+
|
|
1474
|
+
<p>
|
|
1475
|
+
<strong>Input:</strong>
|
|
1476
|
+
</p>
|
|
1477
|
+
|
|
1478
|
+
<div class="highlight">
|
|
1479
|
+
<pre><span></span>The main topic is <!--IDX:idxref-41-->.
|
|
1480
|
+
|
|
1481
|
+
Subtopics include <!--IDX:idxref-42--> and <!--IDX:idxref-43-->.
|
|
1482
|
+
</pre>
|
|
1483
|
+
</div>
|
|
1484
|
+
|
|
1485
|
+
<p>
|
|
1486
|
+
<strong>Output:</strong>
|
|
1487
|
+
The index entry “Networking” will be marked as primary (typically bold), with “TCP” and “UDP” as sub-items.
|
|
1488
|
+
</p>
|
|
1489
|
+
|
|
1490
|
+
<h2 id="output-format">
|
|
1491
|
+
Output Format
|
|
1492
|
+
</h2>
|
|
1493
|
+
|
|
1494
|
+
<p>
|
|
1495
|
+
Index entries in the document are marked with <code><span class="index" id="idxref:N"></code> elements. These markers:
|
|
1496
|
+
</p>
|
|
1497
|
+
|
|
1498
|
+
<ul>
|
|
1499
|
+
|
|
1500
|
+
<li>
|
|
1501
|
+
Are invisible in the rendered output
|
|
1502
|
+
</li>
|
|
1503
|
+
|
|
1504
|
+
<li>
|
|
1505
|
+
Link back from the index entries to their locations in the text
|
|
1506
|
+
</li>
|
|
1507
|
+
|
|
1508
|
+
<li>
|
|
1509
|
+
Use sequential IDs (<code>idxref:0</code>, <code>idxref:1</code>, etc.)
|
|
1510
|
+
</li>
|
|
1511
|
+
|
|
1512
|
+
</ul>
|
|
1513
|
+
|
|
1514
|
+
<p>
|
|
1515
|
+
The generated index section includes:
|
|
1516
|
+
</p>
|
|
1517
|
+
|
|
1518
|
+
<ul>
|
|
1519
|
+
|
|
1520
|
+
<li>
|
|
1521
|
+
A heading (<code><h1 id="index-section">Index</h1></code>)
|
|
1522
|
+
</li>
|
|
1523
|
+
|
|
1524
|
+
<li>
|
|
1525
|
+
A <code><div class="index"></code> container
|
|
1526
|
+
</li>
|
|
1527
|
+
|
|
1528
|
+
<li>
|
|
1529
|
+
A nested <code><ul></code> structure for main entries and sub-items
|
|
1530
|
+
</li>
|
|
1531
|
+
|
|
1532
|
+
<li>
|
|
1533
|
+
Links from each index entry back to its location in the document
|
|
1534
|
+
</li>
|
|
1535
|
+
|
|
1536
|
+
</ul>
|
|
1537
|
+
|
|
1538
|
+
<p>
|
|
1539
|
+
When <code>group-index-by-letter</code> is enabled, entries are organized under letter headings for easier navigation.
|
|
1540
|
+
</p>
|
|
1541
|
+
|
|
1542
|
+
<h2 id="tips-and-best-practices">
|
|
1543
|
+
Tips and Best Practices
|
|
1544
|
+
</h2>
|
|
1545
|
+
|
|
1546
|
+
<ol>
|
|
1547
|
+
|
|
1548
|
+
<li>
|
|
1549
|
+
|
|
1550
|
+
<p>
|
|
1551
|
+
<strong>Consistency</strong>: Use the same term consistently for similar concepts (e.g., always use <code><!--IDX:idxref-44--></code> rather than mixing <code><!--IDX:idxref-45--></code> and <code><!--IDX:idxref-46--></code>).
|
|
1552
|
+
</p>
|
|
1553
|
+
|
|
1554
|
+
</li>
|
|
1555
|
+
|
|
1556
|
+
<li>
|
|
1557
|
+
|
|
1558
|
+
<p>
|
|
1559
|
+
<strong>Hierarchy</strong>: Use sub-items to create logical hierarchies (e.g., <code><!--IDX:idxref-47--></code> groups HTTP under Protocol).
|
|
1560
|
+
</p>
|
|
1561
|
+
|
|
1562
|
+
</li>
|
|
1563
|
+
|
|
1564
|
+
<li>
|
|
1565
|
+
|
|
1566
|
+
<p>
|
|
1567
|
+
<strong>Primary entries</strong>: Use <code>!!</code> for main topics or key concepts that should stand out in the index.
|
|
1568
|
+
</p>
|
|
1569
|
+
|
|
1570
|
+
</li>
|
|
1571
|
+
|
|
1572
|
+
<li>
|
|
1573
|
+
|
|
1574
|
+
<p>
|
|
1575
|
+
<strong>Placement</strong>: Use <code><!--INDEX--></code> to place the index where it makes sense for your document structure (e.g., before appendices but after main content).
|
|
1576
|
+
</p>
|
|
1577
|
+
|
|
1578
|
+
</li>
|
|
1579
|
+
|
|
1580
|
+
<li>
|
|
1581
|
+
|
|
1582
|
+
<p>
|
|
1583
|
+
<strong>Testing</strong>: Use <code>--no-index</code> when developing to see where markers are placed without generating the full index each time.
|
|
1584
|
+
</p>
|
|
1585
|
+
|
|
1586
|
+
</li>
|
|
1587
|
+
|
|
1588
|
+
</ol>
|
|
1589
|
+
|
|
1590
|
+
<h2 id="related">
|
|
1591
|
+
Related
|
|
1592
|
+
</h2>
|
|
1593
|
+
|
|
1594
|
+
<ul>
|
|
1595
|
+
|
|
1596
|
+
<li>
|
|
1597
|
+
<a href="Command-Line-Options#indices">Command Line Options</a> - Complete CLI reference for index options
|
|
1598
|
+
</li>
|
|
1599
|
+
|
|
1600
|
+
<li>
|
|
1601
|
+
<a href="Syntax#indices">Syntax</a> - Index syntax reference
|
|
1602
|
+
</li>
|
|
1603
|
+
|
|
1604
|
+
<li>
|
|
1605
|
+
<a href="Configuration.html">Configuration</a> - Metadata configuration options
|
|
1606
|
+
</li>
|
|
1607
|
+
|
|
1608
|
+
<li>
|
|
1609
|
+
<a href="Modes.html">Modes</a> - Mode-specific index availability
|
|
1610
|
+
</li>
|
|
1611
|
+
|
|
1612
|
+
</ul>
|
|
1613
|
+
|
|
1614
|
+
<h1 id="index-section">
|
|
1615
|
+
Index
|
|
1616
|
+
</h1>
|
|
1617
|
+
|
|
1618
|
+
<div class="index">
|
|
1619
|
+
|
|
1620
|
+
<dl>
|
|
1621
|
+
|
|
1622
|
+
<dt>
|
|
1623
|
+
H
|
|
1624
|
+
</dt>
|
|
1625
|
+
|
|
1626
|
+
<dd>
|
|
1627
|
+
|
|
1628
|
+
<ul>
|
|
1629
|
+
|
|
1630
|
+
<li>
|
|
1631
|
+
|
|
1632
|
+
HTTP <a class="index-return" href="#idxref-5"><sup>[go]</sup></a>
|
|
1633
|
+
</li>
|
|
1634
|
+
|
|
1635
|
+
<li>
|
|
1636
|
+
|
|
1637
|
+
HTTP <a class="index-return" href="#idxref-32"><sup>[go]</sup></a>
|
|
1638
|
+
</li>
|
|
1639
|
+
|
|
1640
|
+
<li>
|
|
1641
|
+
|
|
1642
|
+
HTTP <a class="index-return" href="#idxref-45"><sup>[go]</sup></a>
|
|
1643
|
+
</li>
|
|
1644
|
+
|
|
1645
|
+
<li>
|
|
1646
|
+
|
|
1647
|
+
HTTP <a class="index-return" href="#idxref-44"><sup>[go]</sup></a>
|
|
1648
|
+
</li>
|
|
1649
|
+
|
|
1650
|
+
<li>
|
|
1651
|
+
|
|
1652
|
+
HTTP <a class="index-return" href="#idxref-33"><sup>[go]</sup></a>
|
|
1653
|
+
<ul>
|
|
1654
|
+
|
|
1655
|
+
<li>
|
|
1656
|
+
|
|
1657
|
+
HTTP/1.0 <a class="index-return" href="#idxref-33"><sup>[go]</sup></a>
|
|
1658
|
+
</li>
|
|
1659
|
+
|
|
1660
|
+
</ul>
|
|
1661
|
+
|
|
1662
|
+
</li>
|
|
1663
|
+
|
|
1664
|
+
<li>
|
|
1665
|
+
|
|
1666
|
+
HTTP <a class="index-return" href="#idxref-6"><sup>[go]</sup></a>
|
|
1667
|
+
<ul>
|
|
1668
|
+
|
|
1669
|
+
<li>
|
|
1670
|
+
|
|
1671
|
+
HTTP/1.0 <a class="index-return" href="#idxref-6"><sup>[go]</sup></a>
|
|
1672
|
+
</li>
|
|
1673
|
+
|
|
1674
|
+
</ul>
|
|
1675
|
+
|
|
1676
|
+
</li>
|
|
1677
|
+
|
|
1678
|
+
<li>
|
|
1679
|
+
|
|
1680
|
+
HTTP <a class="index-return" href="#idxref-1"><sup>[go]</sup></a>
|
|
1681
|
+
<ul>
|
|
1682
|
+
|
|
1683
|
+
<li>
|
|
1684
|
+
|
|
1685
|
+
HTTP/1.1 <a class="index-return" href="#idxref-1"><sup>[go]</sup></a>
|
|
1686
|
+
</li>
|
|
1687
|
+
|
|
1688
|
+
</ul>
|
|
1689
|
+
|
|
1690
|
+
</li>
|
|
1691
|
+
|
|
1692
|
+
<li>
|
|
1693
|
+
|
|
1694
|
+
HTTP <a class="index-return" href="#idxref-7"><sup>[go]</sup></a>
|
|
1695
|
+
<ul>
|
|
1696
|
+
|
|
1697
|
+
<li>
|
|
1698
|
+
|
|
1699
|
+
HTTP/1.1 <a class="index-return" href="#idxref-7"><sup>[go]</sup></a>
|
|
1700
|
+
</li>
|
|
1701
|
+
|
|
1702
|
+
</ul>
|
|
1703
|
+
|
|
1704
|
+
</li>
|
|
1705
|
+
|
|
1706
|
+
<li>
|
|
1707
|
+
|
|
1708
|
+
HTTP <a class="index-return" href="#idxref-34"><sup>[go]</sup></a>
|
|
1709
|
+
<ul>
|
|
1710
|
+
|
|
1711
|
+
<li>
|
|
1712
|
+
|
|
1713
|
+
HTTP/1.1 <a class="index-return" href="#idxref-34"><sup>[go]</sup></a>
|
|
1714
|
+
</li>
|
|
1715
|
+
|
|
1716
|
+
</ul>
|
|
1717
|
+
|
|
1718
|
+
</li>
|
|
1719
|
+
|
|
1720
|
+
<li>
|
|
1721
|
+
|
|
1722
|
+
Hypertext Transfer Protocol <a class="index-return" href="#idxref-46"><sup>[go]</sup></a>
|
|
1723
|
+
</li>
|
|
1724
|
+
|
|
1725
|
+
</ul>
|
|
1726
|
+
|
|
1727
|
+
</dd>
|
|
1728
|
+
|
|
1729
|
+
</dl>
|
|
1730
|
+
|
|
1731
|
+
<dl>
|
|
1732
|
+
|
|
1733
|
+
<dt>
|
|
1734
|
+
I
|
|
1735
|
+
</dt>
|
|
1736
|
+
|
|
1737
|
+
<dd>
|
|
1738
|
+
|
|
1739
|
+
<ul>
|
|
1740
|
+
|
|
1741
|
+
<li>
|
|
1742
|
+
|
|
1743
|
+
Implementation <a class="index-return" href="#idxref-4"><sup>[go]</sup></a>
|
|
1744
|
+
</li>
|
|
1745
|
+
|
|
1746
|
+
<li>
|
|
1747
|
+
|
|
1748
|
+
Ishmael <a class="index-return" href="#idxref-17"><sup>[go]</sup></a>
|
|
1749
|
+
</li>
|
|
1750
|
+
|
|
1751
|
+
<li>
|
|
1752
|
+
|
|
1753
|
+
Ishmael <a class="index-return" href="#idxref-21"><sup>[go]</sup></a>
|
|
1754
|
+
</li>
|
|
1755
|
+
|
|
1756
|
+
<li>
|
|
1757
|
+
|
|
1758
|
+
item <a class="index-return" href="#idxref-31"><sup>[go]</sup></a>
|
|
1759
|
+
</li>
|
|
1760
|
+
|
|
1761
|
+
<li>
|
|
1762
|
+
|
|
1763
|
+
item <a class="index-return" href="#idxref-25"><sup>[go]</sup></a>
|
|
1764
|
+
</li>
|
|
1765
|
+
|
|
1766
|
+
<li>
|
|
1767
|
+
|
|
1768
|
+
item <a class="index-return" href="#idxref-26"><sup>[go]</sup></a>
|
|
1769
|
+
<ul>
|
|
1770
|
+
|
|
1771
|
+
<li>
|
|
1772
|
+
|
|
1773
|
+
subitem <a class="index-return" href="#idxref-26"><sup>[go]</sup></a>
|
|
1774
|
+
</li>
|
|
1775
|
+
|
|
1776
|
+
</ul>
|
|
1777
|
+
|
|
1778
|
+
</li>
|
|
1779
|
+
|
|
1780
|
+
<li>
|
|
1781
|
+
|
|
1782
|
+
item <strong> <a class="index-return" href="#idxref-27"><sup>[go]</sup></a></strong>
|
|
1783
|
+
<ul>
|
|
1784
|
+
|
|
1785
|
+
<li>
|
|
1786
|
+
|
|
1787
|
+
subitem <a class="index-return" href="#idxref-27"><sup>[go]</sup></a>
|
|
1788
|
+
</li>
|
|
1789
|
+
|
|
1790
|
+
</ul>
|
|
1791
|
+
|
|
1792
|
+
</li>
|
|
1793
|
+
|
|
1794
|
+
</ul>
|
|
1795
|
+
|
|
1796
|
+
</dd>
|
|
1797
|
+
|
|
1798
|
+
</dl>
|
|
1799
|
+
|
|
1800
|
+
<dl>
|
|
1801
|
+
|
|
1802
|
+
<dt>
|
|
1803
|
+
K
|
|
1804
|
+
</dt>
|
|
1805
|
+
|
|
1806
|
+
<dd>
|
|
1807
|
+
|
|
1808
|
+
<ul>
|
|
1809
|
+
|
|
1810
|
+
<li>
|
|
1811
|
+
|
|
1812
|
+
key combinations <a class="index-return" href="#idxref-11"><sup>[go]</sup></a>
|
|
1813
|
+
</li>
|
|
1814
|
+
|
|
1815
|
+
</ul>
|
|
1816
|
+
|
|
1817
|
+
</dd>
|
|
1818
|
+
|
|
1819
|
+
</dl>
|
|
1820
|
+
|
|
1821
|
+
<dl>
|
|
1822
|
+
|
|
1823
|
+
<dt>
|
|
1824
|
+
M
|
|
1825
|
+
</dt>
|
|
1826
|
+
|
|
1827
|
+
<dd>
|
|
1828
|
+
|
|
1829
|
+
<ul>
|
|
1830
|
+
|
|
1831
|
+
<li>
|
|
1832
|
+
|
|
1833
|
+
machine learning <a class="index-return" href="#idxref-14"><sup>[go]</sup></a>
|
|
1834
|
+
</li>
|
|
1835
|
+
|
|
1836
|
+
<li>
|
|
1837
|
+
|
|
1838
|
+
machine learning <a class="index-return" href="#idxref-37"><sup>[go]</sup></a>
|
|
1839
|
+
</li>
|
|
1840
|
+
|
|
1841
|
+
<li>
|
|
1842
|
+
|
|
1843
|
+
Main <a class="index-return" href="#idxref-30"><sup>[go]</sup></a>
|
|
1844
|
+
<ul>
|
|
1845
|
+
|
|
1846
|
+
<li>
|
|
1847
|
+
|
|
1848
|
+
sub <a class="index-return" href="#idxref-30"><sup>[go]</sup></a>
|
|
1849
|
+
</li>
|
|
1850
|
+
|
|
1851
|
+
</ul>
|
|
1852
|
+
|
|
1853
|
+
</li>
|
|
1854
|
+
|
|
1855
|
+
<li>
|
|
1856
|
+
|
|
1857
|
+
Most mechanical keyboard firmware <a class="index-return" href="#idxref-10"><sup>[go]</sup></a>
|
|
1858
|
+
</li>
|
|
1859
|
+
|
|
1860
|
+
</ul>
|
|
1861
|
+
|
|
1862
|
+
</dd>
|
|
1863
|
+
|
|
1864
|
+
</dl>
|
|
1865
|
+
|
|
1866
|
+
<dl>
|
|
1867
|
+
|
|
1868
|
+
<dt>
|
|
1869
|
+
N
|
|
1870
|
+
</dt>
|
|
1871
|
+
|
|
1872
|
+
<dd>
|
|
1873
|
+
|
|
1874
|
+
<ul>
|
|
1875
|
+
|
|
1876
|
+
<li>
|
|
1877
|
+
|
|
1878
|
+
Networking <a class="index-return" href="#idxref-39"><sup>[go]</sup></a>
|
|
1879
|
+
</li>
|
|
1880
|
+
|
|
1881
|
+
<li>
|
|
1882
|
+
|
|
1883
|
+
Networking <strong> <a class="index-return" href="#idxref-41"><sup>[go]</sup></a></strong>
|
|
1884
|
+
</li>
|
|
1885
|
+
|
|
1886
|
+
<li>
|
|
1887
|
+
|
|
1888
|
+
Networking <a class="index-return" href="#idxref-42"><sup>[go]</sup></a>
|
|
1889
|
+
<ul>
|
|
1890
|
+
|
|
1891
|
+
<li>
|
|
1892
|
+
|
|
1893
|
+
TCP <a class="index-return" href="#idxref-42"><sup>[go]</sup></a>
|
|
1894
|
+
</li>
|
|
1895
|
+
|
|
1896
|
+
</ul>
|
|
1897
|
+
|
|
1898
|
+
</li>
|
|
1899
|
+
|
|
1900
|
+
<li>
|
|
1901
|
+
|
|
1902
|
+
Networking <a class="index-return" href="#idxref-43"><sup>[go]</sup></a>
|
|
1903
|
+
<ul>
|
|
1904
|
+
|
|
1905
|
+
<li>
|
|
1906
|
+
|
|
1907
|
+
UDP <a class="index-return" href="#idxref-43"><sup>[go]</sup></a>
|
|
1908
|
+
</li>
|
|
1909
|
+
|
|
1910
|
+
</ul>
|
|
1911
|
+
|
|
1912
|
+
</li>
|
|
1913
|
+
|
|
1914
|
+
<li>
|
|
1915
|
+
|
|
1916
|
+
Niagara <a class="index-return" href="#idxref-18"><sup>[go]</sup></a>
|
|
1917
|
+
<ul>
|
|
1918
|
+
|
|
1919
|
+
<li>
|
|
1920
|
+
|
|
1921
|
+
cataract <a class="index-return" href="#idxref-18"><sup>[go]</sup></a>
|
|
1922
|
+
</li>
|
|
1923
|
+
|
|
1924
|
+
</ul>
|
|
1925
|
+
|
|
1926
|
+
</li>
|
|
1927
|
+
|
|
1928
|
+
<li>
|
|
1929
|
+
|
|
1930
|
+
Niagara <a class="index-return" href="#idxref-22"><sup>[go]</sup></a>
|
|
1931
|
+
<ul>
|
|
1932
|
+
|
|
1933
|
+
<li>
|
|
1934
|
+
|
|
1935
|
+
cataract <a class="index-return" href="#idxref-22"><sup>[go]</sup></a>
|
|
1936
|
+
</li>
|
|
1937
|
+
|
|
1938
|
+
</ul>
|
|
1939
|
+
|
|
1940
|
+
</li>
|
|
1941
|
+
|
|
1942
|
+
<li>
|
|
1943
|
+
|
|
1944
|
+
Niagara <a class="index-return" href="#idxref-19"><sup>[go]</sup></a>
|
|
1945
|
+
<ul>
|
|
1946
|
+
|
|
1947
|
+
<li>
|
|
1948
|
+
|
|
1949
|
+
sand <a class="index-return" href="#idxref-19"><sup>[go]</sup></a>
|
|
1950
|
+
</li>
|
|
1951
|
+
|
|
1952
|
+
</ul>
|
|
1953
|
+
|
|
1954
|
+
</li>
|
|
1955
|
+
|
|
1956
|
+
</ul>
|
|
1957
|
+
|
|
1958
|
+
</dd>
|
|
1959
|
+
|
|
1960
|
+
</dl>
|
|
1961
|
+
|
|
1962
|
+
<dl>
|
|
1963
|
+
|
|
1964
|
+
<dt>
|
|
1965
|
+
P
|
|
1966
|
+
</dt>
|
|
1967
|
+
|
|
1968
|
+
<dd>
|
|
1969
|
+
|
|
1970
|
+
<ul>
|
|
1971
|
+
|
|
1972
|
+
<li>
|
|
1973
|
+
|
|
1974
|
+
Primary Topic <strong> <a class="index-return" href="#idxref-2"><sup>[go]</sup></a></strong>
|
|
1975
|
+
<ul>
|
|
1976
|
+
|
|
1977
|
+
<li>
|
|
1978
|
+
|
|
1979
|
+
Sub Topic <a class="index-return" href="#idxref-2"><sup>[go]</sup></a>
|
|
1980
|
+
</li>
|
|
1981
|
+
|
|
1982
|
+
</ul>
|
|
1983
|
+
|
|
1984
|
+
</li>
|
|
1985
|
+
|
|
1986
|
+
<li>
|
|
1987
|
+
|
|
1988
|
+
Protocol <a class="index-return" href="#idxref-40"><sup>[go]</sup></a>
|
|
1989
|
+
</li>
|
|
1990
|
+
|
|
1991
|
+
<li>
|
|
1992
|
+
|
|
1993
|
+
Protocol <a class="index-return" href="#idxref-24"><sup>[go]</sup></a>
|
|
1994
|
+
</li>
|
|
1995
|
+
|
|
1996
|
+
<li>
|
|
1997
|
+
|
|
1998
|
+
Protocol <a class="index-return" href="#idxref-0"><sup>[go]</sup></a>
|
|
1999
|
+
</li>
|
|
2000
|
+
|
|
2001
|
+
<li>
|
|
2002
|
+
|
|
2003
|
+
Protocol <a class="index-return" href="#idxref-3"><sup>[go]</sup></a>
|
|
2004
|
+
</li>
|
|
2005
|
+
|
|
2006
|
+
<li>
|
|
2007
|
+
|
|
2008
|
+
Protocol <a class="index-return" href="#idxref-47"><sup>[go]</sup></a>
|
|
2009
|
+
<ul>
|
|
2010
|
+
|
|
2011
|
+
<li>
|
|
2012
|
+
|
|
2013
|
+
HTTP <a class="index-return" href="#idxref-47"><sup>[go]</sup></a>
|
|
2014
|
+
</li>
|
|
2015
|
+
|
|
2016
|
+
</ul>
|
|
2017
|
+
|
|
2018
|
+
</li>
|
|
2019
|
+
|
|
2020
|
+
<li>
|
|
2021
|
+
|
|
2022
|
+
Protocol <a class="index-return" href="#idxref-8"><sup>[go]</sup></a>
|
|
2023
|
+
<ul>
|
|
2024
|
+
|
|
2025
|
+
<li>
|
|
2026
|
+
|
|
2027
|
+
Security <a class="index-return" href="#idxref-8"><sup>[go]</sup></a>
|
|
2028
|
+
</li>
|
|
2029
|
+
|
|
2030
|
+
</ul>
|
|
2031
|
+
|
|
2032
|
+
</li>
|
|
2033
|
+
|
|
2034
|
+
<li>
|
|
2035
|
+
|
|
2036
|
+
Python <a class="index-return" href="#idxref-13"><sup>[go]</sup></a>
|
|
2037
|
+
</li>
|
|
2038
|
+
|
|
2039
|
+
<li>
|
|
2040
|
+
|
|
2041
|
+
Python <a class="index-return" href="#idxref-36"><sup>[go]</sup></a>
|
|
2042
|
+
</li>
|
|
2043
|
+
|
|
2044
|
+
</ul>
|
|
2045
|
+
|
|
2046
|
+
</dd>
|
|
2047
|
+
|
|
2048
|
+
</dl>
|
|
2049
|
+
|
|
2050
|
+
<dl>
|
|
2051
|
+
|
|
2052
|
+
<dt>
|
|
2053
|
+
S
|
|
2054
|
+
</dt>
|
|
2055
|
+
|
|
2056
|
+
<dd>
|
|
2057
|
+
|
|
2058
|
+
<ul>
|
|
2059
|
+
|
|
2060
|
+
<li>
|
|
2061
|
+
|
|
2062
|
+
Sabbath, the <a class="index-return" href="#idxref-23"><sup>[go]</sup></a>
|
|
2063
|
+
</li>
|
|
2064
|
+
|
|
2065
|
+
<li>
|
|
2066
|
+
|
|
2067
|
+
Sabbath, the <a class="index-return" href="#idxref-20"><sup>[go]</sup></a>
|
|
2068
|
+
</li>
|
|
2069
|
+
|
|
2070
|
+
</ul>
|
|
2071
|
+
|
|
2072
|
+
</dd>
|
|
2073
|
+
|
|
2074
|
+
</dl>
|
|
2075
|
+
|
|
2076
|
+
<dl>
|
|
2077
|
+
|
|
2078
|
+
<dt>
|
|
2079
|
+
T
|
|
2080
|
+
</dt>
|
|
2081
|
+
|
|
2082
|
+
<dd>
|
|
2083
|
+
|
|
2084
|
+
<ul>
|
|
2085
|
+
|
|
2086
|
+
<li>
|
|
2087
|
+
|
|
2088
|
+
term <a class="index-return" href="#idxref-16"><sup>[go]</sup></a>
|
|
2089
|
+
</li>
|
|
2090
|
+
|
|
2091
|
+
<li>
|
|
2092
|
+
|
|
2093
|
+
term <a class="index-return" href="#idxref-28"><sup>[go]</sup></a>
|
|
2094
|
+
</li>
|
|
2095
|
+
|
|
2096
|
+
<li>
|
|
2097
|
+
|
|
2098
|
+
term <a class="index-return" href="#idxref-29"><sup>[go]</sup></a>
|
|
2099
|
+
</li>
|
|
2100
|
+
|
|
2101
|
+
<li>
|
|
2102
|
+
|
|
2103
|
+
Term <a class="index-return" href="#idxref-12"><sup>[go]</sup></a>
|
|
2104
|
+
<ul>
|
|
2105
|
+
|
|
2106
|
+
<li>
|
|
2107
|
+
|
|
2108
|
+
param2 <a class="index-return" href="#idxref-12"><sup>[go]</sup></a>
|
|
2109
|
+
</li>
|
|
2110
|
+
|
|
2111
|
+
</ul>
|
|
2112
|
+
|
|
2113
|
+
</li>
|
|
2114
|
+
|
|
2115
|
+
<li>
|
|
2116
|
+
|
|
2117
|
+
The API <a class="index-return" href="#idxref-15"><sup>[go]</sup></a>
|
|
2118
|
+
<ul>
|
|
2119
|
+
|
|
2120
|
+
<li>
|
|
2121
|
+
|
|
2122
|
+
Programming Interface <a class="index-return" href="#idxref-15"><sup>[go]</sup></a>
|
|
2123
|
+
</li>
|
|
2124
|
+
|
|
2125
|
+
</ul>
|
|
2126
|
+
|
|
2127
|
+
</li>
|
|
2128
|
+
|
|
2129
|
+
<li>
|
|
2130
|
+
|
|
2131
|
+
The API <a class="index-return" href="#idxref-38"><sup>[go]</sup></a>
|
|
2132
|
+
<ul>
|
|
2133
|
+
|
|
2134
|
+
<li>
|
|
2135
|
+
|
|
2136
|
+
Programming Interface <a class="index-return" href="#idxref-38"><sup>[go]</sup></a>
|
|
2137
|
+
</li>
|
|
2138
|
+
|
|
2139
|
+
</ul>
|
|
2140
|
+
|
|
2141
|
+
</li>
|
|
2142
|
+
|
|
2143
|
+
<li>
|
|
2144
|
+
|
|
2145
|
+
TLS <a class="index-return" href="#idxref-9"><sup>[go]</sup></a>
|
|
2146
|
+
</li>
|
|
2147
|
+
|
|
2148
|
+
<li>
|
|
2149
|
+
|
|
2150
|
+
TLS <a class="index-return" href="#idxref-35"><sup>[go]</sup></a>
|
|
2151
|
+
</li>
|
|
2152
|
+
|
|
2153
|
+
</ul>
|
|
2154
|
+
|
|
2155
|
+
</dd>
|
|
2156
|
+
|
|
2157
|
+
</dl>
|
|
2158
|
+
|
|
2159
|
+
</div>
|
|
2160
|
+
|
|
2161
|
+
<script>
|
|
2162
|
+
// Hamburger menu functionality
|
|
2163
|
+
(function() {
|
|
2164
|
+
function initHamburgerMenu() {
|
|
2165
|
+
var hamburger = document.getElementById('hamburger-menu');
|
|
2166
|
+
var sidebar = document.querySelector('.main-toc, .sidebar');
|
|
2167
|
+
var overlay = document.getElementById('mobile-menu-overlay');
|
|
2168
|
+
|
|
2169
|
+
if (!hamburger || !sidebar) return;
|
|
2170
|
+
|
|
2171
|
+
function toggleMenu() {
|
|
2172
|
+
var isOpen = sidebar.classList.contains('mobile-open');
|
|
2173
|
+
if (isOpen) {
|
|
2174
|
+
sidebar.classList.remove('mobile-open');
|
|
2175
|
+
hamburger.classList.remove('active');
|
|
2176
|
+
if (overlay) overlay.classList.remove('active');
|
|
2177
|
+
} else {
|
|
2178
|
+
sidebar.classList.add('mobile-open');
|
|
2179
|
+
hamburger.classList.add('active');
|
|
2180
|
+
if (overlay) overlay.classList.add('active');
|
|
2181
|
+
}
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
hamburger.addEventListener('click', function(e) {
|
|
2185
|
+
e.stopPropagation();
|
|
2186
|
+
toggleMenu();
|
|
2187
|
+
});
|
|
2188
|
+
|
|
2189
|
+
if (overlay) {
|
|
2190
|
+
overlay.addEventListener('click', function() {
|
|
2191
|
+
toggleMenu();
|
|
2192
|
+
});
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2195
|
+
// Close menu when clicking on a sidebar link (mobile only)
|
|
2196
|
+
if (window.innerWidth <= 768) {
|
|
2197
|
+
var sidebarLinks = sidebar.querySelectorAll('a');
|
|
2198
|
+
sidebarLinks.forEach(function(link) {
|
|
2199
|
+
link.addEventListener('click', function() {
|
|
2200
|
+
setTimeout(function() {
|
|
2201
|
+
sidebar.classList.remove('mobile-open');
|
|
2202
|
+
hamburger.classList.remove('active');
|
|
2203
|
+
if (overlay) overlay.classList.remove('active');
|
|
2204
|
+
}, 100);
|
|
2205
|
+
});
|
|
2206
|
+
});
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
// Close menu on window resize if going to desktop
|
|
2210
|
+
window.addEventListener('resize', function() {
|
|
2211
|
+
if (window.innerWidth > 768) {
|
|
2212
|
+
sidebar.classList.remove('mobile-open');
|
|
2213
|
+
hamburger.classList.remove('active');
|
|
2214
|
+
if (overlay) overlay.classList.remove('active');
|
|
2215
|
+
}
|
|
2216
|
+
});
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2219
|
+
// Initialize when DOM is ready
|
|
2220
|
+
if (document.readyState === 'loading') {
|
|
2221
|
+
document.addEventListener('DOMContentLoaded', initHamburgerMenu);
|
|
2222
|
+
} else {
|
|
2223
|
+
initHamburgerMenu();
|
|
2224
|
+
}
|
|
2225
|
+
})();
|
|
2226
|
+
|
|
2227
|
+
</script>
|
|
2228
|
+
<script>
|
|
2229
|
+
(function() {
|
|
2230
|
+
// Clone the page TOC for floating TOC
|
|
2231
|
+
function initFloatingTOC() {
|
|
2232
|
+
var pageTOC = document.getElementById('page-toc-top');
|
|
2233
|
+
var floatingTOCContent = document.getElementById('floating-toc-content');
|
|
2234
|
+
var floatingTOC = document.getElementById('floating-toc');
|
|
2235
|
+
|
|
2236
|
+
if (!pageTOC || !floatingTOCContent || !floatingTOC) return;
|
|
2237
|
+
|
|
2238
|
+
// Clone the TOC structure
|
|
2239
|
+
var tocClone = pageTOC.cloneNode(true);
|
|
2240
|
+
tocClone.id = 'floating-toc-clone';
|
|
2241
|
+
floatingTOCContent.appendChild(tocClone);
|
|
2242
|
+
|
|
2243
|
+
// Update all links to use smooth scrolling
|
|
2244
|
+
var allTOCLinks = document.querySelectorAll('.page-toc a, .floating-toc-content a');
|
|
2245
|
+
allTOCLinks.forEach(function(link) {
|
|
2246
|
+
link.addEventListener('click', function(e) {
|
|
2247
|
+
var href = this.getAttribute('href');
|
|
2248
|
+
if (href && href.startsWith('#')) {
|
|
2249
|
+
e.preventDefault();
|
|
2250
|
+
var targetId = href.substring(1);
|
|
2251
|
+
var targetElement = document.getElementById(targetId);
|
|
2252
|
+
if (targetElement) {
|
|
2253
|
+
var offset = 20; // Offset from top
|
|
2254
|
+
|
|
2255
|
+
// Function to calculate absolute position from document top
|
|
2256
|
+
function getAbsoluteTop(element) {
|
|
2257
|
+
var top = 0;
|
|
2258
|
+
while (element) {
|
|
2259
|
+
top += element.offsetTop;
|
|
2260
|
+
element = element.offsetParent;
|
|
2261
|
+
}
|
|
2262
|
+
return top;
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2265
|
+
var absoluteTop = getAbsoluteTop(targetElement);
|
|
2266
|
+
var scrollTop = window.pageYOffset || document.documentElement.scrollTop;
|
|
2267
|
+
var offsetPosition = absoluteTop - offset;
|
|
2268
|
+
|
|
2269
|
+
// Only scroll if we're not already at the target position
|
|
2270
|
+
if (Math.abs(scrollTop - offsetPosition) > 10) {
|
|
2271
|
+
window.scrollTo({
|
|
2272
|
+
top: Math.max(0, offsetPosition),
|
|
2273
|
+
behavior: 'smooth'
|
|
2274
|
+
});
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
// Update URL hash without triggering scroll
|
|
2278
|
+
if (history.pushState) {
|
|
2279
|
+
history.pushState(null, null, href);
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
});
|
|
2284
|
+
});
|
|
2285
|
+
|
|
2286
|
+
// Handle scroll to show/hide floating TOC
|
|
2287
|
+
var tocTop = pageTOC.getBoundingClientRect().top + window.pageYOffset;
|
|
2288
|
+
var tocBottom = tocTop + pageTOC.offsetHeight;
|
|
2289
|
+
|
|
2290
|
+
function updateFloatingTOC() {
|
|
2291
|
+
var scrollY = window.pageYOffset || document.documentElement.scrollTop;
|
|
2292
|
+
|
|
2293
|
+
if (scrollY > tocBottom) {
|
|
2294
|
+
floatingTOC.classList.add('visible');
|
|
2295
|
+
} else {
|
|
2296
|
+
floatingTOC.classList.remove('visible');
|
|
2297
|
+
}
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
// Throttle scroll events
|
|
2301
|
+
var ticking = false;
|
|
2302
|
+
window.addEventListener('scroll', function() {
|
|
2303
|
+
if (!ticking) {
|
|
2304
|
+
window.requestAnimationFrame(function() {
|
|
2305
|
+
updateFloatingTOC();
|
|
2306
|
+
ticking = false;
|
|
2307
|
+
});
|
|
2308
|
+
ticking = true;
|
|
2309
|
+
}
|
|
2310
|
+
});
|
|
2311
|
+
|
|
2312
|
+
// Initial check
|
|
2313
|
+
updateFloatingTOC();
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
// Initialize when DOM is ready
|
|
2317
|
+
if (document.readyState === 'loading') {
|
|
2318
|
+
document.addEventListener('DOMContentLoaded', initFloatingTOC);
|
|
2319
|
+
} else {
|
|
2320
|
+
initFloatingTOC();
|
|
2321
|
+
}
|
|
2322
|
+
})();
|
|
2323
|
+
</script>
|
|
2324
|
+
<footer class="page-footer"><p>Copyright 2025 Brett Terpstra, All Rights Reserved | MIT License</p></footer></body>
|
|
2325
|
+
|
|
2326
|
+
</html>
|
|
2327
|
+
|