markdown-table-parser
v1.0.2
Published
Easily parse markdown tables.
Downloads
159
Maintainers
Readme
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 css
folder also contains a scss
version ;)