File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ module.exports = {
2323 table : require ( './table' ) ,
2424 text : require ( './text' ) ,
2525 thematicBreak : require ( './thematic-break' ) ,
26+ toml : ignore ,
2627 yaml : ignore ,
2728 definition : ignore ,
2829 footnoteDefinition : ignore
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ require('./strong.js');
2727require ( './table.js' ) ;
2828require ( './text.js' ) ;
2929require ( './thematic-break.js' ) ;
30+ require ( './toml.js' ) ;
3031require ( './yaml.js' ) ;
3132
3233require ( './handlers-option.js' ) ;
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ var test = require ( 'tape' ) ;
4+ var u = require ( 'unist-builder' ) ;
5+ var to = require ( '..' ) ;
6+
7+ test ( 'TOML' , function ( t ) {
8+ t . equal (
9+ to ( u ( 'toml' , 'kilo: "lima"' ) ) ,
10+ null ,
11+ 'should ignore `toml`'
12+ ) ;
13+
14+ t . end ( ) ;
15+ } ) ;
You can’t perform that action at this time.
0 commit comments