From 568cc2f7587c7d568f6114965b01c14b36e307fd Mon Sep 17 00:00:00 2001 From: anarcat Date: Wed, 30 Jan 2019 12:32:47 -0400 Subject: [PATCH] show tagging example --- doc/plugins/map.mdwn | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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)]] """]]