File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,9 @@ function style(node, relative) {
12
12
return null
13
13
}
14
14
15
- /* This can only occur for `'atx'` and `'atx-closed'`
16
- * headings. This might incorrectly match `'atx'`
17
- * headings with lots of trailing white space as an
18
- * `'atx-closed'` heading. */
15
+ // This can only occur for `'atx'` and `'atx-closed'` headings.
16
+ // This might incorrectly match `'atx'` headings with lots of trailing white
17
+ // space as an `'atx-closed'` heading.
19
18
if ( ! last ) {
20
19
if ( pos . column - 1 <= depth * 2 ) {
21
20
return consolidate ( depth , relative )
@@ -35,8 +34,7 @@ function style(node, relative) {
35
34
return consolidate ( depth , relative )
36
35
}
37
36
38
- /* Get the probable style of an atx-heading, depending on
39
- * preferred style. */
37
+ // Get the probable style of an atx-heading, depending on preferred style.
40
38
function consolidate ( depth , relative ) {
41
39
return depth < 3
42
40
? 'atx'
You can’t perform that action at this time.
0 commit comments