Markdown 表格未显示在 github .md 页面上
Markdown tables not displayed on a github .md page
我有一个使用 table 布局的降价页面,它在 VS Code 降价预览插件中正确显示为 table,但是当我将其签入 GitHub 时,它没有正确显示 table,而是显示 table 降价。这是页面:https://github.com/path-foundation/path-protocol/blob/docs/docs/api.md
降价:
Inputs
| type|name |description |
|----|---|---|
| *address* | _user | address of certificate owner |
| *bytes32* | _hash | sha256 hash of the certificate text |
在 github 中查看时显示在页面上:
Inputs | type | name | description | | ---- | --- | --- | | address | _user | address of certificate owner | | bytes32 | _hash | sha256 hash of the certificate text |
知道我做错了什么吗?
在table之前("Inputs"之后)插入一个空行:
Inputs
| type|name |description |
|----|---|---|
| *address* | _user | address of certificate owner |
| *bytes32* | _hash | sha256 hash of the certificate text |
它会正确呈现:
我有一个使用 table 布局的降价页面,它在 VS Code 降价预览插件中正确显示为 table,但是当我将其签入 GitHub 时,它没有正确显示 table,而是显示 table 降价。这是页面:https://github.com/path-foundation/path-protocol/blob/docs/docs/api.md
降价:
Inputs
| type|name |description |
|----|---|---|
| *address* | _user | address of certificate owner |
| *bytes32* | _hash | sha256 hash of the certificate text |
在 github 中查看时显示在页面上:
Inputs | type | name | description | | ---- | --- | --- | | address | _user | address of certificate owner | | bytes32 | _hash | sha256 hash of the certificate text |
知道我做错了什么吗?
在table之前("Inputs"之后)插入一个空行:
Inputs
| type|name |description |
|----|---|---|
| *address* | _user | address of certificate owner |
| *bytes32* | _hash | sha256 hash of the certificate text |
它会正确呈现: