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