Love TOCs for RTF (+ idea)

AH! The new version adds this!

I just noticed that if an RTF has a bold line (a heading) followed by underlined lines (subheadings), the TOC panel shows the subheadings in a collapsible outline! Love it!

Just curious, could you explain the logic that is used? I have some subheadings (it looks like ones that have multiple styles: like underline + strikethrough*) that aren’t automatically getting “outlined”, so I wanted to see how to clean them up to make them work.

Thank you!

*When I am planning a project, I often write out multiple ideas, each under a subhead. Then when I make a choice, I keep the old ideas but strikethrough their subheads.

Screenshot 2024-08-16 at 9.01.48 AM