File tree Expand file tree Collapse file tree 5 files changed +39
-1
lines changed
Expand file tree Collapse file tree 5 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ module . exports = comment ;
4+
5+ function comment ( h , node ) {
6+ return h ( node , 'html' , '<!--' + node . value + '-->' ) ;
7+ }
Original file line number Diff line number Diff line change 11'use strict' ;
22
33exports . root = require ( './root' ) ;
4-
54exports . text = require ( './text' ) ;
5+ exports . comment = require ( './comment' ) ;
66
77exports . strong = exports . b = require ( './strong' ) ;
88exports . em = exports . i = require ( './emphasis' ) ;
Original file line number Diff line number Diff line change 1+ <!-- foo -->
2+
3+ < p > Alpha.</ p >
4+
5+ <!-- -->
6+
7+ < p > Bravo.</ p >
8+
9+ <!--
10+ charlie
11+ delta echo
12+ -->
13+
14+ < p > Foxtrot.</ p >
Original file line number Diff line number Diff line change 1+ {
2+ "fragment" : true
3+ }
Original file line number Diff line number Diff line change 1+ <!-- foo -->
2+
3+ Alpha.
4+
5+ <!-- -->
6+
7+ Bravo.
8+
9+ <!--
10+ charlie
11+ delta echo
12+ -->
13+
14+ Foxtrot.
You can’t perform that action at this time.
0 commit comments