Package-level declarations
Contains all material3-related Markdown Composables.
Functions
Link copied to clipboard
fun m3BlockQuoteStyle(background: <Error class: unknown class> = MaterialTheme.colorScheme.surfaceVariant, shape: <Error class: unknown class> = MaterialTheme.shapes.medium, barWidth: <Error class: unknown class> = 4.dp, barColor: <Error class: unknown class> = MaterialTheme.colorScheme.onSurfaceVariant, barShape: <Error class: unknown class> = RectangleShape, innerPadding: <Error class: unknown class> = PaddingValues(8.dp)): <Error class: unknown class>
Constructs a BlockQuoteStyle using recommended defaults for your Material 3 theme.
Link copied to clipboard
fun m3CodeBlockStyle(background: <Error class: unknown class> = MaterialTheme.colorScheme.surfaceVariant, shape: <Error class: unknown class> = MaterialTheme.shapes.medium, innerPadding: <Error class: unknown class> = PaddingValues(8.dp)): <Error class: unknown class>
Constructs a CodeBlockStyle using recommended defaults for your Material 3 theme.
Link copied to clipboard
fun m3RuleStyle(color: <Error class: unknown class> = MaterialTheme.colorScheme.outlineVariant, shape: <Error class: unknown class> = RectangleShape, thickness: <Error class: unknown class> = Dp.Hairline): <Error class: unknown class>
Constructs a RuleStyle using recommended defaults for your Material 3 theme.
Link copied to clipboard
fun m3TableStyle(cellPadding: <Error class: unknown class> = PaddingValues(8.dp)): <Error class: unknown class>
Constructs a TableStyle using recommended defaults for your Material 3 theme.
Link copied to clipboard
fun m3TextStyleModifiers(linkColor: <Error class: unknown class> = MaterialTheme.colorScheme.primary): <Error class: unknown class>
Constructs a TextStyleModifiers using recommended defaults from your Material 3 theme.
Link copied to clipboard
fun m3TextStyles(textColor: <Error class: unknown class> = LocalContentColor.current, textStyle: <Error class: unknown class> = MaterialTheme.typography.bodyLarge.copy(color = textColor), headline1: <Error class: unknown class> = MaterialTheme.typography.displaySmall.copy(color = textColor), headline2: <Error class: unknown class> = MaterialTheme.typography.headlineLarge.copy(color = textColor), headline3: <Error class: unknown class> = MaterialTheme.typography.headlineMedium.copy(color = textColor), headline4: <Error class: unknown class> = MaterialTheme.typography.headlineSmall.copy(color = textColor), headline5: <Error class: unknown class> = MaterialTheme.typography.titleLarge.copy(color = textColor), headline6: <Error class: unknown class> = MaterialTheme.typography.titleMedium.copy(color = textColor)): <Error class: unknown class>
Constructs a TextStyles using recommended defaults from your Material 3 theme.
Link copied to clipboard
fun MarkdownDocument(markdown: String, modifier: <Error class: unknown class> = Modifier, textStyles: <Error class: unknown class> = m3TextStyles(), textStyleModifiers: <Error class: unknown class> = m3TextStyleModifiers(), blockQuoteStyle: <Error class: unknown class> = m3BlockQuoteStyle(), codeBlockStyle: <Error class: unknown class> = m3CodeBlockStyle(), ruleStyle: <Error class: unknown class> = m3RuleStyle(), tableStyle: <Error class: unknown class> = m3TableStyle(), sectionSpacing: <Error class: unknown class> = textStyles.textStyle.fontSize.toDp(), onLinkClick: (String) -> Unit? = null)
Displays a Markdown document with Material 3 styling.