Create a table without a header in Markdown

后端 未结 11 2040
有刺的猬
有刺的猬 2021-01-30 07:42

Is it possible to create a table without a header in Markdown?

The HTML would look like this:



        
      
      
      
11条回答
  •  孤独总比滥情好
    2021-01-30 08:10

    Universal Solution

    Many of the suggestions unfortunately do not work for all Markdown viewers/editors, for instance, the popular Markdown Viewer Chrome extension, but they do work with iA Writer.

    What does seem to work across both of these popular programs (and might work for your particular application) is to use HTML comment blocks (''):

    |     |     |
    |-------------|-------------|
    | Foo         | Bar         |
    

    Like some of the earlier suggestions stated, this does add an empty header row in your Markdown viewer/editor. In iA Writer, it's aesthetically small enough that it doesn't get in my way too much.

提交回复
热议问题