diff --git a/.vitepress/config.ts b/.vitepress/config.ts index e4465e109..af4fbf030 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -4,7 +4,7 @@ import { defineConfigWithTheme } from 'vitepress' import type { Config as ThemeConfig } from '@vue/theme' import baseConfig from '@vue/theme/config' import { headerPlugin } from './headerMdPlugin' -import { textAdPlugin } from './textAdMdPlugin' +// import { textAdPlugin } from './textAdMdPlugin' const nav: ThemeConfig['nav'] = [ { @@ -712,7 +712,8 @@ export default defineConfigWithTheme({ markdown: { config(md) { - md.use(headerPlugin).use(textAdPlugin) + md.use(headerPlugin) + // .use(textAdPlugin) } }, diff --git a/.vitepress/theme/index.ts b/.vitepress/theme/index.ts index 512ce8eec..7084831ab 100644 --- a/.vitepress/theme/index.ts +++ b/.vitepress/theme/index.ts @@ -10,7 +10,7 @@ import { import SponsorsAside from './components/SponsorsAside.vue' import VueSchoolLink from './components/VueSchoolLink.vue' // import Banner from './components/Banner.vue' -import TextAd from './components/TextAd.vue' +// import TextAd from './components/TextAd.vue' export default Object.assign({}, VPTheme, { Layout: () => { @@ -26,6 +26,6 @@ export default Object.assign({}, VPTheme, { app.provide('prefer-sfc', preferSFC) app.provide('filter-headers', filterHeadersByPreference) app.component('VueSchoolLink', VueSchoolLink) - app.component('TextAd', TextAd) + // app.component('TextAd', TextAd) } })