gitbook-plugin-cellmerge

1.0.4 • Public • Published

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 > or empty in the cells.

    | a | b |
    |---|---|
    | > | 1 |
    | 2 |   |
    
  • To marge rows: Enter ^ in the cells.

    | a | b |
    |---|---|
    | 1 | 2 |
    | ^ | 4 |
    

sample

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 install Cheerio to your emvironment.
    $ npm install --save Cheerio
    

Readme

Keywords

none

Package Sidebar

Install

npm i gitbook-plugin-cellmerge

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

163 kB

Total Files

7

Last publish

Collaborators

  • yonekura