for specific use cases.
They exist in
Each mixin is defined as a class
in its own module.
Detect faked superscript and subscript¶
Useful if you want runs of text that are styled smaller (relative to surrounding text) and positioned either above or below the surrounding text to be treated as super/subscript.
from pydocx.export.mixins import FakedSuperscriptAndSubscriptExportMixin class CustomExporter( FakedSuperscriptAndSubscriptExportMixin, PyDocXHTMLExporter, ): pass