Package-level declarations
Contains all style-related classes for MarkdownDocument
.
Types
Link copied to clipboard
data class BlockQuoteStyle(val background: Color, val shape: Shape, val barWidth: Dp, val barColor: Color, val barShape: Shape, val innerPadding: PaddingValues)
Describes how a Markdown block quote should appear.
Link copied to clipboard
data class CodeBlockStyle(val background: Color, val shape: Shape, val innerPadding: PaddingValues = PaddingValues())
Describes how a Markdown code block should appear.
Link copied to clipboard
Describes how a Markdown table should appear.
Link copied to clipboard
data class TextStyleModifiers(val bold: (TextStyle) -> TextStyle, val italics: (TextStyle) -> TextStyle, val strikethrough: (TextStyle) -> TextStyle, val link: (TextStyle) -> TextStyle, val code: (TextStyle) -> TextStyle)
Provides functions to modify a TextStyle, producing a style for a particular text format. It is recommended to modify the provided TextStyle, which may already be stylized for other formatting.
Link copied to clipboard
data class TextStyles(val textStyle: TextStyle, val headline1: TextStyle, val headline2: TextStyle, val headline3: TextStyle, val headline4: TextStyle, val headline5: TextStyle, val headline6: TextStyle)
Describes the base set of text styles that can be rendered in the Markdown document. For additional formatting, see TextStyleModifiers.
Link copied to clipboard
Describes the size of an element rendered inline with text.