You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Within list items, # at the start of the text needs to be escaped to not turn the text into a heading. We can escape that by writing \#, but flipping between rich text and markdown removes the backslash, making the text within the list item a heading again.
Describe the bug
Within list items,
#
at the start of the text needs to be escaped to not turn the text into a heading. We can escape that by writing\#
, but flipping between rich text and markdown removes the backslash, making the text within the list item a heading again.To Reproduce
Steps to reproduce the behavior:
Go to https://editor.stackoverflow.design/
Switch to Markdown mode and paste:
Flip to rich text mode, see that
#
is shown as expectedScreenshot
Flip to Markdown mode, see that
#
is no longer escapedScreenshot
Flip to rich text mode, see that the text is now a
<h1>
headingScreenshot
Expected behavior
The editor should keep the needed backslash escape on the
#
character so that it doesn't turn the text into a heading.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: