forked from Shinonome/dots-hyprland
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