Skip to content

Commit

Permalink
docs: fix flowchart which is not working (#2010)
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo authored and ulivz committed Nov 10, 2019
1 parent c9ac279 commit c0ad78b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions packages/docs/docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ module.exports = ctx => ({
before: info => `<UpgradePath title="${info}">`,
after: '</UpgradePath>',
}],
['flowchart'],
],
extraWatchFiles: [
'.vuepress/nav/en.js',
Expand Down
10 changes: 5 additions & 5 deletions packages/docs/docs/zh/faq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ sidebar: auto

描述 stylus 编译器编译顺序的简单图表如下:

@flowstart <br />
阶段1=>操作: palette.styl <br />
阶段2=>操作: 默认 app 样式 <br />
阶段3=>操作: index.styl <br />
@flowstart
stage1=>operation: palette.styl
stage2=>operation: 默认 app 样式
stage3=>operation: index.styl

阶段1->阶段2->阶段3 <br />
stage1->stage2->stage3
@flowend

<br>
Expand Down

0 comments on commit c0ad78b

Please sign in to comment.