mark_fragment

class atlas_doc_parser.marks.mark_fragment.MarkFragmentAttrs(localId: str, name: str = OPT)[source]

Attributes for MarkFragment.

Parameters:
  • localId – Required. A unique local identifier for the fragment (min length: 1).

  • name – Optional. A human-readable name for the fragment.

class atlas_doc_parser.marks.mark_fragment.MarkFragment(type: str = 'fragment', attrs: MarkFragmentAttrs = REQ)[source]

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.