mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-06 07:19:27 -05:00
ai chat: better code snippets
This commit is contained in:
@@ -32,4 +32,8 @@ function splitMarkdownBlocks(markdown) {
|
||||
result.push({ type: "text", content: markdown.slice(lastIndex) });
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
function unEscapeBackslashes(str) {
|
||||
return str.replace(/\\\\/g, '\\');
|
||||
}
|
||||
Reference in New Issue
Block a user