-
Notifications
You must be signed in to change notification settings - Fork 62
bug(markdown) Code blocks surrounded by single backtick then triple backticks #230
Description
Describe the bug
Pasting fenced code block into inline code block results in the following being saved

A side issue here might be that the inline code block menu button has much more prominence than the fenced code block button, so users go to it first and dont think of fenced code block (could also be something that the interface is expecting too much from the user here).
To Reproduce
- Create inline code block (can use menu)
- Paste in fenced code block
- Note: the inline code block ticks are still there, and if saved, will be orphaned ticks surrounding the fenced code block.
Expected behavior
Pasting a fenced code block into an inline code block results in only the fenced code block being inserted, and the preceding and following inline code block ticks being removed.
Desktop (please complete the following information):
Windows 10 Chrome Latest
Additional context
Code blocks surrounded by single backtick then triple backticks. Answer on that page has further repro info.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
