Markdown Github和npm表降价之间的差异

Markdown Github和npm表降价之间的差异,markdown,github-flavored-markdown,Markdown,Github Flavored Markdown,我的readme.md降价表在npm上正确显示,但在GitHub上没有显示 这是下表: Attributes | Field type | value | description - | - | - | - required | `*` | boolean`(default=false)` | check if field has a value if set true. requiredPhrase | `*` | string`(default=This field is

我的
readme.md
降价表在npm上正确显示,但在GitHub上没有显示

这是下表:

   Attributes  | Field type | value |  description
- | - | - | -
required | `*`  | boolean`(default=false)` | check if field has a value if set true.
  requiredPhrase | `*`  | string`(default=This field is required.)` | error shown when field is required and empty.
name  | `*`  | string | a unique string in form, on submitting the form you can access a field value by values.`<name>`
placeholder  | `*`  | string`(default=null)` | inputs placeholder.
defaultValue | `*`  | any`(default=null)` | in case of editing forms pass current values via `defaultValue`.
 maxLength | `text`, `number` and `password` | number`(default=null)` | maximum value length.
  maxLengthErrorPhrase | `text`, `number` and `password` | string`(default=This field accepts <maxLength> characters.)` | error shown when maxLength is crossed.
   multiSelect | `select`| boolean`(default=false)` | set true if select can have more than one values.
   selectHandle | `select` | component`(default=an ungly css-made triangle)`, example: `<i className="ion-ios-arrow-down` (which needs ionicons) | this option is for changing the select box handle component.   
   options | `select`, `radio` | array of objects with `label` and `value` | choices for select input and radio group.
   checkboxLabel| `checkbox` | string`(default:'')`| checkbox label.
   mustBeCheckedPhrase| `checkbox` | string`(default:'This field must be checked.')`| error shown when checkbox is required and not checked.
属性|字段类型|值|描述
- | - | - | -
必需的|`*``布尔`(默认值=false)``如果设置为true,则检查字段是否有值。
requiredPhrase | `*`` | string`(默认值=此字段为必填项)。` |字段为必填项且为空时显示错误。
name |`*`` | string |表单中唯一的字符串,提交表单时,您可以按值访问字段值``
占位符“`*``字符串`(默认值为null)``输入占位符。
defaultValue`*``any`(default=null)`;在编辑表单时,通过“defaultValue”传递当前值。
maxLength |`text`、`number`和`password`| number`(默认值为null)``最大值长度。
maxLength错误短语|`text`、`number`和`password`| string`(默认值=此字段接受字符)。`|当maxLength被交叉时显示错误。
multiSelect |`select`| boolean`(默认值为false)``如果select可以有多个值,则将其设置为true。

选择handle |`select``组件`(默认值=一个不规则的css制作的三角形)`,例如:`添加一个主管:

| Attributes  | Field type | value |  description
| - | - | - | -
| required | `*` | boolean`(default=false)` | check if field has a value if set true.
| requiredPhrase | `*` | string`(default=This field is required.)` | error shown when field is required and empty.
或者使用两个(或多个)连字符而不是一个,这样它们就不会被解析为项目符号:

Attributes  | Field type | value |  description
-- | -- | -- | --
required | `*` | boolean`(default=false)` | check if field has a value if set true.
requiredPhrase | `*` | string`(default=This field is required.)` | error shown when field is required and empty.
我还建议去掉参差不齐的前导空格,以提高原始标记的可读性