fix: Remove console.log statement (#2168)

Co-authored-by: Enrique Alcantara <ealcantara@gitlab.com>
This commit is contained in:
Enrique Alcántara 2021-11-18 07:13:55 -04:00 committed by GitHub
parent c9dc1e1ec3
commit 6e25e99c7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,6 @@ function getDecorations({
.forEach(block => {
let from = block.pos + 1
const language = block.node.attrs.language || defaultLanguage
console.log({ language, defaultLanguage })
const languages = lowlight.listLanguages()
const nodes = language && languages.includes(language)
? getHighlightNodes(lowlight.highlight(language, block.node.textContent))