It’s been attempted before (see link below) but it’s quite a hack that I don’t recommend using for your main notes. Perhaps just for occasional edge cases.
I’m having issues, been trying all afternoon and I keep getting bugs.
The “~” selector takes every element after it, which causes issues. I can’t find a selector that selects from element to element.
This is the best I could do, I think a js script would be needed to put all the divs after a heading until the next heading into a new div so the css could be resolved more easily…
Unfortunately I haven’t made any plugins yet.
I might give it another go some other day.
headings-indent2.css (4.5…