New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown中插入HTML表格出现异常 #18

Closed
ourfor opened this Issue Mar 13, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@ourfor
Copy link
Contributor

ourfor commented Mar 13, 2018

因为markdown不支持合并单元格,我插入了一个HTML的表格,可是这个表格总是位于文章底部。例如下图现象:

在主题 mellow 和主题 landscape 中测试均出现如下现象

其中插入table代码为

<table>
    <tr>
        <th>节次/周次</th>
        <th>星期一</th>
        <th>星期二</th>
        <th>星期三</th>
        <th>星期四</th>
        <th>星期五</th>
    </tr>
    <tr>
        <td>第一节</td>
        <td></td>
        <td></td>
        <td rowspan="2">高等数学(西205)</td>
        <td rowspan="2">高等数学(西206)</td>
        <td></td>
    </tr>
    <tr>
        <td>第二节</td>
        <td></td>
        <td rowspan="3">C++(西205)</td>
        <td></td>
    </tr>
    <tr>
        <td>第三节</td>
        <td rowspan="2">高等数学(西205)</td>
        <td rowspan="2">数据结构(西205)</td>
        <td rowspan="2">高等数学(西206)</td>
        <td rowspan="2">大学英语(至205)</td>
    </tr>
    <tr>
        <td>第四节</td>
    </tr>
    <tr>
        <td>第五节</td>
        <td rowspan="2">数据结构(西203)</td>
        <td rowspan="2">离散数学(西407)</td>
        <td rowspan="2">大学体育</td>
        <td></td>
        <td></td>
    </tr>
    <tr>
        <td>第六节</td>
        <td></td>
        <td></td>
    </tr>
    <tr>
        <td>第七节</td>
        <td rowspan="2">近代史(至305)</td>
        <td></td>
        <td rowspan="2">大学英语(至205)</td>
        <td></td>
        <td></td>
    </tr>
    <tr>
        <td>第八节</td>
        <td></td>
        <td></td>
        <td></td>
    </tr>
</table>

这表格始终位于文章底部,即莫名其妙出现大段空白
该如何解决呢?

@codefine codefine added the bug label Mar 13, 2018

@codefine

This comment has been minimized.

Copy link
Owner

codefine commented Mar 13, 2018

hexo引擎解析问题。已修复。

@codefine codefine closed this in ca2bc96 Mar 13, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment