node_nested_expand

class atlas_doc_parser.nodes.node_nested_expand.NodeNestedExpandAttrs(title: str = OPT, localId: str = OPT)[source]

Attributes for NodeNestedExpand.

Parameters:
  • title – Optional. The disclosure label displayed when collapsed.

  • localId – Optional. A unique identifier for the node.

class atlas_doc_parser.nodes.node_nested_expand.NodeNestedExpand(type: str = 'nestedExpand', attrs: NodeNestedExpandAttrs = REQ, content: list[NodeParagraph | NodeHeading | NodeMediaSingle | NodeMediaGroup | NodeCodeBlock | NodeBulletList | NodeOrderedList | NodeTaskList | NodeDecisionList | NodeRule | NodePanel | NodeBlockquote | NodeExtension] = REQ)[source]

A container that allows content to be hidden or shown within table cells.

The nestedExpand node is similar to an accordion or disclosure widget, allowing users to collapse and expand content. Unlike the regular expand node, nestedExpand can ONLY be placed within TableCell or TableHeader elements - this restriction exists to avoid infinite nesting.

Common use cases: - Hiding detailed information in table cells - Creating collapsible sections within complex table layouts - Organizing dense tabular content

Reference:

https://developer.atlassian.com/cloud/jira/platform/apis/document/nodes/nestedExpand/

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

Note

We don’t preserve expand title in markdown.