We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7e545a commit 10ad27dCopy full SHA for 10ad27d
docs/zh/config/README.md
@@ -159,12 +159,13 @@ module.exports = {
159
- 类型: `Function`
160
- 默认值: `undefined`
161
162
-一个用来对当前的 [markdown-it](https://github.com/markdown-it/markdown-it) 实例应用额外的插件的函数,举例如下:
+一个用于修改当前的 [markdown-it](https://github.com/markdown-it/markdown-it) 实例的默认配置,或者应用额外的插件的函数,举例如下:
163
164
``` js
165
module.exports = {
166
markdown: {
167
config: md => {
168
+ md.set({ breaks: true })
169
md.use(require('markdown-it-xxx'))
170
}
171
0 commit comments