1.0.4 • Published 5 years ago

gitbook-plugin-cellmerge v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

0.0.2

5 years ago