markdown-js icon indicating copy to clipboard operation
markdown-js copied to clipboard

are tables supported

Open sanderhouttekier opened this issue 12 years ago • 2 comments

I've tried different types of tables that other markdown implementations support, but i'm not recieving any real table markup.

tried inserting html itself, or using the pipe characters

the only notion of tables i found was issue #66 which handles tables in 1 of the dialects

sanderhouttekier avatar Oct 16 '13 13:10 sanderhouttekier

Yes, they are in your tests, but don't show up in parsed documents.

lunarcloud avatar Oct 18 '13 12:10 lunarcloud

I think tables are not parsed, it does not work in the current release. It seems a bug to me.

[email protected] node_modules\markdown └── [email protected] ([email protected])

a v c 2 d
d d d d d
d d s d d
d d d d s
| a | v | c | 2 | d |
|---|---|---|---|---|
| d | d | d | d | d |
| d | d | s | d | d |
| d | d | d | d | s |

is parsed as a paragraph, no sign of table support:

  [
    "para",
    "| a | v | c | 2 | d |\n|---|---|---|---|---|\n| d | d | d | d | d |\n| d | d | s | d | d |\n| d | d | d | d | s |"
  ]

gaboom avatar Nov 17 '14 09:11 gaboom