|
@ -11,14 +11,14 @@ var Ruler = require('./ruler'); |
|
|
|
|
|
|
|
|
var _rules = [ |
|
|
var _rules = [ |
|
|
[ 'code', require('./rules_block/code') ], |
|
|
[ 'code', require('./rules_block/code') ], |
|
|
[ 'fences', require('./rules_block/fences'), [ 'paragraph', 'reference', 'blockquote', 'list' ] ], |
|
|
[ 'fence', require('./rules_block/fence'), [ 'paragraph', 'reference', 'blockquote', 'list' ] ], |
|
|
[ 'blockquote', require('./rules_block/blockquote'), [ 'paragraph', 'reference', 'blockquote', 'list' ] ], |
|
|
[ 'blockquote', require('./rules_block/blockquote'), [ 'paragraph', 'reference', 'blockquote', 'list' ] ], |
|
|
[ 'hr', require('./rules_block/hr'), [ 'paragraph', 'reference', 'blockquote', 'list' ] ], |
|
|
[ 'hr', require('./rules_block/hr'), [ 'paragraph', 'reference', 'blockquote', 'list' ] ], |
|
|
[ 'list', require('./rules_block/list'), [ 'paragraph', 'reference', 'blockquote' ] ], |
|
|
[ 'list', require('./rules_block/list'), [ 'paragraph', 'reference', 'blockquote' ] ], |
|
|
[ 'reference', require('./rules_block/reference'), [ 'reference' ] ], |
|
|
[ 'reference', require('./rules_block/reference'), [ 'reference' ] ], |
|
|
[ 'heading', require('./rules_block/heading'), [ 'paragraph', 'reference', 'blockquote' ] ], |
|
|
[ 'heading', require('./rules_block/heading'), [ 'paragraph', 'reference', 'blockquote' ] ], |
|
|
[ 'lheading', require('./rules_block/lheading') ], |
|
|
[ 'lheading', require('./rules_block/lheading') ], |
|
|
[ 'htmlblock', require('./rules_block/htmlblock'), [ 'paragraph', 'reference', 'blockquote' ] ], |
|
|
[ 'html_block', require('./rules_block/html_block'), [ 'paragraph', 'reference', 'blockquote' ] ], |
|
|
[ 'table', require('./rules_block/table'), [ 'paragraph', 'reference' ] ], |
|
|
[ 'table', require('./rules_block/table'), [ 'paragraph', 'reference' ] ], |
|
|
[ 'paragraph', require('./rules_block/paragraph') ] |
|
|
[ 'paragraph', require('./rules_block/paragraph') ] |
|
|
]; |
|
|
]; |
|
|