1.0.2 • Published 6 years ago

markdown-table-parser v1.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

mdtablesparser

Parse markdown tables with a tiny javascript file.

Install

$ npm i markdown-table-parser

Usage

Go to node-modules/markdown-table-parser/js and copy the file parser.js to your project. Reference to parser.js, e.g.:

<script src="js/parser.js"></script>

Example (Vanilla javascript implementation)

https://blattmann.github.io/mdtablesparser/

Hint

A version for easier installation is comming (soon?). Feel free to contribute and create pull requests ;)

The Javascript parser uses ES6. You may run this snippet on all current versions of Chrome without the need of compiling it back to ES5. If you want to be able to use it on older browsers please add some babel package (NPM stuff) on your own ;)

The cssfolder also contains a scss version ;)