On Wednesday 08 February 2006 10:57, Mathieu Roy wrote: > I don't understand why it is so hard to explain that if we are about to > use something that is not HTML as markup in comments, using things > similar to HTML while it is not HTML would just be confusing.
I've changed the syntax to be "#verbatim#_do not markup#/verbatim#", which
will produce "_do not markup_".
> And being force to open and close tag is not user friendly either. The
> less you have to type the better.
Come on, Mathieu, we're talking about one character here. Also, we need to
differentiate the closing and opening tags, because we allow nesting them.
Example:
"#verbatim#*test* with more #verbatim#_tags_#/verbatim##/verbatim#"
This will be correctly parsed as:
"*test* with more _tags_"
However, this here:
"#verbatim#*test* with more #verbatim#_tags_#verbatim##verbatim#"
... would be parsed as follows:
"*test* with more <em>tags</em>"
> And how could be sure to differenciate the markup from the actual code.
> If someone post
>
> bla bla <code>adapadj ad</b></code>adadoa xadai dia</code>
>
> will the software being able to guess that it should not close at the
> first </code> because it is the second one that is not part of the code
> but of the markup?
It simply can't. But that's always the problem, if you need to write out
your tags. It's exactly the same for this example:
bla bla #code#adapadj ad </b>#/code#adadoa xadai dia#/code#
Your example is simply not well-formed markup.
> As I said before, I cannot picture us add "pre" which in no language have
> any meaning. And for code, well it could be an alias for verbatim, why
> not.
No, code is not an alias for verbatim. In the current code, verbatim means
nothing else than "disable the markup parsing routine for this text".
There's nothing more implied about the context, like <kbd>, <code> or
similar tags.
Please try testing this function now, or give me some real data of Savane
(e.g. bugs), so I can do some testing on my own.
Cheers,
--
Tobias
Warning: Trespassers will be shot.
Survivors will be shot again.
pgp1fPgITRW1u.pgp
Description: PGP signature
