From 4812e446ee30467bd3ecce983a826f7649de7110 Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 6 Feb 2025 08:49:17 +0800 Subject: refactor: several improvements (#1149) --- assets/playground.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'assets/playground.html') diff --git a/assets/playground.html b/assets/playground.html index 06e2e62..34379e4 100644 --- a/assets/playground.html +++ b/assets/playground.html @@ -1528,9 +1528,8 @@ } }, renderer(token) { - const isOpen = !token.raw.endsWith(''); const text = '

' + token.text.trim().replace(/\n+/g, '

') + '

'; - return `
+ return `
Deeply thought
${text}
`; -- cgit v1.2.3