Update markdown to 0.33.0 and tweak visuals (#2024)

- Update markdown to 0.33.0
- Use github flavour for github changelog
- Fix bullet list alignment
This commit is contained in:
Secozzi
2025-04-19 18:13:05 +00:00
committed by GitHub
parent f6617a7a22
commit e2915a1f69
4 changed files with 25 additions and 6 deletions
@@ -17,6 +17,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.PreviewLightDark
import eu.kanade.presentation.manga.components.MarkdownRender
import eu.kanade.presentation.theme.TachiyomiPreviewTheme
import org.intellij.markdown.flavours.gfm.GFMFlavourDescriptor
import tachiyomi.i18n.MR
import tachiyomi.presentation.core.components.material.padding
import tachiyomi.presentation.core.i18n.stringResource
@@ -44,7 +45,10 @@ fun NewUpdateScreen(
.fillMaxWidth()
.padding(vertical = MaterialTheme.padding.large),
) {
MarkdownRender(content = changelogInfo)
MarkdownRender(
content = changelogInfo,
flavour = GFMFlavourDescriptor(),
)
TextButton(
onClick = onOpenInBrowser,