Down icon indicating copy to clipboard operation
Down copied to clipboard

Table can not rendering

Open Tiaotiaotiao opened this issue 1 year ago • 2 comments

I am use in iOS I downloaded the code and it started running

I use the following example to test:

要创建一个表格,我们可以使用不同的方式,例如文字描述、ASCII艺术、Markdown、HTML等。以下是几个不同格式的例子。\n\n### 文字描述的表格\n设想我们需要表格来记录一个公司的员工信息。表格将包含姓名、部门和电子邮件地址三列。\n\n姓名 | 部门 | 电子邮件\n------|----------|------------------\nJohn Doe | 营销 | [email protected]\nJane Smith | 技术 | [email protected]\nAlex Johnson | 人力资源 | [email protected]\n\n### ASCII艺术表格\n\n```\n+----------------+----------+------------------------+\n| 姓名 | 部门 | 电子邮件 |\n+----------------+----------+------------------------+\n| John Doe | 营销 | [email protected] |\n+----------------+----------+------------------------+\n| Jane Smith | 技术 | [email protected] |\n+----------------+----------+------------------------+\n| Alex Johnson | 人力资源 | [email protected] |\n+----------------+----------+------------------------+\n```\n\n### Markdown格式表格\n\n```markdown\n| 姓名 | 部门 | 电子邮件 |\n| ----------- | ------ | ----------------------- |\n| John Doe | 营销 | [email protected] |\n| Jane Smith | 技术 | [email protected] |\n| Alex Johnson| 人力资源| [email protected] |\n```\n\n### HTML格式表格\n\n```html\n<table>\n <tr>\n <th>姓名</th>\n <th>部门</th>\n <th>电子邮件</th>\n </tr>\n <tr>\n <td>John Doe</td>\n <td>营销</td>\n <td>[email protected]</td>\n </tr>\n <tr>\n <td>Jane Smith</td>\n <td>技术</td>\n <td>[email protected]</td>\n </tr>\n <tr>\n <td>Alex Johnson</td>\n <td>人力资源</td>\n <td>[email protected]</td>\n </tr>\n</table>\n```\n\n您可以根据您的需要和情况,选择最适合您的表格类型并进行调整。如果您需要在特定软件中创建表格(如Microsoft Word、Excel、Google Sheets或其他),则操作步骤会有所不同。

Display as follows

截屏 2024-01-18 10 03 02

Tiaotiaotiao avatar Jan 18 '24 02:01 Tiaotiaotiao

@johnxnguyen Could please help regarding this issue? Thanks in advance

Elamuruga avatar Apr 05 '24 12:04 Elamuruga

Hi, apologies for the long delay. Down uses the the Commonmark spec, which doesn't support tables, unfortunately.

johnxnguyen avatar Jun 06 '24 08:06 johnxnguyen