@@ -39,7 +39,8 @@ test('stripMarkdown()', function (t) {
39
39
t . equal ( proc ( '_Alfred_' ) , 'Alfred' , 'emphasis (2)' )
40
40
t . equal ( proc ( '**Alfred**' ) , 'Alfred' , 'importance (1)' )
41
41
t . equal ( proc ( '__Alfred__' ) , 'Alfred' , 'importance (2)' )
42
- t . equal ( proc ( '~~Alfred~~' ) , 'Alfred' , 'strikethrough' )
42
+ // To do: add `remark-gfm` when that’s done.
43
+ // t.equal(proc('~~Alfred~~'), 'Alfred', 'strikethrough')
43
44
t . equal ( proc ( '`Alfred`' ) , 'Alfred' , 'inline code' )
44
45
t . equal ( proc ( '[Hello](world)' ) , 'Hello' , 'link' )
45
46
t . equal ( proc ( '[**H**ello](world)' ) , 'Hello' , 'importance in link' )
@@ -76,7 +77,8 @@ test('stripMarkdown()', function (t) {
76
77
t . equal ( proc ( '---' ) , '' , 'thematic break' )
77
78
t . equal ( proc ( 'A \nB' ) , 'A\nB' , 'hard line break' )
78
79
t . equal ( proc ( 'A\nB' ) , 'A\nB' , 'soft line break' )
79
- t . equal ( proc ( '| A | B |\n| - | - |\n| C | D |' ) , '' , 'table' )
80
+ // To do: add `remark-gfm` when that’s done.
81
+ // t.equal(proc('| A | B |\n| - | - |\n| C | D |'), '', 'table')
80
82
t . equal ( proc ( '\talert("hello");' ) , '' , 'code (1)' )
81
83
t . equal ( proc ( '```js\nconsole.log("world");\n```' ) , '' , 'code (2)' )
82
84
t . equal ( proc ( '<sup>Hello</sup>' ) , 'Hello' , 'html (1)' )
@@ -95,7 +97,7 @@ test('stripMarkdown()', function (t) {
95
97
)
96
98
t . equal (
97
99
proc ( '- **Hello**\n\n- World!' , { keep : [ 'list' , 'listItem' ] } ) ,
98
- '- Hello\n\n- World!' ,
100
+ '* Hello\n\n* World!' ,
99
101
'keep lists'
100
102
)
101
103
t . throws (
0 commit comments