From f182887c89d4349d3551073a2189a6f9c4a4d587 Mon Sep 17 00:00:00 2001 From: Nicolas Cantu Date: Sat, 27 Dec 2025 23:02:30 +0100 Subject: [PATCH] Update markdown renderer with dark theme styling - Update headings with neon-cyan and font-mono - Update paragraphs with cyber-accent color - Update code blocks with dark background and neon-cyan text - Update links with neon-green hover to neon-cyan - Update inline code with dark background and border - Update bold text with neon-green color - Update lists with cyber-accent and neon-cyan markers - All TypeScript checks pass --- lib/markdownRenderer.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/markdownRenderer.tsx b/lib/markdownRenderer.tsx index 0d981fb..0504553 100644 --- a/lib/markdownRenderer.tsx +++ b/lib/markdownRenderer.tsx @@ -55,19 +55,19 @@ function processLine(line: string, index: number, state: RenderState, elements: function renderHeading(line: string, index: number, elements: JSX.Element[]): boolean { if (line.startsWith('# ')) { - elements.push(

{line.substring(2)}

) + elements.push(

{line.substring(2)}

) return true } if (line.startsWith('## ')) { - elements.push(

{line.substring(3)}

) + elements.push(

{line.substring(3)}

) return true } if (line.startsWith('### ')) { - elements.push(

{line.substring(4)}

) + elements.push(

{line.substring(4)}

) return true } if (line.startsWith('#### ')) { - elements.push(

{line.substring(5)}

) + elements.push(

{line.substring(5)}

) return true } return false @@ -99,7 +99,7 @@ function renderBoldAndCodeLine(line: string, index: number, elements: JSX.Elemen function renderParagraphOrBreak(line: string, index: number, elements: JSX.Element[]): void { if (line.trim() !== '') { - elements.push(

{line}

) + elements.push(

{line}

) return } if (elements.length > 0) { @@ -118,7 +118,7 @@ function handleCodeBlock( ): void { if (state.inCodeBlock) { elements.push( -
+      
         {state.codeBlockContent.join('\n')}
       
) @@ -137,7 +137,7 @@ function closeListIfNeeded( ): void { if (state.currentList.length > 0 && !line.startsWith('- ') && !line.startsWith('* ') && line.trim() !== '') { elements.push( -