Comments (13)
我添加了两个cdn,已解决,谢谢
from hexo-filter-mathjax.
Issue-Label Bot is automatically applying the label feature_request
to this issue, with a confidence of 0.68. Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
from hexo-filter-mathjax.
Thanks for your suggestion. Fixed in f6c7d7e
from hexo-filter-mathjax.
It still doesn't seem to work. If both are set to false, css will not be loaded. Do not load css even if the article sets mathjax to true
from hexo-filter-mathjax.
Docs updated: 1de71bd
from hexo-filter-mathjax.
在home页也加载到了渲染出来了<style>,是不是再加个is_post()来判断呢
from hexo-filter-mathjax.
home 页需要加载 style,否则文章摘要中的数学公式显示不正确
from hexo-filter-mathjax.
有个问题想请教下,我hexo
使用的是默认装有的prismjs
代码高亮,我在里边看到了有个copy
的插件,但是我不知道如何启用这个插件,您知道么
from hexo-filter-mathjax.
您好,Hexo 只集成了 prismjs 的基础功能,并没有包含代码复制插件。必须要 Hexo 主题支持,才能使用这一功能。
from hexo-filter-mathjax.
您好,我目前在写hexo模板主题,我应该如果修改呢或者调用呢,第一次接触这个。
from hexo-filter-mathjax.
prismjs 的代码复制需要在前端加载三个 js 和一个 css:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/plugins/toolbar/prism-toolbar.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/components/prism-core.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/toolbar/prism-toolbar.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/copy-to-clipboard/prism-copy-to-clipboard.js"></script>
from hexo-filter-mathjax.
您好,添加后有按钮了也可以使用,但似乎和hexo集成的冲突了,代码的样式和行号不渲染出来了
from hexo-filter-mathjax.
在 Hexo _config.yml
中禁用 prismjs.preprocess
:
prismjs:
enable: true
preprocess: false
line_number: true
tab_replace: ''
from hexo-filter-mathjax.
Related Issues (20)
- 如何避免不必要的inline渲染 HOT 4
- 不支持用\\或\\\\换行 HOT 4
- 能不能在配置文件里自定义mathjax输出类型和括号啊 HOT 3
- Error in applying html the markdown file HOT 3
- Are linebreaks supported? HOT 7
- Dependency Dashboard
- How can i specify a specific font size? HOT 1
- Do not start a new line when adding formula blocks HOT 2
- 文章目录未渲染数学公式 HOT 4
- Spaces before inline math is removed by hexo-html-minifier HOT 2
- 块引用内 行内公式 渲染失败 HOT 8
- 分段函数的问题 HOT 1
- physics宏包支持 HOT 4
- tikzjax HOT 6
- 公式随宽度缩放 HOT 4
- 矩阵公式未渲染 HOT 8
- 数学公式不显示编号 HOT 1
- 如何添加mathjax的components组件支持 HOT 3
- 百分号不渲染 HOT 1
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 hexo-filter-mathjax.