wooorm/remark plugin for table caption
Support Pandoc's table caption at wooorm/remark.
Table of Contents
Install
npm i remark @paperist/remark-table-caption
Usage
const remark = require('remark');
const tableCaption = require('@paperist/remark-table-caption');
const markdown = `
| Right | Left | Default | Center |
|------:|:-----|---------|:------:|
| 12 | 12 | 12 | 12 |
| 123 | 123 | 123 | 123 |
| 1 | 1 | 1 | 1 |
: Demonstration of pipe table syntax.
`;
remark().use(tableCaption).parse(markdown);
Contribute
PRs accepted.
License
MIT © 3846masa