|
|
@ -10,9 +10,11 @@ var Ruler = require('./ruler'); |
|
|
|
|
|
|
|
|
|
|
|
var _rules = [ |
|
|
|
// First 2 params - rule name & source. Secondary array - list of rules,
|
|
|
|
// which can be terminated by this one.
|
|
|
|
[ 'code', require('./rules_block/code') ], |
|
|
|
[ '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', 'list' ] ], |
|
|
|
[ 'hr', require('./rules_block/hr'), [ 'paragraph', 'reference', 'blockquote', 'list' ] ], |
|
|
|
[ 'list', require('./rules_block/list'), [ 'paragraph', 'reference', 'blockquote' ] ], |
|
|
|
[ 'reference', require('./rules_block/reference') ], |
|
|
|