Skip to content

Repository files navigation

markdown-it-table-wrap

NPM versionDownloadsAppVeyor Build Status

markdown-it plugin which wraps table into div and add class for custom styling.

Install

Via npm

npm install markdown-it-table-wrap

Via Yarn

yarn add markdown-it-table-wrap

Usage

constmarkdownit=require('markdown-it');constmarkdownitTableWrap=require('markdown-it-table-wrap').default;constmd=markdownit();consttestString=`| Syntax | Description || ----------- | ----------- || Header | Title || Paragraph | Text |`;md.use(markdownitTableWrap);console.log(md.render(testString));

About

markdown-it plugin which wraps table into div and add class for custom styling.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages