fix README.md
This commit is contained in:
parent
0e1e674ead
commit
da456228f2
1 changed files with 15 additions and 14 deletions
29
README.md
29
README.md
|
@ -1,4 +1,19 @@
|
|||
# markdown-it-raw-table
|
||||
|
||||
## Usage
|
||||
```js
|
||||
const md = require('markdown-it')();
|
||||
const mrt = require('@sup39/markdown-it-raw-table');
|
||||
md.use(mrt);
|
||||
|
||||
md.render(`
|
||||
| abc | def |
|
||||
| --- | --- |
|
||||
| bar |
|
||||
| bar | baz | boo |
|
||||
`);
|
||||
```
|
||||
|
||||
## Feature
|
||||
`td` count is NOT adjusted to `th` count when using this plugin.
|
||||
|
||||
|
@ -229,17 +244,3 @@ is rendered as
|
|||
</tbody>
|
||||
</table>
|
||||
```
|
||||
|
||||
## Usage
|
||||
```js
|
||||
const md = require('markdown-it')();
|
||||
const mrt = require('@sup39/markdown-it-raw-table');
|
||||
md.use(mrt);
|
||||
|
||||
md.parse(`
|
||||
| abc | def |
|
||||
| --- | --- |
|
||||
| bar |
|
||||
| bar | baz | boo |
|
||||
`);
|
||||
```
|
||||
|
|
Reference in a new issue