Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 484 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 484 Bytes

hexo-simple-katex

[WARNING] This project is no longer maintained. Use hexo-katexify.

Hexo plugin for rendering TeX math by katex, with no extra dependency

Installation

$ npm install hexo-simple-katex --save

Import katex.css

<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css">

Usage

Inline syntax

$ y = x^2 + 3 $

or display mode syntax

$$
y = x^2 + 3
$$