Use “standard” {{{ and }}} delimiters for code sections
It would be really convenient if code sections could be inserted into {{{ and }}} tags. These are less common than
The {{{ and }}} convention is used by Trac, Google Code and MoinMoin wiki.
9 replies
Here is the description of how to specify language in Trac – http://trac.edgewall.org/wiki/WikiProcessors#CodeHighlightingSupport
What language/license is used for this Wiki? Will it be possible to use Trac processor together with pygments for code highlighting?
Now used Textile [warpedvisions.org] markup language, I don’t see sense for change part of it.
Because ‘@’ is more likely to be found inside a source code or in other text than }}}, thus it easily screws up formatting:
@
(the above thing is broken intentionally). I’m not saying we should remove at, but simply ADD the other ones (and, for instance, leave ATs for inline code and [ code ] [ / code ] for blocks).
And still, how about supporting more than one language (namely, C++)? [ code lang = perl ] [ / code ] would make it easy.
—
To say it all, I’m hating textile. It’s really fragile and really unfit for a IT / Tech forum.
You must log in to post a reply. Not a member yet? Register here!



