import{aM as c,n as d,c as n,o as t,r,l}from"./entry-1ceb179.js";const p=["id"],u=["href"],k={__name:"ProseH2",props:{id:{type:String,required:!1}},setup(a){const e=a,{headings:o}=c().public.mdc,i=d(()=>e.id&&(typeof o?.anchorLinks=="boolean"&&o?.anchorLinks===!0||typeof o?.anchorLinks=="object"&&o?.anchorLinks?.h2));return(s,f)=>(t(),n("h2",{id:e.id},[e.id&&l(i)?(t(),n("a",{key:0,href:`#${e.id}`},[r(s.$slots,"default")],8,u)):r(s.$slots,"default",{key:1})],8,p))}};export{k as default};
