]> sipb.mit.edu Git - ikiwiki.git/commitdiff
escape example directives
authorJoey Hess <joey@kitenet.net>
Sat, 3 Mar 2012 16:33:40 +0000 (12:33 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 3 Mar 2012 16:33:40 +0000 (12:33 -0400)
doc/ikiwiki/directive/osm.mdwn

index bf7a2e1bd2d5c67d695d1bdd7ca9a24c04a28b4c..a2cdd667f6c446c256c397d1f399f47442f7b0f4 100644 (file)
@@ -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)..