Package-level declarations
Functions
Link copied to clipboard
fun MarkdownBlockQuote(content: String, node: ASTNode, style: TextStyle = LocalMarkdownTypography.current.quote)
Link copied to clipboard
fun MarkdownBulletList(content: String, node: ASTNode, style: TextStyle = LocalMarkdownTypography.current.bullet, level: Int = 0)
Link copied to clipboard
fun MarkdownCodeBackground(color: Color, modifier: Modifier = Modifier, shape: Shape = RectangleShape, border: BorderStroke? = null, elevation: Dp = 0.dp, content: @Composable () -> Unit)
Link copied to clipboard
fun MarkdownCodeBlock(content: String, node: ASTNode, block: @Composable (String, String?) -> Unit = { code, _ -> MarkdownCode(code) })
Link copied to clipboard
fun MarkdownCodeFence(content: String, node: ASTNode, block: @Composable (String, String?) -> Unit = { code, _ -> MarkdownCode(code) })
Link copied to clipboard
fun MarkdownDivider(modifier: Modifier = Modifier, color: Color = LocalMarkdownColors.current.dividerColor, thickness: Dp = LocalMarkdownDimens.current.dividerThickness)
Link copied to clipboard
fun MarkdownHeader(content: String, node: ASTNode, style: TextStyle, contentChildType: IElementType = MarkdownTokenTypes.ATX_CONTENT)
Link copied to clipboard
Link copied to clipboard
fun MarkdownListItems(content: String, node: ASTNode, style: TextStyle = LocalMarkdownTypography.current.list, level: Int = 0, item: @Composable (index: Int, child: ASTNode) -> Unit)
Link copied to clipboard
fun MarkdownOrderedList(content: String, node: ASTNode, style: TextStyle = LocalMarkdownTypography.current.ordered, level: Int = 0)
Link copied to clipboard
fun MarkdownParagraph(content: String, node: ASTNode, modifier: Modifier = Modifier, style: TextStyle = LocalMarkdownTypography.current.paragraph)
Link copied to clipboard
fun MarkdownText(content: String, modifier: Modifier = Modifier, style: TextStyle = LocalMarkdownTypography.current.text)
fun MarkdownText(content: AnnotatedString, modifier: Modifier = Modifier, style: TextStyle = LocalMarkdownTypography.current.text, extendedSpans: ExtendedSpans? = LocalMarkdownExtendedSpans.current.extendedSpans?.invoke())
fun MarkdownText(content: AnnotatedString, modifier: Modifier = Modifier, style: TextStyle = LocalMarkdownTypography.current.text, onTextLayout: (TextLayoutResult) -> Unit)