Plugins#

Built-in Wenmode plugins and plugin API types.

class wenmode.plugins.PluginModule(*args, **kwargs)#

Protocol for objects installable through Wenmode plugins.

setup(wen, /)#

Install parser rules, renderer handlers, or other behavior.

wenmode.plugins.RendererHandlers#

A Mapping is a generic container for associating key/value pairs.

This class provides concrete generic implementations of all methods except for __getitem__, __iter__, and __len__.

alias of Mapping[str, Mapping[str, Callable[[…], str]]]

Built-in plugin modules are documented in Plugins. For implementing a plugin, see Custom Plugins.