| Trees | Indices | Help |
|
|---|
object --+ | core.Interface --+ | IWikiSyntaxProvider
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__init__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
Inherited from object:
__class__
Return an iterable that provides additional wiki syntax.
Additional wiki syntax correspond to a pair of (regexp, cb),
the regexp for the additional syntax and the callback cb
which will be called if there's a match.
That function is of the form cb(formatter, ns, match).
Return an iterable over (namespace, formatter) tuples.
Each formatter should be a function of the form:
{{{#!python
def format(formatter, ns, target, label, fullmatch=None):
pass
}}}
and should return some HTML fragment. The `label` is already
HTML escaped, whereas the `target` is not. The `fullmatch` argument
is optional, and is bound to the regexp match object for the link.
| Trees | Indices | Help |
|
|---|