【发布时间】:2017-03-15 15:28:08
【问题描述】:
如果您查看React docs markdown file(用于生成docs html pages),您会在最顶部看到一个值的表(在.md 中,而不是.html)。如果您查看用于创建表格的实际 Markdown 语法,您会看到 非标准表格语法:
---
id: hello-world
title: Hello World
permalink: docs/hello-world.html
prev: installation.html
next: introducing-jsx.html
redirect_from:
- "docs/index.html"
- "docs/getting-started.html"
- "docs/getting-started-ko-KR.html"
- "docs/getting-started-zh-CN.html"
---
我能找到的所有 GitHub/markdown 资源都建议表是这样创建的:
来自https://guides.github.com/features/mastering-markdown/
表格
您可以通过组合单词列表并划分它们来创建表格 用连字符
-(第一行),然后分隔每一列 用管道|:First Header | Second Header ------------ | ------------- Content from cell 1 | Content from cell 2 Content in the first column | Content in the second column
我已经用尽了我的谷歌搜索技能,想知道是否有人知道这是否是一个已记录的功能,以及该文档可能在哪里?
【问题讨论】:
标签: reactjs github markdown github-flavored-markdown