From 7d8c08a98b048807d6a83f2498880369ef83c8ec Mon Sep 17 00:00:00 2001 From: wangyi7099 Date: Fri, 20 Apr 2018 12:22:12 +0800 Subject: [PATCH] docs(zh-CN): fix typo (#152) --- docs/zh/default-theme-config/README.md | 11 +++++++---- docs/zh/guide/markdown.md | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/zh/default-theme-config/README.md b/docs/zh/default-theme-config/README.md index 7d5a8f3d50..1238d8330c 100644 --- a/docs/zh/default-theme-config/README.md +++ b/docs/zh/default-theme-config/README.md @@ -51,13 +51,16 @@ module.exports = { 当你提供了一个 `items` 数组而不是一个单一的 `link` 时,它将会显示以 `下拉列表` 的方式显示: ```js -// .vuepress/config.js module.exports = { themeConfig: { nav: [ - { text: 'Home', link: '/' }, - { text: 'Guide', link: '/guide/' }, - { text: 'External', link: 'https://google.com' }, + { + text: 'Languages', + items: [ + { text: 'Chinese', link: '/language/chinese' }, + { text: 'Japanese', link: '/language/japanese' } + ] + } ] } } diff --git a/docs/zh/guide/markdown.md b/docs/zh/guide/markdown.md index c1a052d7fc..f32ebf89eb 100644 --- a/docs/zh/guide/markdown.md +++ b/docs/zh/guide/markdown.md @@ -177,7 +177,7 @@ module.exports = { // markdown-it-toc 的选项 toc: { includeLevel: [1, 2] }, config: md => { - // 使用更过的 markdown-it 插件! +      // 使用更多的 markdown-it 插件! md.use(require('markdown-it-xxx')) } }