jekyll使用markdown创建文章时,table没有边框的问题

2018/01/25 jekyll

直接在_layout文件中的default.html中的body区块中加上下面代码, 就能正常显示

<style>
  table{
    border-left:1px solid #000000;border-top:1px solid #000000;
    width: 100%;
    word-wrap:break-word; word-break:break-all;
  }
  table th{
  text-align:center;
  }
  table th,td{
    border-right:1px solid #000000;border-bottom:1px solid #000000;
  }
</style>

Search

    Table of Contents