-
-
Notifications
You must be signed in to change notification settings - Fork 189
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Issue Checklist | Issue 检查清单
- I am using Keep version
4.2.5or later. (使用 Keep4.2.5或更高版本) - I have already read the Troubleshooting page of Hexo and Keep documents. (已阅读 Hexo 故障处理页面 和 Keep 文档)
- I have already searched for current issues, which does not help me. (已搜索 Issues,对我没有帮助)
Expected behavior | 预期行为
預期顯示類似 Landscape 主題,code 元素部分字體不同、背景色不同,但字體大小和所在的 header 元素相近,如下圖:
Actual behavior | 实际行为
Steps to reproduce the behavior | 重现步骤
- 建立一個 post,並加入以下內容:
## this is a `code` in h2hexo clean && hexo g && hexo s --open- 找到該篇文章查看顯示結果
Node.js and NPM Information | Node.js 和 NPM 信息
$ node -v && npm -v
v22.11.0
10.9.0
Hexo Configuration | Hexo 配置
theme: keep
以上內容之外,未改動預設內容。Keep Configuration | Keep 配置
未改動預設內容。Other Information | 其它信息
生成的 html 原始碼正確,並且顯示如預期的 Landscape 主題與顯示異常的 Keep 主題生成的 html 原始碼相同;因此我猜測是 css 方面的問題。
該段內容如下:
<h2 id="this-is-a-code-in-h2"><a href="#this-is-a-code-in-h2" class="headerlink" title="this is a code in h2"></a>this is a <code>code</code> in h2</h2>xxraincandyxx
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

