From eff9e891280ccfcc71659599ef37239df3388354 Mon Sep 17 00:00:00 2001 From: QQ Date: Tue, 17 Nov 2026 08:33:20 +0800 Subject: [PATCH] Import apps/android/src/ui/markdown-helpers.ts --- apps/android/src/ui/markdown-helpers.ts | 141 +++++++++++++++++++----- 1 file changed, 113 insertions(+), 28 deletions(-) diff --git a/apps/android/src/ui/markdown-helpers.ts b/apps/android/src/ui/markdown-helpers.ts index db68645..f918bd4 100644 --- a/apps/android/src/ui/markdown-helpers.ts +++ b/apps/android/src/ui/markdown-helpers.ts @@ -1,6 +1,6 @@ import { StyleSheet } from 'react-native' -import { radius, spacing, typeForDensity } from './theme' -import type { ThemeColors, TypographyDensity } from './theme' +import { radius, resolveChatMetrics, spacing, typeForDensity } from './theme' +import type { ChatAppearance, ThemeColors, TypographyDensity } from './theme' import type { Token } from 'markdown-it' export interface MarkdownNode { @@ -173,53 +173,138 @@ export function headingStyle(tag: string, styles: ReturnType