fix: Generate code block templates

feat-adding-an-auto-completion-component
liangfung 2023-11-07 00:20:29 +08:00
parent 992f9f1cf4
commit 1014de1b12
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ export function PromptForm({
if (!completion?.doc) return
finalInput = finalInput.replaceAll(
key,
`${'```'}${completion.doc?.language ?? ''}\n${
`\n${'```'}${completion.doc?.language ?? ''}\n${
completion.doc.body ?? ''
}\n${'```'}\n`
)