# HG changeset patch # User Wuzzy # Date 1555457091 -3600 # Node ID a44311807172a2eb514f54129947a46f1950e5af # Parent 4b658d11648806bfe95142f341d5f3ed2c7c2f90 WikiSyntax: Add header disambiguation diff -r 4b658d116488 -r a44311807172 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,