Revision 2 - 2009-02-09 at 06:30:43
h1. Plugin invocation syntax
How should plugins be invoked in wiki text? What should be the markup
h2. Consensus
syntaxes that require one line, such as
=toc
are not a good idea because sooner or later we'll need a plugin invoked in enclosing formatting for which line breaks may be significant (e.g. a plugin in a table, or even this list)
- symmetric separators are preferred over the same separator: {{plugin}} over @!plugin!@
h2. Proposals
- {{ plugin(param1, param2, ...) }} - MediaWiki Syntax, familiar to the Wiki community
- [% plugin(param1, param2, ...) %] - template toolkit syntax, familiar to the Catalyst community
- @<plugin(param1, param2, ...)>@ - XML syntax
Showing changes from previous revision. Removed | Added
