diff --git a/plugins/plugin-md-power/src/node/container/tabs.ts b/plugins/plugin-md-power/src/node/container/tabs.ts index dc3803a3..4aa05da1 100644 --- a/plugins/plugin-md-power/src/node/container/tabs.ts +++ b/plugins/plugin-md-power/src/node/container/tabs.ts @@ -17,8 +17,8 @@ export const tabs: PluginSimple = (md) => { return ` ${titles.map((title, titleIndex) => - ``, - ).join('')}` + ``, +).join('')}` }, tabsCloseRenderer: () => ``, diff --git a/plugins/plugin-md-power/src/node/prepareConfigFile.ts b/plugins/plugin-md-power/src/node/prepareConfigFile.ts index 45bfbacf..817eb353 100644 --- a/plugins/plugin-md-power/src/node/prepareConfigFile.ts +++ b/plugins/plugin-md-power/src/node/prepareConfigFile.ts @@ -74,8 +74,8 @@ ${Array.from(imports.values()).join('\n')} export default defineClientConfig({ enhance({ router, app }) { ${Array.from(enhances.values()) - .map(item => ` ${item}`) - .join('\n')} + .map(item => ` ${item}`) + .join('\n')} } }) `, diff --git a/plugins/plugin-shikiji/src/node/prepareClientConfigFile.ts b/plugins/plugin-shikiji/src/node/prepareClientConfigFile.ts index 9ac37913..1dd9f6a8 100644 --- a/plugins/plugin-shikiji/src/node/prepareClientConfigFile.ts +++ b/plugins/plugin-shikiji/src/node/prepareClientConfigFile.ts @@ -21,19 +21,19 @@ import { useCollapsedLines } from '${CLIENT_FOLDER}composables/collapsed-lines.j export default { ${twoslash - ? `enhance({ app }) { + ? `enhance({ app }) { enhanceTwoslash(app) },` - : ''} + : ''} ${copyCode - ? `setup() { + ? `setup() { useCopyCode({ selector: __CC_SELECTOR__, duration: __CC_DURATION__, }) useCollapsedLines() },` - : ''} + : ''} } `, )