File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 52
52
font = 'NotoSans-Regular'
53
53
formatting = '' ;
54
54
endformatting = '' ;
55
- lineformatting = '' ;
55
+ lineformatting = '<br> ' ;
56
56
} else if ( line . startsWith ( '-' ) ) {
57
57
color = '#ffffff' ;
58
58
size = '20px' ;
59
59
font = 'NotoSans-Regular'
60
60
formatting = '' ;
61
61
endformatting = '' ;
62
- lineformatting = '' ;
62
+ lineformatting = '<br> ' ;
63
63
} else if ( line . startsWith ( '#' ) ) {
64
64
line = line . replace ( / ^ # \s * / , '' ) ;
65
65
color = '#ffffff' ;
68
68
formatting = '<center>' ;
69
69
endformatting = '</center>' ;
70
70
lineformatting = '<hr style="opacity: 0.25;">' ;
71
- }
71
+ } else if ( line . startsWith ( '*' ) ) {
72
+ color = '#ffffff' ;
73
+ size = '20px' ;
74
+ font = 'NotoSans-Regular'
75
+ formatting = '' ;
76
+ endformatting = '' ;
77
+ lineformatting = '<br>' ;
78
+ }
72
79
return `${ lineformatting } <span style="color: ${ color } ; font-size: ${ size } ; font-family: ${ font } ;">${ formatting } ${ line } ${ endformatting } </span>` ;
73
80
} ) . join ( '' ) ;
74
81
You can’t perform that action at this time.
0 commit comments