kramed icon indicating copy to clipboard operation
kramed copied to clipboard

Rendering the table in list

Open xiaohaoliang opened this issue 6 years ago • 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

https://github.com/markedjs/marked/issues/1246

https://github.com/GitbookIO/gitbook/issues/794

xiaohaoliang avatar Sep 06 '18 08:09 xiaohaoliang