diff --git a/web/app/guides/[slug]/page.tsx b/web/app/guides/[slug]/page.tsx index cad2a64..0a5a2e6 100644 --- a/web/app/guides/[slug]/page.tsx +++ b/web/app/guides/[slug]/page.tsx @@ -38,9 +38,7 @@ export async function generateStaticParams() { } function wrapCodeBlocksWithCopyable(content: string) { - // Reemplazar los bloques de código con el componente CopyableCode const codeBlockRegex = /
([\s\S]*?)<\/code><\/pre>/g
-
   return content.replace(codeBlockRegex, (match, code) => {
     return ``
   })
@@ -51,13 +49,23 @@ export default async function GuidePage({ params }: { params: { slug: string } }
   guideContent = wrapCodeBlocksWithCopyable(guideContent)
 
   return (
-    
-
+
+
) } +