GitbookIO/kramed

Rendering the table in list

xiaohaoliang opened this issue · 0 comments

The following markdown text doesn't work:

1. this is a
   - this is b1

   | Name | age|
   |----  |----|
   | Tom  | 16 |

   - this is b2
   - this is b3

It should be rendered to:

  1. this is a

    • this is b1
    Name age
    Tom 16
    • this is b2
    • this is b3

The actual output is as follows

  1. this is a

    • this is b1

    | Name | age| |---- |----| | Tom | 16 |

    • this is b2
    • this is b3

related issue

markedjs/marked#1246

GitbookIO/gitbook#794