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

导出的 html 和 在 Typora 中, 字体显示效果不一致 #53

Closed
voncin opened this issue Jan 27, 2022 · 3 comments
Closed

导出的 html 和 在 Typora 中, 字体显示效果不一致 #53

voncin opened this issue Jan 27, 2022 · 3 comments

Comments

@voncin
Copy link
Contributor

voncin commented Jan 27, 2022

描述问题

导出的 html 中代码字体变成了加粗斜体

如何复现问题

期望结果

正常使用 JetBrain Mono 字体

截图

image

系统 (建议使用最新Typora版本)

  • OS : win11
  • Theme
  • Typora Version: 测试版最后一版

尝试

  • 在主题中添加:
    @include-when-export url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
  • 另外:
    退出源码模式的按钮有些违和, 添加:
.typora-sourceview-on #toggle-sourceview-btn{
    background-color: var(--item-hover-bg-color);
}
@liangjingkanji
Copy link
Owner

liangjingkanji commented Jan 27, 2022

好的, 等我更新

如果你提供问题修复但是觉得修复所有主题比较麻烦可以只修复某个主题, 我会修改你的提交同步到所有主题

@voncin
Copy link
Contributor Author

voncin commented Jan 27, 2022

@liangjingkanji 拉我进贡献组, voncin@qq.com 是我的邮箱.

@liangjingkanji
Copy link
Owner

你可以先提pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants