Comments (6)
要加 mathjax: true 的配置才行,默认是不开启的,见 https://github.com/kitian616/jekyll-TeXt-theme/blob/master/README.md#markdown-头信息增强
from jekyll-text-theme.
@kitian616 嗯嗯谢谢作者。解决了部分问题,行内公式无法渲染,比如$f(x)=x+1$;还有就是单行公式无法独立成行。没用过Mathjax的,一直用的KaTex
能不能使用其他渲染引擎的?
from jekyll-text-theme.
因为用的是 kramdown 转换器,它对公式做了一些处理, 见kramdonw#mathjax。
为了打到更好的体验,我的推荐是用 $$
来表示数学公式(行内),如果要换行,那就直接在 markdown 把公式换行好了,参考示例。
当然你也可以加上转译字符来 \$\$
表示独立行的公式。
from jekyll-text-theme.
@kitian616 那么如何更改渲染引擎呢,是不是只要改一下_config.yml里的条目就行了?
from jekyll-text-theme.
这个改的话就不支持 Github Page 了,就改改文章中的公式格式呗,又不是很麻烦。。
from jekyll-text-theme.
好的感谢作者的耐心解答
from jekyll-text-theme.
Related Issues (20)
- Bug: Is MathJax 2.7.4 obsolete? It does not properly render equations anymore. HOT 5
- Site is down HOT 4
- 快速开始的链接挂了
- Feature request: mastodon support in social links
- Feature request: PWA支持?都9120年了,应该支持下PWA啊,然后最好还有个笔记功能
- Feature request: How config url and baseurl with github
- Bug: 安装错误 sass-embedded HOT 2
- Side-Menu Item Collapse
- Bug: [dev branch] A small typing error makes jekyll serve break down
- Feature request: Toggling between different skins
- Bug: ToC should be scrollable
- Feature request: sub-menus? HOT 1
- Feature request: Can jekyll encrypt articles like Hexo? Is it possible to add an article encryption function to the theme.
- Feature request:
- Feature request: Question: Text can support html in markdown ?
- Bug: Archive posts not showing up on mobile
- Feature request: callouts without border
- Bug: ffi gem not compatible anymore, icons not rendering HOT 1
- Bug: Mermaid labels were not displayed properly. HOT 2
- Nested list items not indented as is customary
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-text-theme.