fix: preserve Markdown blocks when copying messages (#2944)

* fix: preserve Markdown blocks when copying messages

* fix: preserve blank lines when copying code

---------

Co-authored-by: Iuliia Ivashko <yulia.ivashko@gmail.com>
This commit is contained in:
ChangeHow
2026-08-27 19:37:49 +03:00
committed by GitHub
co-authored by Iuliia Ivashko
parent 2a1c10cb3e
commit 7aae5a6634
6 changed files with 277 additions and 41 deletions
+4
View File
@@ -1432,6 +1432,10 @@ html:not(.dark) .chat-scroll {
white-space: nowrap;
}
.markdown-content [data-md-code-line-number]::before {
content: attr(data-md-code-line-number);
}
.markdown-content [data-md-code-line-content] {
min-width: 0;
}