When in editor mode, if I have header in a list, the formatting does not apply. But it does apply in preview/reading view mode.
I believe this feature request has been mentioned in Discord appearance (discord.com) but I don’t see it here. sorry if there’s already this feature request here - if so we can close this one.
Now that we have Live Preview mode, i think it’s quite a key feature to have. (I intend to always stay in Live Preview mode most of the time)
Proposed solution
The Markdown syntax supports headers inside of list items but the default edit mode parser does not render them.
yeah. this been updated quite a while ago (forgot which obsidian version it was). and i’ve been using headers in list so religiously since. so i’m gonna mark this as closed.
fyi (for others who stumble upon this), obsidian v1.0.x has streamlined the classes for headers (both in normal text as well as in lists) together with default css variables to change that, so i only need the following to affect both (normal and in lists).
i’m sharing example for h1-h3 only but it can apply for all headers.