Registers a renderer class under key.

Called by build-time plugin composition (REQ-V3-37) to add plugin-supplied renderers – e.g. flude-oda-plugin’s oda_html/ oda_hugo_markdown – without this module knowing about them.

Methods

register_renderer

register_renderer(key: str, cls: Type)

Registers a renderer class under key.

Called by build-time plugin composition (REQ-V3-37) to add plugin-supplied renderers – e.g. flude-oda-plugin’s oda_html/ oda_hugo_markdown – without this module knowing about them.

ParameterTypeDescription
keystrThe --format/renderer.type spec string this renderer will
clsTypeThe BaseRenderer subclass to register.

Generated with Flude

Copyright © 2026