MarkdownText - Jetpack Compose
- Markdown - HTML - Image - Highlight - Linkfy - Table ## Setup Configure root `build.gradle`: ``` allprojects { repositories { ... maven { url 'https://jitpack.io' } } } ``` Add dependency into `build.gradle`: ```groovy dependencies { implementation 'com.github.jeziellago:compose-markdown:TAG' } ```Supported attributes
Most of the attributes of that a default Text
composable has are also supported by MarkdownText
.
- color
- fontSize
- textAlign
- maxLines
- style (only styling for supported attributes is applied)
The font can be changed by passing a font xml resource as fontResource
parameter.