Package com.mikepenz.markdown

Functions

appendMarkdownChildren
Link copied to clipboard
fun AnnotatedString.Builder.appendMarkdownChildren(content: String, node: ASTNode, colors: Colors)
Code
Link copied to clipboard
@Composable
fun Code(code: String, modifier: Modifier = Modifier)

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

Markdown
Link copied to clipboard
@Composable
fun Markdown(content: String, modifier: Modifier = Modifier, 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.