import{withPathPrefix as s,getPathPrefix as n}from"@redocly/theme/core/utils";import{getNodeAttribute as a,setNodeAttributeValue as h}from"../../../../shared/markdoc.js";import{resolveLink as l}from"./resolve-link.js";async function c(r,e,o,f){await l(r,e,o,f);const i=n();if(!i)return;const t=a(r,e);t&&t!=="#"&&h(r,e,t.startsWith("#")?i+t:s(t))}export{c as resolveNativeMdLink};
