1.0.0 • Published 8 years ago

markedit-aligned-table v1.0.0

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

markedit-aligned-table

CircleCI Build Status

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'));