Create a table without a header in Markdown

后端 未结 11 2151
有刺的猬
有刺的猬 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:18

    Omitting the header above the divider produces a headerless table in at least Perl Text::MultiMarkdown and in FletcherPenney MultiMarkdown

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

    See PHP Markdown feature request


    Empty headers in PHP Parsedown produce tables with empty headers that are usually invisible (depending on your CSS) and so look like headerless tables.

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

提交回复
热议问题