show_category_heading: true and group_by_category: true does not work #14
Closed
Description
Describe the bug
Using show_category_heading: true
and group_by_category: true
does not work.
To Reproduce
Enable these settings
Expected behavior
Expected to have TOC separate them
Fix
The bug seems to happen here
Removing any()
results in the expected behavior.
Since we're calling .values()
, if there's no values it already returns False
.
Metadata
Assignees
Labels
No labels