Moved markdown parsing logic to a separate util file (#20526)

This commit is contained in:
Dev Randalpura
2026-02-27 09:43:18 -08:00
committed by GitHub
parent 7a1f2f3288
commit ec39aa17c2
4 changed files with 219 additions and 212 deletions
@@ -6,7 +6,7 @@
import { describe, it, expect, beforeAll, vi } from 'vitest';
import chalk from 'chalk';
import { parseMarkdownToANSI } from './InlineMarkdownRenderer.js';
import { parseMarkdownToANSI } from './markdownParsingUtils.js';
// Mock the theme to use explicit colors instead of empty strings from the default theme.
// This ensures that ansiColorize actually applies ANSI codes that we can verify.