有可能在Markdown中创建一个没有标题的表吗?

HTML看起来是这样的:

<table>
<tr>
    <td>Key 1</td>
    <td>Value 1</td>
</tr>
<tr>
    <td>Key 2</td>
    <td>Value 2</td>
</tr>
</table>

当前回答

我得到了这个工作与Bitbucket的Markdown使用一个空链接:

[]()  | 
------|------
Row 1 | row 2

其他回答

至少对于GitHub flavated Markdown,你可以通过使用常规的__或**格式使所有非标题行条目加粗来产生错觉:

|Regular | text | in header | turns bold |
|-|-|-|-|
| __So__ | __bold__ | __all__ | __table entries__ |
| __and__ | __it looks__ | __like a__ | __"headerless table"__ |

省略分隔符上方的标头,至少在Perl Text::MultiMarkdown和FletcherPenney MultiMarkdown中会生成一个无标头的表

|-------------|--------|
|**Name:**    |John Doe|
|**Position:**|CEO     |

请参阅PHP Markdown特性请求


在PHP Parsedown中,空标题会生成带有空标题的表,这些表通常是不可见的(取决于您的CSS),因此看起来像无标题的表。

|     |     |
|-----|-----|
|Foo  |37   |
|Bar  |101  |

什么工作在GitHub问题编辑器是

&nbsp; |&nbsp;
------ | ---
Foo    | Bar

但它确实显示了一个空标题

我得到了这个工作与Bitbucket的Markdown使用一个空链接:

[]()  | 
------|------
Row 1 | row 2

以下工作很好为我在GitHub。第一行不再是粗体,因为它不是一个标题:

<table align="center">
    <tr>
        <td align="center"><img src="docs/img1.png?raw=true" alt="some text"></td>
        <td align="center">Some other text</td>
        <td align="center">More text</td>
    </tr>
    <tr>
        <td align="center"><img src="docs/img2.png?raw=true" alt="some text"></td>
        <td align="center">Some other text 2</td>
        <td align="center">More text 2</td>
    </tr>
</table>

在这里查看一个没有标题的HTML表示例。