node_decision_item

class atlas_doc_parser.nodes.node_decision_item.NodeDecisionItemAttrs(localId: str = REQ, state: str = REQ)[source]

Attributes for NodeDecisionItem.

Parameters:
  • localId – A unique identifier for the decision item.

  • state – The state of the decision (e.g., “DECIDED”).

class atlas_doc_parser.nodes.node_decision_item.NodeDecisionItem(type: str = 'decisionItem', attrs: NodeDecisionItemAttrs = REQ, content: list[NodeText | NodeDate | NodeEmoji | NodeHardBreak | NodeInlineCard | NodeMention | NodeStatus | NodePlaceholder | NodeInlineExtension | NodeMediaInline] = OPT)[source]

A single decision item within a decisionList.

The decisionItem node represents a decision entry in a decision list. It contains inline content and has attributes for tracking its state.

to_markdown(ignore_error: bool = False) str[source]

Convert the decision item to Markdown format.

Each line is prefixed with > for blockquote formatting. Leading empty lines after the first content line are skipped, and consecutive empty lines are collapsed.