Skip to content
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

表格的表头渲染到文章顶部,显示异常 #351

Closed
lulu010722 opened this issue Oct 15, 2022 · 1 comment
Closed

表格的表头渲染到文章顶部,显示异常 #351

lulu010722 opened this issue Oct 15, 2022 · 1 comment

Comments

@lulu010722
Copy link
Contributor

我启用了一个pandoc的渲染器
此时我发现,在本地typora编写表格,在hexo上显示的大概是这样:

image

尝试按照archer的推荐配置pandoc并且编写表格可以复现该问题。
原博客网址:https://lulu010722.cn/2022/10/15/%E6%B5%8B%E8%AF%95/

md原文:

# 表格测试

| 1 | 2 | 3 |
| ---- | ---- | ---- |
| 甲 | 乙 | 丙 |

@LolipopJ
Copy link
Collaborator

LolipopJ commented Oct 15, 2022

image

排查出来问题的原因在于表格的表头使用到了重复的 header 样式类,而这个样式类原计划仅使用于博客的顶部 Header。这个问题源于未能使用样式隔离,已经修复,可以拉取 master 分支最新代码测试。

LolipopJ added a commit that referenced this issue Oct 15, 2022
Stark-X pushed a commit to Stark-X/hexo-theme-archer that referenced this issue Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants