(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 
This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Creole should allow users to escape markup characters (or all non-alphanumeric characters) with a special character - for example backslash ("\"). It's often faster to type and more readable than using nowiki (3+3 curly braces). In order to allow spaces in front of lists, which is a quite common practice in wiki engines, it should be a escape character other than space.

This way, stars, slashes and other markup characters, when found in the original text, can be easily escaped, to be rendered as themselves.

The special escape character, when put before alpha-numeric characters, could be rendered as itself (no escape).

If backslash is chosen as escape character, then it's to be noted that it cannot be used to escape itself. In fact, two consecutive backslashes are converted to a line-break. (Solution: to introduce one or more backslashes where they wouldn't be allowed by other rules, each of them should be followed by a space - which won't be rendered).

If an escape character is defined, then it would be possible to keep the existing nowiki syntax as it is (rendered as monospace). The escape character could be used to have Creole markup in the output, even not monospaced.

Backslash as escape character is Not New. See:

Backslash is already used in creole for line breaks, leading to confusing wiki text for endusers. A character that is not used otherwise in Creole is a tilde. This is not new as well and would be easy to parse.

Escaping Lists and Headings markup

   5
~- 10
~====
~- 5

Escaping Nowiki Markup

{{{

{{{
This is a nowiki markup block showing nowiki markup usage in a wiki (complicated stuff ;)
~}}}

}}}

Discussion#

Gregor Hagedorn I dislike the use of backslash for this, since it will have to be escaped extremely frequently when a Wiki is used in the documenting or support of a Windows environment (part of pathnames). Pathnames would then look like (this cannot be typed in Creole, or?? How do I escape the triple-brace inside triple-brace text? O, the tilde seems to work, but is that Creole?)

Look at: N:{{{\}}}Users{{{\}}}MailHelp ...

Add new attachment

Only authorized users are allowed to upload new attachments.

« This particular version was published on 25-Feb-2007 20:02 by 77.128.12.229.