docs: prettier all markdown files

This commit is contained in:
chenjiahan
2020-04-11 09:17:33 +08:00
committed by neverland
parent 48067f79db
commit 7f84f8a487
140 changed files with 4441 additions and 4723 deletions
+10 -8
View File
@@ -39,7 +39,9 @@ Vue.use(Divider);
### Custom Style
```html
<van-divider :style="{ color: '#1989fa', borderColor: '#1989fa', padding: '0 16px' }">
<van-divider
:style="{ color: '#1989fa', borderColor: '#1989fa', padding: '0 16px' }"
>
Text
</van-divider>
```
@@ -49,13 +51,13 @@ Vue.use(Divider);
### Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| dashed | Whether to use dashed border | *boolean* | `false` |
| hairline | Whether to use hairline | *boolean* | `true` |
| content-position | Content positioncan be set to `left` `right` | *string* | `center` |
| --- | --- | --- | --- |
| dashed | Whether to use dashed border | _boolean_ | `false` |
| hairline | Whether to use hairline | _boolean_ | `true` |
| content-position | Content positioncan be set to `left` `right` | _string_ | `center` |
### Slots
| Name | Description |
|------|------|
| default | content |
| Name | Description |
| ------- | ----------- |
| default | content |
+10 -8
View File
@@ -49,7 +49,9 @@ Vue.use(Divider);
可以直接通过`style`属性设置分割线的样式
```html
<van-divider :style="{ color: '#1989fa', borderColor: '#1989fa', padding: '0 16px' }">
<van-divider
:style="{ color: '#1989fa', borderColor: '#1989fa', padding: '0 16px' }"
>
文字
</van-divider>
```
@@ -58,14 +60,14 @@ Vue.use(Divider);
### Props
| 参数 | 说明 | 类型 | 默认值 |
|------|------|------|------|
| dashed | 是否使用虚线 | *boolean* | `false` |
| hairline | 是否使用 0.5px 线 | *boolean* | `true` |
| content-position | 内容位置,可选值为`left` `right` | *string* | `center` |
| 参数 | 说明 | 类型 | 默认值 |
| ---------------- | -------------------------------- | --------- | -------- |
| dashed | 是否使用虚线 | _boolean_ | `false` |
| hairline | 是否使用 0.5px 线 | _boolean_ | `true` |
| content-position | 内容位置,可选值为`left` `right` | _string_ | `center` |
### Slots
| 名称 | 说明 |
|------|------|
| 名称 | 说明 |
| ------- | ---- |
| default | 内容 |