--- interface Props { tag: string; index: number; className?: string; } const { tag, index, className = '' } = Astro.props; // Color mapping based on tag content for variety const getColorClass = (tag: string) => { const tagLower = tag.toLowerCase(); if (tagLower.includes('meta') || tagLower.includes('learning')) return 'highlighter-yellow'; if (tagLower.includes('debug') || tagLower.includes('tools')) return 'highlighter-pink'; if (tagLower.includes('ai') || tagLower.includes('automation')) return 'highlighter-blue'; if (tagLower.includes('script') || tagLower.includes('code')) return 'highlighter-green'; return 'highlighter-yellow'; // default }; const colorClass = getColorClass(tag); --- {tag}