Loading...
 
Skip to main content

Features / Usability


Escaping Tiki Wiki syntax

Anyone knows how to do it? I've got users that are publishing sample codes that have class names like 'ApplicationServerObject', but these are always displayed as a tiki page link with '?' next to it. Wondering if there's a way around it.

> Anyone knows how to do it? I've got users that are publishing sample codes that have class names like 'ApplicationServerObject', but these are always displayed as a tiki page link with '?' next to it. Wondering if there's a way around it.

Looks like I found the solution. However in general, how does one escape Wiki syntax? Say I want to output this text exactly how it looks without having 'Tiki Page Name' turning into a wiki link...

'User Tiki Page Name to create a Wiki link'

> > Anyone knows how to do it? I've got users that are publishing sample codes that have class names like 'ApplicationServerObject', but these are always displayed as a tiki page link with '?' next to it. Wondering if there's a way around it.
>
> Looks like I found the solution. However in general, how does one escape Wiki syntax? Say I want to output this text exactly how it looks without having 'Tiki Page Name' turning into a wiki link...
>
> 'User Tiki Page Name to create a Wiki link'

You could do that be temporarily escaping wiki syntax parsing this is done by placing at the beginning to escape parsing and at the end - to restart parsing

so your example would look like

~np ~ 'User ((Tiki Page Name)) to create a Wiki link' ~/np~

Your link is now not parsed, but displayed as written.


Cheers

Andrew


If you leave "Use WikiWords" unchecked on the Admin/Wiki page, then those words (with internal upper-case letters) won't automatically be shown as links. But if you do leave that box unchecked, then to make a wiki link, you have to use double parentheses around all wiki ((link names)). If you want to use WikiWords for links in general, but want some to be exceptions, then use double outward-facing parentheses around the exceptions, like ))ApplicationServerObject((.

Personally, I think it's best to use the double-parentheses for wiki links rather than wiki words because there are so many terms these days with internal uppercase letters, and even hyphenated capitalized words become unintended links in wiki pages.

-- Gary

> If you leave "Use WikiWords" unchecked on the Admin/Wiki page, then those words (with internal upper-case letters) won't automatically be shown as links. But if you do leave that box unchecked, then to make a wiki link, you have to use double parentheses around all wiki ((link names)). If you want to use WikiWords for links in general, but want some to be exceptions, then use double outward-facing parentheses around the exceptions, like ))ApplicationServerObject((.
>
> Personally, I think it's best to use the double-parentheses for wiki links rather than wiki words because there are so many terms these days with internal uppercase letters, and even hyphenated capitalized words become unintended links in wiki pages.
>
> — Gary

How about escaping characters like HELLO WORLD? It will appear as HELLO WORLD (Bold!)

> > If you leave "Use WikiWords" unchecked on the Admin/Wiki page, then those words (with internal upper-case letters) won't automatically be shown as links. But if you do leave that box unchecked, then to make a wiki link, you have to use double parentheses around all wiki ((link names)). If you want to use WikiWords for links in general, but want some to be exceptions, then use double outward-facing parentheses around the exceptions, like ))ApplicationServerObject((.
> >
> > Personally, I think it's best to use the double-parentheses for wiki links rather than wiki words because there are so many terms these days with internal uppercase letters, and even hyphenated capitalized words become unintended links in wiki pages.
> >
> > — Gary
>
> How about escaping characters like HELLO WORLD? It will appear as HELLO WORLD (Bold!)

Oopps..pls ignore my last post.