Skip to content

Commit

Permalink
feat(plugin-shikiji): improve prepare config file (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhanbo authored Nov 17, 2024
1 parent c4438af commit 64fe1e2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plugins/plugin-shikiji/src/node/prepareClientConfigFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ export default {
enhanceTwoslash(app)
},`
: ''}
${copyCode
? `setup() {
useCopyCode({
setup() {
${copyCode
? `useCopyCode({
selector: __CC_SELECTOR__,
duration: __CC_DURATION__,
})
})`
: ''}
useCollapsedLines()
},`
: ''}
},
}
`,
)
Expand Down

0 comments on commit 64fe1e2

Please sign in to comment.