I'd like to propose the following logic for handling this element:

# If the first brace is on the first column, and there are no non-whitespace characters after the last brace, then this element starts a block-level element.
# Otherwise, start a <span>.

The point is that I've found that my users often want to escape markup within a sentence, and the above rules seem to work well in that case.

Whether there is whitespace before the first brace is a matter of taste, I believe.

-- Janne Jalkanen, 31-Aug-2006


like this?
{{{

this is an example {{ ==h1, **bold** }} that starts a span
and this is an example as a block for sourcecode

{{
println 'hello world';
}}

}}}

-- Christoph, 31-Aug-2006