mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
feat(plugin-shikiji): improve prepare config file (#339)
This commit is contained in:
parent
c4438afaa5
commit
64fe1e2cd7
@ -25,15 +25,15 @@ export default {
|
||||
enhanceTwoslash(app)
|
||||
},`
|
||||
: ''}
|
||||
${copyCode
|
||||
? `setup() {
|
||||
useCopyCode({
|
||||
setup() {
|
||||
${copyCode
|
||||
? `useCopyCode({
|
||||
selector: __CC_SELECTOR__,
|
||||
duration: __CC_DURATION__,
|
||||
})
|
||||
})`
|
||||
: ''}
|
||||
useCollapsedLines()
|
||||
},`
|
||||
: ''}
|
||||
},
|
||||
}
|
||||
`,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user