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
consider if the code block mentioned in the above link is inside a variable and the content is printing one by one. (you can reproduce this by typing a code block in this demo link) you can see a dom flickering issue because it is printing P tag first then after each new line it change to code block.
Expected behavior
It should work without any dom issue
The text was updated successfully, but these errors were encountered:
I see the issue. Fenced code blocks currently require a newline at the end of the markdown if there are no closing ticks. This should be fixed by #2756
Marked version:
4.2.12
Describe the bug
Dynamic data rendering with code block creates a flickering in the dom.
To Reproduce
Steps to reproduce the behavior:
consider if the code block mentioned in the above link is inside a variable and the content is printing one by one. (you can reproduce this by typing a code block in this demo link) you can see a dom flickering issue because it is printing P tag first then after each new line it change to code block.
Expected behavior
It should work without any dom issue
The text was updated successfully, but these errors were encountered: