[docs]@dataclasses.dataclass(frozen=True)classMarkFragmentAttrs(Base):""" Attributes for :class:`MarkFragment`. :param localId: Required. A unique local identifier for the fragment (min length: 1). :param name: Optional. A human-readable name for the fragment. """localId:strname:str=OPT
[docs]@dataclasses.dataclass(frozen=True)classMarkFragment(BaseMark):""" Marks a text range as a named fragment for linking or referencing. The fragment mark identifies a portion of content with a unique local ID, allowing it to be referenced or linked to from elsewhere in the document or from external sources. """type:str=TypeEnum.fragment.valueattrs:MarkFragmentAttrs=REQ