[pmwiki-users] name for [@...@]
Petko Yotov
5ko at 5ko.fr
Tue Sep 25 04:01:24 CDT 2012
Peter Bowers writes:
> I note on http://www.pmwiki.org/wiki/PmWiki/MarkupMasterIndex that
> [@...@] is listed both under paragraph blocks (called "preformatted
> block") and under character format (called "escaped code"). (Whereas
> [=...=] is listed only under the character format as "escaped text".)
>
> I'm wondering (1) if it's supposed to be in both
Yes. If it contains a new line, [@...@] becomes <pre> and whitespace is
preserved, if not, it is wrapped in <code>. In both cases the markup is not
processed. The other one, [=...=] is just returned as-is without processing
the markup and without wrapping it in tags.
> and (2) which is the preferred name...
I don't know. :-)
Petko
More information about the pmwiki-users
mailing list