phoenixcw / hexo-renderer-mathjax

MathJax Renderer Plugin for Hexo
MIT License
36 stars 14 forks source link

In hexo 3.0, it's not work. #1

Closed Svtter closed 9 years ago

Svtter commented 9 years ago

Hexo 3.0 change hexo.file to require('hexo-fs') and need to install hexo-fs to make sure it works.

I write some code for this reason, but I deem it not the best way to solve this problem.

//var file = hexo.file;
var file = require('hexo-fs');
phoenixcw commented 9 years ago

@Svtter Thanks for @ntalbs. He has fixed the bug and now you may have a try. Thanks for your feedback!