Update highlight.ts

pull/5025/head
Bjorn Lu 3 weeks ago committed by GitHub
parent 401918a63f
commit 79ba0ed203
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -76,7 +76,7 @@ function transformerDisableShellSymbolSelect(): ShikiTransformer {
tokens[0].htmlStyle ??= {}
tokens[0].htmlStyle['user-select'] = 'none'
tokens[0].htmlStyle['-webkit-user-select'] = 'none'
tokens[1].content = tokens[1].content.trimStart()
tokens[1].content = tokens[1].content.slice(1)
}
}
}

Loading…
Cancel
Save