fix: remove extra console log

This commit is contained in:
Jacky Zhao 2024-01-17 09:46:01 -08:00
parent d7d5d8253c
commit 129e0c60a9

View file

@ -358,7 +358,6 @@ export const ObsidianFlavoredMarkdown: QuartzTransformerPlugin<Partial<Options>
return (tree: Root, _file) => { return (tree: Root, _file) => {
visit(tree, "image", (node, index, parent) => { visit(tree, "image", (node, index, parent) => {
if (parent && index != undefined && videoExtensionRegex.test(node.url)) { if (parent && index != undefined && videoExtensionRegex.test(node.url)) {
console.log("replacin")
const newNode: Html = { const newNode: Html = {
type: "html", type: "html",
value: `<video controls src="${node.url}"></video>`, value: `<video controls src="${node.url}"></video>`,