aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-03-03 12:33:40 -0400
committerJoey Hess <joey@kitenet.net>2012-03-03 12:33:40 -0400
commite0f42db381dc806318f6bc306d9b6e3c0912a2e9 (patch)
treef50712532883b4d95d6e3728b7caaa9c1cb81e88
parent1d27e8c11155cbf7d12bf16235a46ddcc58e0b76 (diff)
downloadikiwiki-e0f42db381dc806318f6bc306d9b6e3c0912a2e9.tar
ikiwiki-e0f42db381dc806318f6bc306d9b6e3c0912a2e9.tar.gz
escape example directives
-rw-r--r--doc/ikiwiki/directive/osm.mdwn10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/ikiwiki/directive/osm.mdwn b/doc/ikiwiki/directive/osm.mdwn
index bf7a2e1bd..a2cdd667f 100644
--- a/doc/ikiwiki/directive/osm.mdwn
+++ b/doc/ikiwiki/directive/osm.mdwn
@@ -6,21 +6,21 @@ to add points to the map.
## examples
- [[!osm]]
- [[!waypoint lat="45°30N" lon="73°40W" name="My city" tag="city"]]
+ \[[!osm]]
+ \[[!waypoint lat="45°30N" lon="73°40W" name="My city" tag="city"]]
The osm directive will display the actual map, while the waypoint
directive adds waypoints to the map.
The above can also be shortened as:
- [[!waypoint lat="45°30N" lon="73°40W" name="My city" tag="city" embed]]
+ \[[!waypoint lat="45°30N" lon="73°40W" name="My city" tag="city" embed]]
The tag is also taken from the tags elsewhere in the page, so the
above is equivalent to:
- [[!waypoint lat="45°30N" lon="73°40W" name="My city" embed]]
- [[!tag city]]
+ \[[!waypoint lat="45°30N" lon="73°40W" name="My city" embed]]
+ \[[!tag city]]
The icon is also taken from the tag if attached to the tag page as
icon.png (default, modifiable)..