Steps to reproduce
- Set the view mode to Live Preview
- Create a new list item using
- - Use an escape character plus a hash symbol in the first list item:
- \#someText - Hit enter to move to a new line or click away from the first list item. Both the escape character and the hash symbol disappear from view. Ideally, the escaped character (the hash symbol) should still be visible.
Did you follow the troubleshooting guide? [Y/N]
Y
Expected result
In Live Preview, I expect Obsidian to display a bullet point plus the text #someText.
Actual result
In Live Preview, Obsidian displays the bullet point plus someText without the hash symbol.
Environment
SYSTEM INFO:
Obsidian version: v1.6.7
Installer version: v1.6.5
Operating system: Windows 11 Home 10.0.22635
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
Below is a screenshot comparison between Source mode and Live Preview which displays how an escape character works in a regular line of text (top section) versus as a list item (bottom section).
You can see that in regular text, the escaped hash symbol remains visible in either view mode. When the escaped hash symbol starts a list item, the hash symbol disappears when the view mode is set to Live Preview. In Reading mode, the hash symbol remains visible as expected with either usage.


