Package com.mikepenz.markdown

Functions

Code
Link copied to clipboard
@Composable
fun Code(code: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified)

A composable that receives some source code as String and renders it in the UI.

fetchImage
Link copied to clipboard
@Composable
fun fetchImage(url: String): ImageBitmap?
findChildOfTypeRecursive
Link copied to clipboard
fun ASTNode.findChildOfTypeRecursive(type: IElementType): ASTNode?

Find a child node recursive

loadPicture
Link copied to clipboard
suspend fun loadPicture(url: String): ImageBitmap?
Markdown
Link copied to clipboard
@Composable
fun Markdown(content: String, modifier: Modifier = Modifier.fillMaxSize(), flavour: MarkdownFlavourDescriptor = GFMFlavourDescriptor())

A composable that receives markdown content as String and renders it in the UI.

Properties

TAG_IMAGE_URL
Link copied to clipboard
const val TAG_IMAGE_URL: String

Tag used to indicate an image url for inline content. Required for rendering.

TAG_URL
Link copied to clipboard
const val TAG_URL: String

Tag used to indicate an url for inline content. Required for click handling.