Skip to content

basverweij/markdown-it-gridtables

Repository files navigation

MarkdownIt Grid Tables

Build Status Coverage Status

MarkdownIt plugin for Pandoc Grid Tables.

Usage

Install:

npm install --save markdown-it-gridtables

Use as a MarkdownIt plugin:

import * as MarkdownIt from "markdown-it";
import gridTableRulePlugin from "markdown-it-gridtables";

const md = MarkdownIt();
md.use(gridTableRulePlugin);

const html = md.render("...");
console.log(html);

Development

Checkout:

git clone https://github.com/basverweij/markdown-it-gridtables.git

Clean:

npm run clean

Build:

npm run build

Test:

npm run test