mark_alignment¶
- class atlas_doc_parser.marks.mark_alignment.MarkAlignmentAttrs(align: Literal['center', 'end'])[source]¶
Attributes for
MarkAlignment.- Parameters:
align – Required. The text alignment direction. Valid values are
"center"or"end".
- class atlas_doc_parser.marks.mark_alignment.MarkAlignment(type: str = 'alignment', attrs: MarkAlignmentAttrs = REQ)[source]¶
Sets text alignment on block-level content.
The alignment mark controls horizontal text alignment within paragraphs and headings. Note that
"start"(left-aligned for LTR languages) is the default and doesn’t require a mark.Valid alignment values:
"center"- Center-aligned text"end"- Right-aligned text (for LTR languages)