markedit-aligned-table
v1.0.0
Published
Modified MarkedIt table renderer for sanitizer-friendly column alignment
Downloads
2
Maintainers
Readme
markedit-aligned-table
This is modified version of MarkedIt's table renderer. The only difference is that it uses align="where"
instead of style="text-align: where"
for column alignment, because the latter is stripped during sanitisation by Google CAJA's sanitizer.
Installation
npm install markedit-aligned-table
Usage
var md = require('markdown-it')('commonmark')
.disable('table')
.use(require('markedit-aligned-table'));