fix: 💄 Hide line numbers when viewing markdown

This commit is contained in:
ThatOneCalculator 2022-03-23 11:36:50 -07:00
parent 4ed5065bef
commit dbfed7a7dc
1 changed files with 1 additions and 0 deletions

View File

@ -132,6 +132,7 @@ function viewPaste(content: string, views: string) {
}
if (content.startsWith("---")) {
codeView.innerHTML = marked.parse(content)
hide(lineNumbers)
} else {
codeView.innerHTML = hljs.highlightAuto(content).value
}