slidedeckai.helpers.pptx_helper.get_flat_list_of_contents#
- slidedeckai.helpers.pptx_helper.get_flat_list_of_contents(items: list, level: int) list[tuple][source]#
- Flatten a (hierarchical) list of bullet points to a single list containing each item and
its level.
- Parameters:
items – A bullet point (string or list).
level – The current level of hierarchy.
- Returns:
A list of (bullet item text, hierarchical level) tuples.