WikiSyntax: Add header disambiguation
authorWuzzy
Wed, 17 Apr 2019 00:24:51 +0100
changeset 1736 a44311807172
parent 1735 4b658d116488
child 1737 60b8b33c0392
WikiSyntax: Add header disambiguation
WikiSyntax.wiki
--- a/WikiSyntax.wiki	Wed Apr 17 00:19:05 2019 +0100
+++ b/WikiSyntax.wiki	Wed Apr 17 00:24:51 2019 +0100
@@ -194,6 +194,12 @@
 
 And it will render as: [WikiSyntax#Wiki-style_markup].
 
+==== Header disambiguation ====
+
+Sometimes the page needs multiple headers with the same name. In this case, the normal header link will always lead to the first header. If you want to link to the *n*th header (starting with 2), append two underscores and the number *n*.
+
+For example, to link to the second header named “Header” in the page “!WikiSyntax”, use `[WikiSyntax#Header__3]`.
+
 === Links to external pages ===
 
 You can of course link to external pages from your own wiki pages,