gitbook-plugin-cellmerge
v1.0.4
Published
Plugin for merging cells in tables.
Downloads
5
Readme
Merge cells in the Tables for Markdown Syntax
This is a GitBook plugin for extending markdown table syntax. You can enable to merge cells in tables with this plugin.
How to install it?
Add it to your book.json
configuration:
{
"plugins": ["cellmerge"]
}
Install this plugin using:
$ gitbook install
How this plugin works?
To marge columns: Enter
>
orempty
in the cells.| a | b | |---|---| | > | 1 | | 2 | |
To marge rows: Enter
^
in the cells.| a | b | |---|---| | 1 | 2 | | ^ | 4 |
How to add this plugin into package.json
To insert this plugin into package.json:
run the following code.
$ npm install --save gitbook-plugin-cellmerge
As a reference
- This plugin is developed with referring to
Markdown Enhanced Preview
which is a plugin for Atom or Visual Studio Code. - This plugin uses
Cheerio
npm package to parse HTML as dependencies. This plugin is required to installCheerio
to your emvironment.$ npm install --save Cheerio