How can I get a table in markdown without column headers? -
i'm trying generate in markdown table without column headers, every sample found on internet uses column headers. table want m x 2
.
vanilla markdown doesn't support tables - instead, gruber recommends using html tables inside markdown page (see example on page). that's 1 option.
if you're using kind of extended markdown syntax (multimarkdown, kramdown, markdown extra, etc.), depends on you're using. according documentation markdown extra, multimarkdown, , presumably, other extensions based on php markdown extra, tables without headers aren't possible, , have write such table in raw html in vanilla markdown. can't find syntax documentation mou, guess doesn't support headerless tables. however, in kramdown, creating table without header row works:
| a1 | b1 | | a2 | b2 |
you wouldn't able use separator line, cause kramdown misinterpret above separator header, should able create simple tables in way.
another option use empty-cells
css property, hiding empty header. put following in general.css
:
table { empty-cells: hide; }
assuming want continue using mou, think easiest way have markdown tables without doing sort of post-processing of html output.
incidentally, question duplicate of create table without header in markdown, lack reputation either flag or mark such; apologies.
Comments
Post a Comment