(anonymous guest) (logged out)

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

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-32) was last changed on 04-May-2007 16:05 by ChristophSauer  

This page was created on 14-Mar-2007 01:07 by 77.128.12.173

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 91 changed one line
I like the escape character, because it is quick. If Wikis were not about being quick and comfortable, we should use decent xhtml and forget about this discussion. So I personally believe having triple brace for preformatted block, double brace for neutral no-wiki span, and tilde for single character escape is not a clean design, but convenient and reasonable. I have worked for years on a TWiki where CamelCase cannot be turned (as JSPWiki allows), discussion XML Schemata for biodiversity (i.e. tons of unintended CamelCase). With a single character escape it was hard enough, but with braces around every 10th Word or so I probably would have walked away.
I like the escape character, because it is quick. If Wikis were not about being quick and comfortable, we should use decent xhtml and forget about this discussion. So I personally believe that having triple brace for preformatted block, double brace for neutral no-wiki span, and tilde for single character escape is not a clean design, but convenient and reasonable. I have worked for years on a TWiki where CamelCase cannot be turned off (as JSPWiki allows), discussing XML Schemata for biodiversity (i.e. tons of unintended CamelCase). With a single character escape it was hard enough, but with braces around every 10th Word or so I probably would have walked away.
At line 115 changed one line
Because the {{{{{foo~}}}}} would be then used for "proportional font nowiki".
Because the {{{"{{foo~}}"}}} would be then used for "proportional font nowiki".
At line 118 added 17 lines
Thinking about this a bit more, I would first define:
* no-wiki = "all markup is ignored"
* no-wiki-span = "all markup in the span is ignored"
* no-wiki-character = "the following character (including punctation) is not interpreted as markup"
* pre = a no-wiki span where blanks and new lines are significant, rendered in non-proportional font
My priorities would be:
# we need a pre-element (currently triple brace)
# we need a no-wiki-span not affecting any formatting; fixed font in the middle of text looks stupid and creates undesired emphasis; also future creole versions may allow nested formatting! (I accidentially proposed double brace for this)
# we need a no-wiki-character for convenience (currently tilde)
As to formatting non-pre text in non-proportional font, the most logical approach would be to have some markup for this. In my mind, the best approach for this would be to define some basic markup that then can be extended to cover a lot such special cases (including superscript, subscript, underline, fixed font, etc., see [[Extensible Formatting Element Proposal]]). However, at the moment, triple brace has two modes: on line of its own it is a proper PRE element, whereas when used inline, it acts as "no-wiki-plus-non-proportional font". Although making Creole slightly more complicated, this behaviour is fully logical and I see no reason to abandon it. I believe this addresses the second problem Radomir was mentioning. Is this correct?
-- [[Gregor Hagedorn]], 2007-04-01
Version Date Modified Size Author Changes ... Change note
32 04-May-2007 16:05 14.119 kB ChristophSauer to previous it is not bad, but how can people/engines convert to a separation?
31 03-May-2007 15:50 13.312 kB JanneJalkanen to previous | to last
30 03-May-2007 12:20 12.627 kB JanneJalkanen to previous | to last
29 03-May-2007 11:40 12.27 kB YvesPiguet to previous | to last Use tilde
28 03-May-2007 10:05 11.858 kB ChristophSauer to previous | to last Problems with JSPWiki, others engines too?
27 02-May-2007 21:28 11.183 kB YvesPiguet to previous | to last Separate markup makes markup more orthogonal and easier to remember
26 02-May-2007 19:26 10.672 kB ChristophSauer to previous | to last if you provide me with usecases I could change my mind
25 23-Apr-2007 01:29 9.908 kB YvesPiguet to previous | to last ok
24 23-Apr-2007 00:55 9.703 kB 85.221.141.46 to previous | to last nowiki is wrapped, right?
23 23-Apr-2007 00:23 9.421 kB YvesPiguet to previous | to last Word wrap in inline nowiki
22 21-Apr-2007 13:07 9.358 kB 85.221.141.46 to previous | to last wrapping is responsibility of browser, not parser
21 21-Apr-2007 13:06 9.358 kB 85.221.141.46 to previous | to last wrapping is responsibility of browser, not parser
« This page (revision-32) was last changed on 04-Mai-2007 16:05 by ChristophSauer