mirror of
https://github.com/danbulant/design
synced 2026-05-19 04:08:46 +00:00
remove unnecesary console log
This commit is contained in:
parent
d021622432
commit
339b229003
1 changed files with 0 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue