I first thought - ---
makes a hr
within a list item. It actually just makes a hr
in standard markdown and in Obsidian. The issue still stands.
Here’s live preview and reading view side by side.
- line a
- ***
- line b
---
- line c
- line d
- ***
- line e
---
- line f
1 Like
According to the Commonmark specification you need to use a different character for the list marker and the thematic break: CommonMark Spec (linking to the prior example so the text before the actual example will be visible).
But it only renders in Reading View. Live Preview being the awkward hybrid that it is, the team sometimes chooses not to support things in it. (I don’t know if this is one of those things.)
1 Like
Thanks for the clarification!
I updated my example with valid CommonMark markdown. I added some more lines which show it not working both on the same line as the bullet (after line a
and line d
) and on separate lines (working after line b
, but not after line e
).
I’m also noticing that horizontal lines are not often rendering in Live Preview.
And also in Default mode with all plugins deactivated:
This relates to a previous bug report: Horizontal line doesn't always render in lists in live previewg - #9
Any known solutions? The best one I have is to quickly Select All with cmd/ctrl-a
and then click away.
@nickmilo can you attach here a copy of note where it’s not showing at all?
I am not sure your screenshot is with all plugins deactivated. Try restricted mode on, default theme, no snippets, restart obsidian (or the the sandbox vault)