Jekyll-now:table headers 未正确呈现
Jekyll-now: table headers are not rendered properly
我是 markdown/css 的新手,我正在尝试在 Github 页面上设置我的博客。
我无法正确显示 table headers。
这就是我在 .md
文件中创建它们的方式,该文件直接来自使用 Jupyter 和 R 生成的笔记本:
<table>
<thead><tr><th></th><th scope=col>ID</th><th scope=col>City</th><th scope=col>Province</th><th scope=col>Italians</th><th scope=col>Population</th><th scope=col>Percentage</th><th scope=col>Lat</th><th scope=col>Lon</th></tr></thead>
<tbody>
这就是 Jekyll-now 将它们可视化的方式:
我做错了什么?
编辑
这是呈现 table headers 的 html
代码:
<p><br />City Province Italians Population % Italians Lat Lon</br>
我不知道这是不是因为 Jekyll 使用了与 Github 不同的降价引擎。
我今天也遇到了这个问题,终于找到办法解决了。很简单,只需要在scope=
后面加上引号就可以了,如下:
<table>
<thead><tr><th></th>
<th scope="col">ID</th>
<th scope="col">City</th>
<th scope="col">Province</th>
<th scope="col">Italians</th>
<th scope="col">Population</th>
<th scope="col">Percentage</th>
<th scope="col">Lat</th>
<th scope="col">Lon</th></tr></thead>
<tbody>
您可以在 https://juntaodong.com/BANA7038-HW1/ 的 github 页面上查看我的 post
以及相应的原始降价 https://raw.githubusercontent.com/JuntaoDong/juntaodong.github.io/master/_posts/2019-01-23-BANA7038-HW1.md
我是 markdown/css 的新手,我正在尝试在 Github 页面上设置我的博客。
我无法正确显示 table headers。
这就是我在 .md
文件中创建它们的方式,该文件直接来自使用 Jupyter 和 R 生成的笔记本:
<table>
<thead><tr><th></th><th scope=col>ID</th><th scope=col>City</th><th scope=col>Province</th><th scope=col>Italians</th><th scope=col>Population</th><th scope=col>Percentage</th><th scope=col>Lat</th><th scope=col>Lon</th></tr></thead>
<tbody>
这就是 Jekyll-now 将它们可视化的方式:
我做错了什么?
编辑
这是呈现 table headers 的 html
代码:
<p><br />City Province Italians Population % Italians Lat Lon</br>
我不知道这是不是因为 Jekyll 使用了与 Github 不同的降价引擎。
我今天也遇到了这个问题,终于找到办法解决了。很简单,只需要在scope=
后面加上引号就可以了,如下:
<table>
<thead><tr><th></th>
<th scope="col">ID</th>
<th scope="col">City</th>
<th scope="col">Province</th>
<th scope="col">Italians</th>
<th scope="col">Population</th>
<th scope="col">Percentage</th>
<th scope="col">Lat</th>
<th scope="col">Lon</th></tr></thead>
<tbody>
您可以在 https://juntaodong.com/BANA7038-HW1/ 的 github 页面上查看我的 post 以及相应的原始降价 https://raw.githubusercontent.com/JuntaoDong/juntaodong.github.io/master/_posts/2019-01-23-BANA7038-HW1.md