zcyemi / hexo-katexify

Hexo plugin for rendering TeX math by katex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hexo-katexify · build status

Hexo plugin for rendering TeX math by katex. This plugin is based on the work of haripo.

Installation

$ 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>

Usage

Inline syntax

$ y = x^2 + 3 $

or display mode syntax

$$
y = x^2 + 3
$$

About

Hexo plugin for rendering TeX math by katex

License:MIT License


Languages

Language:TypeScript 100.0%