ele828 / hexo-prism-plugin

Hexo plugin for code highlighting by prism.js, supporting JSX syntax
204 stars 51 forks source link

没有效果? #34

Open ywzhaiqi opened 6 years ago

ywzhaiqi commented 6 years ago

安装配置后,运行没效果,还是未渲染的状态。

<pre>
    <code class="javascript">
    import { AppContainer } from 'react-hot-loader'
    </code>
</pre>

经过 debug,发现 after_post_render 没有执行。

hexo.extend.filter.register('after_post_render', PrismPlugin);

我用了 theme: next,临时禁用后,有效果。这是 hexo-theme-next 的问题?

ele828 commented 6 years ago

可能是跟 hexo-theme-next 有冲突,我回头试一下看看。

Cansult commented 6 years ago

话说...现在有没有解决吖qwq似乎还是和next主题冲突..._(:з」∠)_