1
0
Fork 0

fix README.md

This commit is contained in:
sup39 2021-01-10 17:00:34 +09:00
parent 0e1e674ead
commit da456228f2

View file

@ -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 |
`);
```