File tree Expand file tree Collapse file tree
android-sample/src/main/java/com/zachklipp/richtext/sample
richtext-commonmark/src/androidMain/kotlin/com/halilibo/richtext/markdown Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -153,6 +153,10 @@ private val sampleMarkdown = """
153153 ##### Header 5
154154 ###### Header 6
155155 ---
156+
157+ ## Full-bleed Image
158+
159+ 
156160
157161 ## Emphasis
158162
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import androidx.compose.ui.unit.dp
1616import coil.annotation.ExperimentalCoilApi
1717import coil.compose.rememberAsyncImagePainter
1818import coil.request.ImageRequest
19+ import coil.size.Size
1920
2021private val DEFAULT_IMAGE_SIZE = 64 .dp
2122
@@ -33,6 +34,7 @@ internal actual fun RemoteImage(
3334 val painter = rememberAsyncImagePainter(
3435 ImageRequest .Builder (LocalContext .current)
3536 .data(data = url)
37+ .size(Size .ORIGINAL )
3638 .crossfade(true )
3739 .build()
3840 )
You can’t perform that action at this time.
0 commit comments