(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]

I strongly second the proposal, important separation of issues.

Being aware that Creole currently has a weak position about nested formatting: I would vote for being able to have emphasized parts within monospace programming code! It does help discussions to be able to highlight within a bigger, emphasized part.

-- Gregor Hagedorn - 2007-03-14

I also support the proposal.

Not sure if that's what Gregor means, but I wouldn't like markup in preformatted blocks. Or it should be a second kind of preformatted blocks. Otherwise, normal program listings would require way too much escaping.

-- YvesPiguet, 2007-Mar-16

So, it would be something like this:

 This is normal text ##this is monospaced with a [[link]] and **emphasis**##.
 This is {{{[[not a link]]}}}, ##{{{this is monospaced nowiki}}}##, but:

 {{{
  /** this is a normal comment, without any emphasis **/
  # this is a comment
  int main() {{{
    z = "//this is not italic text//"
  }}}
 }}}

So, a preformated block is something different than ##monospace## font. To have formatting within a monospaced block of text, one has to use normal text:

##
 int **main**() {{{{{{}}}\\
  z = "''this is italic text''"\\
 {{{}}}}}}
##

Note, that engines can extend the preformated block to inlcude coloring/fomratting of the code -- actually that's what I do in the MoinMoin parser:

 {{{
 #!perl
  some colored perl code
 }}}

But maybe the <<<...>>> or other special markup should be used for that? The current approach has an advantage of graceful degradation...

-- Radomir Dopieralski, 2007-Mar-2007

Add new attachment

Only authorized users are allowed to upload new attachments.

« This particular version was published on 16-Mär-2007 10:36 by 83.18.142.106.