Update markdown to 0.37.0 (#2516)

This commit is contained in:
Secozzi
2025-10-05 07:36:13 +00:00
committed by GitHub
parent 5236d003d2
commit 27a4f6f45c
2 changed files with 1 additions and 6 deletions

View File

@@ -102,13 +102,9 @@ private fun getMarkdownColors(): MarkdownColors {
val codeBackground = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.1f) val codeBackground = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.1f)
return DefaultMarkdownColors( return DefaultMarkdownColors(
text = MaterialTheme.colorScheme.onSurface, text = MaterialTheme.colorScheme.onSurface,
codeText = Color.Unspecified,
inlineCodeText = Color.Unspecified,
linkText = Color.Unspecified,
codeBackground = codeBackground, codeBackground = codeBackground,
inlineCodeBackground = codeBackground, inlineCodeBackground = codeBackground,
dividerColor = MaterialTheme.colorScheme.outlineVariant, dividerColor = MaterialTheme.colorScheme.outlineVariant,
tableText = Color.Unspecified,
tableBackground = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.05f), tableBackground = MaterialTheme.colorScheme.onSurface.copy(alpha = 0.05f),
) )
} }
@@ -139,7 +135,6 @@ private fun getMarkdownTypography(): MarkdownTypography {
ordered = MaterialTheme.typography.bodyMedium, ordered = MaterialTheme.typography.bodyMedium,
bullet = MaterialTheme.typography.bodyMedium, bullet = MaterialTheme.typography.bodyMedium,
list = MaterialTheme.typography.bodyMedium, list = MaterialTheme.typography.bodyMedium,
link = link,
textLink = TextLinkStyles(style = link.toSpanStyle()), textLink = TextLinkStyles(style = link.toSpanStyle()),
table = MaterialTheme.typography.bodyMedium, table = MaterialTheme.typography.bodyMedium,
) )

View File

@@ -10,7 +10,7 @@ voyager = "1.1.0-beta03"
spotless = "8.0.0" spotless = "8.0.0"
ktlint-core = "1.7.1" ktlint-core = "1.7.1"
firebase-bom = "34.2.0" firebase-bom = "34.2.0"
markdown = "0.35.0" markdown = "0.37.0"
junit = "5.13.4" junit = "5.13.4"
[libraries] [libraries]