vuepress-theme-reco

一款简洁而优雅的 vuepress 博客 & 文档 主题。

vuePress-theme-reco reco_luan    2017 - 2024
vuepress-theme-reco

Choose mode

  • dark
  • auto
  • light
文档
  • 主题

    • 2.x(beta) (opens new window)
    • 1.x
    • 0.x
  • 插件

    • 官方插件
    • 插件广场
常见问题
博客
案例
订阅 (opens new window)
留言板
GitHub (opens new window)
language
  • 简体中文
  • English
GitHub (opens new window)
author-avatar

reco_luan

91

文章

4

标签

    文档
    • 主题

      • 2.x(beta) (opens new window)
      • 1.x
      • 0.x
    • 插件

      • 官方插件
      • 插件广场
    常见问题
    博客
    案例
    订阅 (opens new window)
    留言板
    GitHub (opens new window)
    language
    • 简体中文
    • English
    GitHub (opens new window)
    • 基础

      • 介绍
      • 安装和引用
      • 分类和标签
      • Front Matter
    • 进阶

      • 添加时间轴
      • 评论
      • 加密功能
      • Config.js 配置
      • 首页配置
      • 404 腾讯公益
      • 暗色模式适配
      • 多语言配置
      • 多款代码主题
      • 侧边栏
    • 默认主题配置

      • 添加摘要
      • Markdown 中支持的语法
      • 定制样式与脚本
    • 其他

      • 0.x 迁移 1.x
      • 推荐

    多款代码主题

    vuePress-theme-reco reco_luan    2017 - 2024

    多款代码主题

    reco_luan 2020/7/5

    注意

    自 1.6.10 废弃。

    # 主题样式

    请移步 prismjs (opens new window) 官网。

    # 设置主题

    // .vuepress/config.js
    
    module.exports = {
      theme: 'reco',
      themeConfig: {
        /**
         * support for
         * 'default'
         * 'funky'
         * 'okaidia'
         * 'solarizedlight'
         * 'tomorrow'
         */
        codeTheme: 'tomorrow' // default 'tomorrow'
      }
    }
    
    在 GitHub 上编辑此页 (opens new window)
    Last Updated: 2024/3/7 11:20:35

    多语言配置 侧边栏