File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -429,15 +429,15 @@ const nodes: Config["nodes"] = {
429429 let src = node .attributes .src ;
430430
431431 // Use base path if passed as variable
432- const basePath = config .variables .basePath || ' ' ;
432+ const basePath = config .variables .basePath || " " ;
433433
434434 // Rewrite relative paths to absolute
435- if (src .startsWith (' ./ ' ) || src .startsWith (' ../' )) {
435+ if (src .startsWith (" ./ " ) || src .startsWith (" ../" )) {
436436 src = path .posix .join (basePath , src );
437437 }
438438
439439 // Return a new node with modified src attribute
440- return new Markdoc .Tag (' EnhancedImage' , {
440+ return new Markdoc .Tag (" EnhancedImage" , {
441441 ... node .attributes ,
442442 src ,
443443 });
@@ -653,7 +653,7 @@ export const load = async () => {
653653 slug: module .slug ,
654654 frontmatter: module .frontmatter ,
655655 };
656- }),
656+ })
657657 );
658658 return { content };
659659};
You can’t perform that action at this time.
0 commit comments