Hi all,
Don't know if this is widely known (and much less, whether it is
useful), but I discovered that you can quickly make a non-linking link
simply by inserting a single link break. That is, the code:
[[Some
link]]
Will render as: [[Some link]] - just plain text.
Caveats:
- Only really works with multi-word links, as breaking anywhere but a
space inserts an extra space:
[[Foo
]]
renders as: [[Foo ]]
- Attempting to use a "pipe trick" with a single word produces the
amusing effect of making the link totally vanish: [[Foo|
]] renders as nothing at all. (while [[Foo|]] renders as linked Foo).
- explicitly linking the name back to itself produces a normal link: [[Foo|
Foo]] is the same as [[Foo]].
- doesn't seem to work for templates
- probably not useful for anything?
Anyway, just some more rather curious fringe parser behaviour.
Steve
Show replies by date