hexo开启latex 发表于 2026-04-14 一、在博客根目录新建 1234567891011_config.next.ymlmath: enable: true per_page: true mathjax: enable: true src: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js katex: enable: false 二、在文章顶部加上 123456title: 测试公式date: 2026-04-12 13:30:00mathjax: true # 👈 就加这行---这里写公式 $E=mc^2$ 三、运行 123hexo cleanhexo ghexo s