first commit

This commit is contained in:
2026-08-24 13:52:16 -04:00
commit 429595c5a0
526 changed files with 27860 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
import{a as e}from"./rolldown-runtime-B0Z9INg1.js";import{i as t,r as n}from"./bundle-mjs-fcjm5Rpo.js";import{i as r,n as i,t as a}from"./chunk-BO2N2NFS-D9GzoDA1.js";var o=e(t(),1),s=n(),c=({code:e,language:t,raw:n,className:c,startLine:l,lineNumbers:u,...d})=>{let{shikiTheme:f}=(0,o.useContext)(r),p=i(),[m,h]=(0,o.useState)(n);return(0,o.useEffect)(()=>{if(!p){h(n);return}let r=p.highlight({code:e,language:t,themes:f},e=>{h(e)});r&&h(r)},[e,t,f,p,n]),(0,s.jsx)(a,{className:c,language:t,lineNumbers:u,result:m,startLine:l,...d})};export{c as HighlightedCodeBlockBody};