Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Markdown 注释出表格行_Markdown_Github Flavored Markdown - Fatal编程技术网

Markdown 注释出表格行

Markdown 注释出表格行,markdown,github-flavored-markdown,Markdown,Github Flavored Markdown,是否可以在(github风格的)降价中注释掉表行 | ID | Info | | ------- | ------------------------------- | | 1 | I want to keep this row | | 2 | This row must be commented out! | | 3 | I want to keep this row

是否可以在(github风格的)降价中注释掉表行

|   ID    |              Info               |
| ------- | ------------------------------- |
| 1       | I want to keep this row         |
| 2       | This row must be commented out! |
| 3       | I want to keep this row         |

它似乎不适用于HTML注释,注释行下面的行将不再被识别为表行。()

尝试在要删除的行之前删除换行符

|   ID    |              Info               |
| ------- | ------------------------------- |
| 1       | I want to keep this row         |<!--| 2       | This row must be commented out! |-->
| 3       | I want to keep this row         |
| ID | Info|
| ------- | ------------------------------- |
|1 |我想保留这一排|
|3 |我想保留这一排|

尝试在要删除的行之前删除换行符

|   ID    |              Info               |
| ------- | ------------------------------- |
| 1       | I want to keep this row         |<!--| 2       | This row must be commented out! |-->
| 3       | I want to keep this row         |
| ID | Info|
| ------- | ------------------------------- |
|1 |我想保留这一排|
|3 |我想保留这一排|

否,无法在(github风格的)降价中注释掉表行。事实上,报告明确指出:

表格在第一个空行或另一个块级结构的开始处断开


当然,HTML注释是“另一个块级结构”。因此,注释以表结尾。充其量,任何添加的表行都将被视为一个单独的表。但是,由于它们没有附加标题,因此它们不构成一个完整的表,因此不被视为行。

否,无法在(github风格)标记中注释掉表行。事实上,报告明确指出:

表格在第一个空行或另一个块级结构的开始处断开

当然,HTML注释是“另一个块级结构”。因此,注释以表结尾。充其量,任何添加的表行都将被视为一个单独的表。但是,由于它们没有附加标题,因此它们不构成完整的表,因此不被视为行