1. Tilde
- Posted by ghaberek (admin) Sep 23, 2009
- 1231 views
Why does the Tilde (~) not show up when I use it as shorthand for "home" in a Linux path?
Example:
^ there should be a Tilde here...
-Greg
2. Re: Tilde
- Posted by DerekParnell (admin) Sep 23, 2009
- 1242 views
Why does the Tilde (~) not show up when I use it as shorthand for "home" in a Linux path?
Example:
^ there should be a Tilde here...
-Greg
Because the tilde ~ is creole's escape character. It is used to escape creole tags.
For example, say you wanted to show adjacent asterisks "**". Without a tilde this would be interpreted as the start of a bold section of text, but by typing in "~**" the first asterisk is accepted as is and not seen as part of a creole tag. The tilde also escapes itself, so to show a single tilde, use two of them ...
:##~~/path/to/file## \\**^ there should be a Tilde here...**
^ there should be a Tilde here...
An alternate way to do this is to use the triple brace tag, which encloses text that will not be examined for creole tags at all.
:##{{{~}}}/path/to/file## \\**^ there should be a Tilde here...**
^ there should be a Tilde here...