Commit 839816

2026-08-30 14:33:51 Ralph Thesen: Add PageIndex example page
/dev/null .. examples/pageindex.md
@@ 0,0 1,40 @@
+ # PageIndex
+
+ [PageIndex Documentation](/-/help/plugins#pageindex)
+
+ The `{{PageIndex}}` embedding lists the pages below the current page. This
+ example page has three subpages (*Giant Otter*, *River Otter*, *Sea Otter*),
+ so the instances below all list those.
+
+ ## Default, letter-grouped
+
+ ```
+ {{PageIndex}}
+ ```
+
+ {{PageIndex}}
+
+ ## As a plain list, with page headings
+
+ `style=list` renders an unordered list instead of the letter-grouped layout,
+ and `toc=true` nests each page's headings underneath it.
+
+ ```
+ {{PageIndex|style=list|toc=true}}
+ ```
+
+ {{PageIndex|style=list|toc=true}}
+
+ ## Filtered by a glob pattern
+
+ `src` filters the listed pages by title. Here only the pages ending in
+ *Otter* that start with *S* are kept.
+
+ ```
+ {{PageIndex|src=S* Otter}}
+ ```
+
+ {{PageIndex|src=S* Otter}}
+
+ See the [PageIndex documentation](/-/help/plugins#pageindex) for `toggle` and
+ the remaining options.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9