t2 如何在博客中添加图片在hexo中发表文章时发现图片无法显示,这是因为hexo在解析文章时找不到图片路径,因此需要配置文章中的图片路径 1、打开在博客根目录下的 _config.yml 配置文件,找到 post_asset_folder 属性, false 改为 true 2、在hexo根目录下执行如下命令 1npm install hexo-asset-image 3、创建新的文章,在 sour 2022-10-04
t1 如何在hexo博客中显示数学公式1、安装 hexo-math 在博客目录下打开powershell,运行 1npm i hexo-math --save 2、在博客根目录下找到 _config.yml 文件打开 将enable属性改为true,此时既可以直接用markdown的代码块,也可以用使用Katex或mathjex的格式 注意:如果使用Katex,将engine属性改为katex 3、 2022-10-04
hello world This is the beginning!!!$$\begin{Bmatrix}1&2&3 \\4&5&6\end{Bmatrix} \\sum_{i=1}^n a_i=1$$ 2022-07-07
Hello World Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick 2022-07-07