apisix-website icon indicating copy to clipboard operation
apisix-website copied to clipboard

[Site]: Add support for multi-rows and multi-column in docusaurus tables

Open avinal opened this issue 3 years ago • 1 comments

Current State

Description of the current state/issue:

Currently, Docusaurus doesn't support multi-rows or multi-column in tables.

Link to the page:

Screenshots (if relevant):

Current table format:

Header1 Header 2 Header 3
d1 d2 d3
d4 d5 d6

Desired State

Description of the change you are proposing: Expected table format:

Layer 1 Layer 2 Layer 3
L1 Name L2 Name A L3 Name A
L3 Name B
L2 Name B L3 Name C
L3 Name D
Layer Col 1 Layer Col

Would you like to fix this issue?

Yes! Count me in

avinal avatar Jun 10 '22 07:06 avinal

Hi, I have made some attempts and found that we are currently limited by Docusaurus, which makes it difficult to support this feature. If it's urgent, please use JSX syntax to build the Table, and I'll keep track of Docusaurus' progress, and as soon as they support ESM, I'll start implementing this feature.

SkyeYoung avatar Jun 13 '22 06:06 SkyeYoung