node_bullet_list

class atlas_doc_parser.nodes.node_bullet_list.NodeBulletList(type: str = 'bulletList', content: list[NodeListItem] = REQ)[source]

A container for an unordered (bulleted) list.

The bulletList node is a top-level block node that groups multiple listItem nodes together for rendering as a bulleted list.

to_markdown(level: int = 0, ignore_error: bool = False) str[source]

Convert the bullet list to Markdown format.

ADF Structure (nested list is a child of listItem):

bulletList
├── listItem (item 1)
│   ├── paragraph → text nodes    ← text wrapped in paragraph
│   └── bulletList (nested)       ← nested list is CHILD of listItem
│       └── listItem (item 1.1)
│           ├── paragraph
│           └── bulletList (nested)
├── listItem (item 2)
│   ├── paragraph
│   └── bulletList (nested)
...

Implementation: Uses two nested loops because:

  • Outer loop: iterates over listItem nodes in bulletList.content

  • Inner loop: iterates over listItem.content which contains both paragraph (text) and nested bulletList nodes

Note

This structure differs from to_markdown() where nested taskList nodes are siblings of taskItem nodes, not children. See NodeTaskList for comparison.

See also