aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authoranarcat <anarcat@web>2019-01-30 12:32:47 -0400
committeradmin <admin@branchable.com>2019-01-30 12:32:47 -0400
commit568cc2f7587c7d568f6114965b01c14b36e307fd (patch)
tree2789e33a73750203d9e8f252e6d77310e1d8e2fd /doc/plugins
parentf353a12e39527d47beef3de63024fcadde6e6b0d (diff)
downloadikiwiki-568cc2f7587c7d568f6114965b01c14b36e307fd.tar
ikiwiki-568cc2f7587c7d568f6114965b01c14b36e307fd.tar.gz
show tagging example
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/map.mdwn10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/plugins/map.mdwn b/doc/plugins/map.mdwn
index b164d5ca8..c257d365f 100644
--- a/doc/plugins/map.mdwn
+++ b/doc/plugins/map.mdwn
@@ -5,7 +5,15 @@ This plugin provides the [[ikiwiki/directive/map]] [[ikiwiki/directive]],
which generates a hierarchical page map for the wiki.
[[!if test="enabled(map)" then="""
-Here's an example map, for the plugins section of this wiki:
+This will create an a map, for the plugins section of this wiki:
+
+ \[[!map pages="(plugins or plugins/*) and !*/*/*"]]
+
+Example:
[[!map pages="(plugins or plugins/*) and !*/*/*"]]
+
+It's also possible to search for specific tags or links:
+
+ [[!map pages="todo/* and !todo/done and !link(todo/done)]]
"""]]