diff --git a/composables/content.ts b/composables/content.ts index 5cbef120..b9152121 100644 --- a/composables/content.ts +++ b/composables/content.ts @@ -125,8 +125,8 @@ function treeToText(input: Node): string { pre = '\n' if (input.nodeName === 'code') { - pre = '`' - post = '`' + pre = '````\n' + post = '\n```' } if ('childNodes' in input)