import{getNodeAttribute as t}from"../../../../shared/markdoc.js";import{resolveLink as f}from"./resolve-link.js";import{resolveSvgContent as v}from"./resolve-svg-content.js";async function p(e,i,r,{context:o,actions:n}){const s=t(e,i);s&&(s.endsWith(".svg")?await v(e,i,r,{context:o,actions:n}):await f(e,i,r,{context:o,actions:n}))}export{p as resolveInlineSvgOrImageLink};
