import { defineUserConfig } from 'vuepress' import { {{ bundler }}Bundler } from '@vuepress/bundler-{{ bundler }}' import { plumeTheme } from 'vuepress-theme-plume' export default defineUserConfig({ base: '/', lang: '{{ defaultLanguage }}', {{#if multiLanguage}} locales: { {{#each locales}} '{{ path }}': { title: '{{ ../siteName }}', lang: '{{ lang }}', description: '{{ ../siteDescription }}', }, {{/each}} }, {{else}} title: '{{ siteName }}', description: '{{ siteDescription }}', {{/if}} bundler: {{ bundler }}Bundler(), theme: plumeTheme({ // 添加您的部署域名 // hostname: 'https://your_site_url', plugins: { /** * Shiki 代码高亮 * @see https://theme-plume.vuejs.press/config/plugins/code-highlight/ */ // shiki: { // languages: ['shell', 'bash', 'typescript', 'javascript'], // twoslash: true, // }, /** * markdown enhance * @see https://theme-plume.vuejs.press/config/plugins/markdown-enhance/ */ markdownEnhance: { demo: true, // include: true, // chart: true, // echarts: true, // mermaid: true, // flowchart: true, }, /** * markdown power * @see https://theme-plume.vuejs.press/config/plugin/markdown-power/ */ // markdownPower: { // pdf: true, // caniuse: true, // plot: true, // bilibili: true, // youtube: true, // icons: true, // codepen: true, // replit: true, // codeSandbox: true, // jsfiddle: true, // repl: { // go: true, // rust: true, // kotlin: true, // }, // }, /** * comments * @see https://theme-plume.vuejs.press/guide/features/comments/ */ // comment: { // provider: '', // "Artalk" | "Giscus" | "Twikoo" | "Waline" // comment: true, // repo: '', // repoId: '', // categoryId: '', // mapping: 'pathname', // reactionsEnabled: true, // inputPosition: 'top', // }, }, }), })