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

强制在每一页面进行数学公式渲染 #121

Open
baoduoxu opened this issue Mar 15, 2024 · 1 comment
Open

强制在每一页面进行数学公式渲染 #121

baoduoxu opened this issue Mar 15, 2024 · 1 comment

Comments

@baoduoxu
Copy link

每一篇文章都要在 front-matter 前加 mathjax: true 有点太麻烦了(因为之前用的其他主题写过很多文章都没加), 而且 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 pages rendered by MathJax
  every_page: true # if true, every page will be rendered by MathJax regardless the `mathjax` setting in Front-matter

里面是有 every_page 这一强制让每一个页面都用 mathjax 渲染的选项的 (不过这里改成 true 也没啥用就是了), 不知道能不能添加这一功能, 还是说本来能实现这个功能但我哪里没配置好?


什么时候能换其他英文字体(

@HiNinoJay
Copy link
Owner

好的,强制全局默认mathjax好解决,换其他英文字体(或者说更自定义换字体)我想弄一个比较方便用户的可配置化方案。

不过本人最近在忙其他事,等忙完了就来解决这两个问题。

可以推荐一些英文字体~

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