fix README.md
This commit is contained in:
parent
7a10e1949d
commit
f6d63781f0
1 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ Output:
|
||||||
## Usage
|
## Usage
|
||||||
```js
|
```js
|
||||||
const md = require('markdown-it')();
|
const md = require('markdown-it')();
|
||||||
const mia = require('@sup39/markdown-it-attrs');
|
const mia = require('@sup39/markdown-it-attr');
|
||||||
|
|
||||||
console.log(md.use(mia).render(`
|
console.log(md.use(mia).render(`
|
||||||
{#head-id}
|
{#head-id}
|
||||||
|
@ -151,7 +151,7 @@ which eliminates the attributes of `tr`.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const md = require('markdown-it')();
|
const md = require('markdown-it')();
|
||||||
const mia = require('markdown-it-attrs');
|
const mia = require('@sup39/markdown-it-attr');
|
||||||
const mrt = require('@sup39/markdown-it-raw-table');
|
const mrt = require('@sup39/markdown-it-raw-table');
|
||||||
|
|
||||||
// enable raw_table_tr rule
|
// enable raw_table_tr rule
|
||||||
|
|
Reference in a new issue