File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -14,32 +14,32 @@ const ELEMENT_TYPES: IJsonToMarkdownElementTags = {
14
14
'h1' : ( attrs : any , child : string ) => {
15
15
return `
16
16
17
- #${ child } #`
17
+ # ${ child } #`
18
18
} ,
19
19
'h2' : ( attrs : any , child : any ) => {
20
20
return `
21
21
22
- ##${ child } ##`
22
+ ## ${ child } ##`
23
23
} ,
24
24
'h3' : ( attrs : any , child : any ) => {
25
25
return `
26
26
27
- ###${ child } ###`
27
+ ### ${ child } ###`
28
28
} ,
29
29
'h4' : ( attrs : any , child : any ) => {
30
30
return `
31
31
32
- ####${ child } ####`
32
+ #### ${ child } ####`
33
33
} ,
34
34
'h5' : ( attrs : any , child : any ) => {
35
35
return `
36
36
37
- #####${ child } #####`
37
+ ##### ${ child } #####`
38
38
} ,
39
39
'h6' : ( attrs : any , child : any ) => {
40
40
return `
41
41
42
- ######${ child } ######`
42
+ ###### ${ child } ######`
43
43
} ,
44
44
img : ( attrsJson : any , child : any ) => {
45
45
if ( attrsJson ) {
Original file line number Diff line number Diff line change @@ -163,17 +163,17 @@ This is a paragraph with \`inline code\`.`
163
163
} ] ,
164
164
"markdown" : `
165
165
166
- #Heading 1#
166
+ # Heading 1 #
167
167
168
- ##Heading 2##
168
+ ## Heading 2 ##
169
169
170
- ###Heading 3###
170
+ ### Heading 3 ###
171
171
172
- ####Heading 4####
172
+ #### Heading 4 ####
173
173
174
- #####Heading 5#####
174
+ ##### Heading 5 #####
175
175
176
- ######Heading 6######`
176
+ ###### Heading 6 ######`
177
177
} ,
178
178
{
179
179
"title" : "Block Quote Conversion" ,
You can’t perform that action at this time.
0 commit comments