(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-44) was last changed on 15-Dec-2007 14:57 by YaroslavStavnichiy  

This page was created on 12-Jan-2007 16:31 by RadomirDopieralski

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 228 added 12 lines
Radomir asks: <q>What if I want a tilde at the end of a nowiki span or pre block?</q>
In my preferred version of the proposal, a tilde at the end of a pre block is just fine and need not be escaped. Keep in mind that the close of a pre block is three closing braces on a line by themselves. Therefore, any line ending in a tilde cannot collide with the end-of-block delimiter.
Just to be clear, I'll restate the proposal: the end of a pre block is a line consisting of three closing braces. The "escaped" pattern is one or more tildes followed by three closing braces, and that is rendered by lopping off one of the tildes. All other lines are rendered unmodified.
In my preferred version of inline pre (I dislike the term "nowiki" because it doesn't clearly distinguish between simply not processing wiki markup and inline preformatted markup which includes monosopace font), the tilde character is //not// used as an escape. Instead, to address the common case of allowing closing braces at the end of an inline pre span, the pattern for closing such a span is the //last// three closing braces in a span of three or more. The only pattern this does not allow is a pre span followed immediately by a non-pre close brace, with no whitespace in between. It's difficult for me to imagine.
Incidentally, both of these proposals are implemented in Ghestalt, and the [[http://ghestalt.ghilbert.org/wiki/Sandbox|Sandbox]] is open to all interested Creotians.
-- RaphLevien, 2007-01-22
Version Date Modified Size Author Changes ... Change note
44 15-Dec-2007 14:57 29.148 kB YaroslavStavnichiy to previous
43 15-Dec-2007 12:13 29.147 kB YaroslavStavnichiy to previous | to last
42 26-Sep-2007 09:31 28.525 kB ChuckSmith to previous | to last restore
41 26-Sep-2007 01:09 28.549 kB 194.9.85.141 to previous | to last
« This page (revision-44) was last changed on 15-Dez-2007 14:57 by YaroslavStavnichiy