rst2typst.transforms module¶
- class rst2typst.transforms.AssignLiteralLanguage(document, startnode=None)¶
Bases:
TransformTransformer to inject ‘language’ attribute into all <literal> and <literal_block> nodes.
- apply(**kwargs)¶
Override to apply the transform to the document tree.
- default_priority = 400¶
Numerical priority of this transform, 0 through 999 (override).