Fixed code block syntax of README-zh.md (#113)

change the code block syntax from <5 space>``` into <4 space>``` for rendering the page correctly.
This commit is contained in:
卓鈺翔 2018-01-25 23:51:59 +08:00 committed by Vahid Panjganj
parent c8957e6fdb
commit 2af7cd7296

View File

@ -341,7 +341,7 @@ JavaScript工程项目的一系列最佳实践策略
**不规范** **不规范**
``` ```
. .
├── controllers ├── controllers
| ├── product.js | ├── product.js
@ -349,11 +349,11 @@ JavaScript工程项目的一系列最佳实践策略
├── models ├── models
| ├── product.js | ├── product.js
| └── user.js | └── user.js
``` ```
**规范** **规范**
``` ```
. .
├── product ├── product
| ├── index.js | ├── index.js
@ -363,7 +363,7 @@ JavaScript工程项目的一系列最佳实践策略
| ├── index.js | ├── index.js
| ├── user.js | ├── user.js
| └── user.test.js | └── user.test.js
``` ```
_为什么_ _为什么_
> 比起一个冗长的列表文件,创建一个单一责权封装的小模块,并在其中包括测试文件。将会更容易浏览,更一目了然。 > 比起一个冗长的列表文件,创建一个单一责权封装的小模块,并在其中包括测试文件。将会更容易浏览,更一目了然。