问题介绍
公式加了$$美元符号,但是在渲染的时候,还是显示的美元符号
问题解决方法
按照这个博主的方式解决了
但是由于版本问题,具体操作略有不同1
2
3
4
5
6
7
8
9
10
11math:
# Default (true) will load mathjax / katex script on demand.
# That is it only render those page which has `mathjax: true` in Front-matter.
# If you set it to false, it will load mathjax / katex srcipt EVERY PAGE.
per_page: false
# hexo-renderer-pandoc (or hexo-renderer-kramed) required for full MathJax support.
mathjax:
enable: true
# See: https://mhchem.github.io/MathJax-mhchem/
mhchem: true
之后在1
2
3
4
5
6
7
8---
title: 解决hexo 公式渲染失败
date: 2021-08-9 19:59:28
categories: hexo
tags:
- hexo
- 公式渲染失败
---
不需要增加1
mathjax: true