diff --git a/README.md b/README.md index cebefe7..38985ec 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,13 @@ KaTeX is fast. This plugin makes it easy to support it in your markdown. npm install markdown-it-katex ``` +```javascript +var md = require('markdown-it')(), + mk = require('markdown-it-katex'); + +md.use(mk); +``` + Include the KaTeX stylesheet in your html: ```html