kopia lustrzana https://github.com/elk-zone/elk
fix: convert code block
rodzic
373697619f
commit
d9d2a946a4
|
@ -125,8 +125,8 @@ function treeToText(input: Node): string {
|
|||
pre = '\n'
|
||||
|
||||
if (input.nodeName === 'code') {
|
||||
pre = '`'
|
||||
post = '`'
|
||||
pre = '````\n'
|
||||
post = '\n```'
|
||||
}
|
||||
|
||||
if ('childNodes' in input)
|
||||
|
|
Ładowanie…
Reference in New Issue