add mathjex into markdown with jekyll

查找资料

调查结果:根据网上的很多博客,需要把一段代码输入粘贴到head.html文件夹下,但是网上没有什么资料关于如何查找对应主题的head.html文件在哪里找到

查找主题安装位置


# You must cd into the blog directory
~/testjekyll/myblog$ bundle show minima
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
/var/lib/gems/2.5.0/gems/minima-2.5.0

复制到当前文件夹中

~/testjekyll/myblog$ mkdir _include/
cp /var/lib/gems/2.5.0/gems/minima-2.5.0/_include/head.html ./_include/

再添加代码即可