github_flavored_markdown icon indicating copy to clipboard operation
github_flavored_markdown copied to clipboard

Broken tables which are wrapped with div

Open 0xnmn opened this issue 3 years ago • 1 comments

We are using this package at Source Graph to render markdown files.

The markdown table is not converted into HTML if it is wrapped with div in the markdown text. Also reproducible in this file.

We are tracking it at Source Graph under this issue.

Works:

| Users        | Instance type |
| ------------ | ------------- |
| 10-25        | t2.xlarge     |
| 25-500       | t2.xlarge     |
| 500-2,000    | t2.xlarge     | 
| 2,000-4,000  | t2.xlarge     |
| 4,000-10,000 | t2.xlarge     | 
| 10,000+      | t2.2xlarge    |
image

Breaks:

<div class="table">

| Users        | Instance type |
| ------------ | ------------- |
| 10-25        | t2.xlarge     |
| 25-500       | t2.xlarge     |
| 500-2,000    | t2.xlarge     | 
| 2,000-4,000  | t2.xlarge     |
| 4,000-10,000 | t2.xlarge     | 
| 10,000+      | t2.2xlarge    |

</div>
image

0xnmn avatar Apr 20 '22 13:04 0xnmn

cc: @erzhtor

0xnmn avatar Apr 20 '22 13:04 0xnmn