clarify usage
This commit is contained in:
parent
2f0dd45d52
commit
c5a0bbc556
2 changed files with 5 additions and 1 deletions
|
@ -6,10 +6,14 @@ KaTeX is fast. This plugin makes it easy to support it in your markdown.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
Install the plugin
|
||||||
|
|
||||||
```
|
```
|
||||||
npm install markdown-it-katex
|
npm install markdown-it-katex
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Include it in your javascript
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var md = require('markdown-it')(),
|
var md = require('markdown-it')(),
|
||||||
mk = require('markdown-it-katex');
|
mk = require('markdown-it-katex');
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "markdown-it-katex",
|
"name": "markdown-it-katex",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"description": "Easy KaTeX support for markdown-it ",
|
"description": "Easy KaTeX support for markdown-it ",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Reference in a new issue