bundles / papyri 0.0.10 / papyri / directives / container_handler
function
papyri.directives:container_handler
source: /papyri/directives.py :357
Signature
def container_handler ( argument : str , options : dict[str, str] , content : str ) → list[Any] Summary
Handler for .. container:: — unfold wrapped content.
Extended Summary
The container directive is a structural wrapper with an optional CSS class name. Since the papyri IR has no class-name concept for block nodes, we drop the wrapper and return the parsed children directly.
Aliases
-
papyri.directives.container_handler