mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 11:36:23 +00:00
fix: remove extra console log
This commit is contained in:
parent
d7d5d8253c
commit
129e0c60a9
1 changed files with 0 additions and 1 deletions
|
@ -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>`,
|
||||||
|
|
Loading…
Reference in a new issue