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