{ } Raw JSON

bundles / papyri latest / papyri / directives / rubric_handler

function

papyri.directives:rubric_handler

source: /papyri/directives.py:337

Signature

def rubric_handler(argument: str, options: dict[str, str], content: str) → list[Any]

Summary

Handler for .. rubric:: — an unnumbered section heading.

Extended Summary

Produces an Admonition(kind="rubric") so the text is visible without polluting the table-of-contents. The argument is the heading text; an optional body (uncommon in practice) is parsed and appended.

Aliases

  • papyri.directives.rubric_handler