remove debug loggin for rehype plugin
This commit is contained in:
parent
53a8af8d20
commit
ef884181e8
@ -21,7 +21,6 @@ export function mdHas (md, test) {
|
|||||||
|
|
||||||
export function rehypeInlineCodeProperty () {
|
export function rehypeInlineCodeProperty () {
|
||||||
return function (tree) {
|
return function (tree) {
|
||||||
console.log(tree)
|
|
||||||
visit(tree, { tagName: 'code' }, function (node, index, parent) {
|
visit(tree, { tagName: 'code' }, function (node, index, parent) {
|
||||||
if (parent && parent.tagName === 'pre') {
|
if (parent && parent.tagName === 'pre') {
|
||||||
node.properties.inline = false
|
node.properties.inline = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user