Is it possible to have a table in the center in Github gist markdown?

后端 未结 3 1516
长发绾君心
长发绾君心 2021-01-04 04:18

Is it possible to have a table in the center in Github gist markdown? If so, how?

I\'ve used the following syntax to create a table on a markdown fi

3条回答
  •  鱼传尺愫
    2021-01-04 04:57

    It is possible to center a table. Essentially, on github the table is already width 100%, you just need to give the tbody enough content for it take up 100% width too.

    The trick: fill it with spaces.

    Key Features
                                                                     
    Examples
                                                                     
    Supported Methods
                                                                     

    Result:

    Narrow browser window:

提交回复
热议问题