Hexo plugin for rendering TeX math by katex. This plugin is based on the work of haripo.
$ npm install hexo-katexify --save
$ npm test
or with yarn
$ yarn add hexo-katexify
$ yarn test
Import katex.min.css (in template)
<head>
<!-- other code goes here -->
<link href="/katexify/katex.min.css" rel="stylesheet" />
</head>
Inline syntax
$ y = x^2 + 3 $
or display mode syntax
$$
y = x^2 + 3
$$
Steps to release a new version.
git flow release start 1.0.0
# Then to the following steps:
# - Update version number in package.json
# - See if publishing would work: yarn run prepublish
# - Make sure that all changes have been added, especially in the dist folder
# - Commit any changes
git flow release finish -p
git checkout master
npm publish