remove unnecesary console log

This commit is contained in:
Daniel Bulant 2023-03-04 19:44:09 +01:00
parent d021622432
commit 339b229003

View file

@ -2,7 +2,6 @@ import { visit } from "unist-util-visit"
export function remarkUnescapeHighlight() {
return (tree, file) => {
console.log(1, file.filename, tree);
visit(tree, ["code"], (node) => {
node.value = node.value
.replace(/{/g, "{")
@ -22,7 +21,6 @@ export function remarkUnescapeHighlight() {
export function remarkEscapeInlineCode() {
return (tree, file) => {
console.log(2, file.filename, tree);
visit(tree, ["inlineCode"], (node) => {
node.value = node.value
.replace(/{/g, "{")
@ -61,7 +59,6 @@ export function rehypeEscapeHighlight() {
}
return (tree, file) => {
console.log(3, file.filename, tree);
visit(tree);
}
}