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
As of now, code blocks use display: block on the spans that represent a line.
This means that when you are copying from the code-block, the text will not have newlines, returning the code as a single line.
Possible solutions:
Using a block element instead of spans. This could be recognized as a block that has a newline after it when copying.
Adding invisible <br>. Those should be recognized as newlines when copying.
The text was updated successfully, but these errors were encountered:
As of now, code blocks use
display: block
on the spans that represent a line.This means that when you are copying from the code-block, the text will not have newlines, returning the code as a single line.
Possible solutions:
<br>
. Those should be recognized as newlines when copying.The text was updated successfully, but these errors were encountered: