chore: 删除调试代码

This commit is contained in:
CrescentLeaf
2025-11-09 16:28:21 +08:00
parent b4d63a709b
commit 2f85aef136
2 changed files with 0 additions and 3 deletions

View File

@@ -61,11 +61,9 @@ const sanitizeConfig = {
const markedInstance = new marked.Marked({
renderer: {
text({ text }) {
console.log('普通文字', text)
return `<chat-text>${escapeHTML(text)}</chat-text>`
},
em({ text }) {
console.log('斜体', text)
return `<chat-text em="true">${escapeHTML(text)}</chat-text>`
},
heading({ tokens, depth: _depth }) {