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

[BUG] 行内公式位置偏下 #300

Closed
3 tasks done
Andonade opened this issue Nov 15, 2023 · 5 comments
Closed
3 tasks done

[BUG] 行内公式位置偏下 #300

Andonade opened this issue Nov 15, 2023 · 5 comments
Assignees
Labels
bug Something isn't working dev finished Development in dev branch completed. Please wait for the new version to release

Comments

@Andonade
Copy link

提交 Issue 前检查清单

Bug 描述

我的 mathjax 设置:

mathjax:
  tags: none               # or 'ams' or 'all'
  single_dollars: true     # enable single dollar signs as in-line math delimiters
  cjk_width: 0.9           # relative CJK char width
  normal_width: 0.6        # relative normal (monospace) width
  append_css: true         # add CSS to every page
  every_page: false        # if true, every page will be rendered by mathjax regardless the `mathjax` setting in Front-matter of each article

部分 Markdown 代码:

- *幂运算*

        设 $\Sigma$ 为字母表,$n$ 为任意自然数,定义

        1. $\Sigma^{0}=\lbrace\epsilon\rbrace$
        2. 设 $x\in\Sigma^{n-1}, a\in\Sigma$ ,则 $ax\in\Sigma^{n}$
        3. $\Sigma^{n}$ 中的元素只能有以上两种方式生成

显示效果在截图中可以看到,显然是偏下了

复现方法

No response

预期结果

No response

截图

在我的电脑上:
截屏2023-11-15 16 35 41

在我朋友的电脑上:
image

电脑操作系统

macOS Sonoma 14.1.1 & Windows 11

浏览器

Chrome & Edge

版本

v2.5.2

移动端设备

No response

移动端操作系统

No response

浏览器

No response

版本

No response

其他

No response

@Andonade Andonade added the bug Something isn't working label Nov 15, 2023
@DarkFlameMasterDev
Copy link

same on my computer

@gongxi-cn-ln-dl
Copy link

我也遇到了
可以修改 node_modules\hexo-theme-redefine\source\css\common\markdown.styl 里面第 226 行
改成 vertical-align middle 就可以居中了

@Andonade
Copy link
Author

我也遇到了 可以修改 node_modules\hexo-theme-redefine\source\css\common\markdown.styl 里面第 226 行 改成 vertical-align middle 就可以居中了

我的 Build 过程是在远程完成的,不太方便改啊

@EvanNotFound EvanNotFound added the dev finished Development in dev branch completed. Please wait for the new version to release label Nov 21, 2023
@EvanNotFound
Copy link
Owner

已在 v2.5.4 版本修复,请前往 https://github.com/EvanNotFound/hexo-theme-redefine/releases 查看并更新主题

@Andonade
Copy link
Author

解决了,多谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dev finished Development in dev branch completed. Please wait for the new version to release
Projects
None yet
Development

No branches or pull requests

4 participants