Package-level declarations

Types

Link copied to clipboard
interface Alert : MarkdownBlock.Extension
Link copied to clipboard
class AlertStyling(val note: NoteAlertStyling, val tip: TipAlertStyling, val important: ImportantAlertStyling, val warning: WarningAlertStyling, val caution: CautionAlertStyling)
Link copied to clipboard
Link copied to clipboard
class CautionAlertStyling(val padding: PaddingValues, val lineWidth: Dp, val lineColor: Color, val pathEffect: PathEffect?, val strokeCap: StrokeCap, val titleTextStyle: TextStyle, val titleIconPath: String?, val titleIconTint: Color, val textColor: Color) : BaseAlertStyling
Link copied to clipboard
class GitHubAlertBlockRenderer(styling: AlertStyling, rootStyling: MarkdownStyling) : MarkdownBlockRendererExtension
Link copied to clipboard
object GitHubAlertProcessorExtension : MarkdownProcessorExtension
Link copied to clipboard
class GitHubAlertRendererExtension(alertStyling: AlertStyling, rootStyling: MarkdownStyling) : MarkdownRendererExtension
Link copied to clipboard
class ImportantAlertStyling(val padding: PaddingValues, val lineWidth: Dp, val lineColor: Color, val pathEffect: PathEffect?, val strokeCap: StrokeCap, val titleTextStyle: TextStyle, val titleIconPath: String?, val titleIconTint: Color, val textColor: Color) : BaseAlertStyling
Link copied to clipboard
class NoteAlertStyling(val padding: PaddingValues, val lineWidth: Dp, val lineColor: Color, val pathEffect: PathEffect?, val strokeCap: StrokeCap, val titleTextStyle: TextStyle, val titleIconPath: String?, val titleIconTint: Color, val textColor: Color) : BaseAlertStyling
Link copied to clipboard
class TipAlertStyling(val padding: PaddingValues, val lineWidth: Dp, val lineColor: Color, val pathEffect: PathEffect?, val strokeCap: StrokeCap, val titleTextStyle: TextStyle, val titleIconPath: String?, val titleIconTint: Color, val textColor: Color) : BaseAlertStyling
Link copied to clipboard
class WarningAlertStyling(val padding: PaddingValues, val lineWidth: Dp, val lineColor: Color, val pathEffect: PathEffect?, val strokeCap: StrokeCap, val titleTextStyle: TextStyle, val titleIconPath: String?, val titleIconTint: Color, val textColor: Color) : BaseAlertStyling

Functions

Link copied to clipboard
fun AlertStyling.Companion.dark(note: NoteAlertStyling = NoteAlertStyling.dark(), tip: TipAlertStyling = TipAlertStyling.dark(), important: ImportantAlertStyling = ImportantAlertStyling.dark(), warning: WarningAlertStyling = WarningAlertStyling.dark(), caution: CautionAlertStyling = CautionAlertStyling.dark()): AlertStyling
fun CautionAlertStyling.Companion.dark(padding: PaddingValues = PaddingValues(horizontal = 16.dp, vertical = 8.dp), lineWidth: Dp = 3.dp, lineColor: Color = Color(0xFFDA3633), pathEffect: PathEffect? = null, strokeCap: StrokeCap = StrokeCap.Square, titleTextStyle: TextStyle = TextStyle(fontWeight = FontWeight.Medium, color = lineColor), titleIconPath: String? = "icons/markdown/extensions/github/alerts/alert-caution.svg", titleIconTint: Color = lineColor, textColor: Color = Color.Unspecified): CautionAlertStyling
fun ImportantAlertStyling.Companion.dark(padding: PaddingValues = PaddingValues(horizontal = 16.dp, vertical = 8.dp), lineWidth: Dp = 3.dp, lineColor: Color = Color(0xFF8957E5), pathEffect: PathEffect? = null, strokeCap: StrokeCap = StrokeCap.Square, titleTextStyle: TextStyle = TextStyle(fontWeight = FontWeight.Medium, color = lineColor), titleIconPath: String? = "icons/markdown/extensions/github/alerts/alert-important.svg", titleIconTint: Color = lineColor, textColor: Color = Color.Unspecified): ImportantAlertStyling
fun NoteAlertStyling.Companion.dark(padding: PaddingValues = PaddingValues(horizontal = 16.dp, vertical = 8.dp), lineWidth: Dp = 3.dp, lineColor: Color = Color(0xFF1F6EEB), pathEffect: PathEffect? = null, strokeCap: StrokeCap = StrokeCap.Square, titleTextStyle: TextStyle = TextStyle(fontWeight = FontWeight.Medium, color = lineColor), titleIconPath: String? = "icons/markdown/extensions/github/alerts/alert-note.svg", titleIconTint: Color = lineColor, textColor: Color = Color.Unspecified): NoteAlertStyling
fun TipAlertStyling.Companion.dark(padding: PaddingValues = PaddingValues(horizontal = 16.dp, vertical = 8.dp), lineWidth: Dp = 3.dp, lineColor: Color = Color(0xFF238636), pathEffect: PathEffect? = null, strokeCap: StrokeCap = StrokeCap.Square, titleTextStyle: TextStyle = TextStyle(fontWeight = FontWeight.Medium, color = lineColor), titleIconPath: String? = "icons/markdown/extensions/github/alerts/alert-tip.svg", titleIconTint: Color = lineColor, textColor: Color = Color.Unspecified): TipAlertStyling
fun WarningAlertStyling.Companion.dark(padding: PaddingValues = PaddingValues(horizontal = 16.dp, vertical = 8.dp), lineWidth: Dp = 3.dp, lineColor: Color = Color(0xFF9E6A02), pathEffect: PathEffect? = null, strokeCap: StrokeCap = StrokeCap.Square, titleTextStyle: TextStyle = TextStyle(fontWeight = FontWeight.Medium, color = lineColor), titleIconPath: String? = "icons/markdown/extensions/github/alerts/alert-warning.svg", titleIconTint: Color = lineColor, textColor: Color = Color.Unspecified): WarningAlertStyling
Link copied to clipboard
fun AlertStyling.Companion.light(note: NoteAlertStyling = NoteAlertStyling.light(), tip: TipAlertStyling = TipAlertStyling.light(), important: ImportantAlertStyling = ImportantAlertStyling.light(), warning: WarningAlertStyling = WarningAlertStyling.light(), caution: CautionAlertStyling = CautionAlertStyling.light()): AlertStyling
fun CautionAlertStyling.Companion.light(padding: PaddingValues = PaddingValues(horizontal = 16.dp, vertical = 8.dp), lineWidth: Dp = 3.dp, lineColor: Color = Color(0xFFCF222E), pathEffect: PathEffect? = null, strokeCap: StrokeCap = StrokeCap.Square, titleTextStyle: TextStyle = TextStyle(fontWeight = FontWeight.Medium, color = lineColor), titleIconPath: String? = "icons/markdown/extensions/github/alerts/alert-caution.svg", titleIconTint: Color = lineColor, textColor: Color = Color.Unspecified): CautionAlertStyling
fun ImportantAlertStyling.Companion.light(padding: PaddingValues = PaddingValues(horizontal = 16.dp, vertical = 8.dp), lineWidth: Dp = 3.dp, lineColor: Color = Color(0xFF8250DF), pathEffect: PathEffect? = null, strokeCap: StrokeCap = StrokeCap.Square, titleTextStyle: TextStyle = TextStyle(fontWeight = FontWeight.Medium, color = lineColor), titleIconPath: String? = "icons/markdown/extensions/github/alerts/alert-important.svg", titleIconTint: Color = lineColor, textColor: Color = Color.Unspecified): ImportantAlertStyling
fun NoteAlertStyling.Companion.light(padding: PaddingValues = PaddingValues(horizontal = 16.dp, vertical = 8.dp), lineWidth: Dp = 3.dp, lineColor: Color = Color(0xFF0969DA), pathEffect: PathEffect? = null, strokeCap: StrokeCap = StrokeCap.Square, titleTextStyle: TextStyle = TextStyle(fontWeight = FontWeight.Medium, color = lineColor), titleIconPath: String? = "icons/markdown/extensions/github/alerts/alert-note.svg", titleIconTint: Color = lineColor, textColor: Color = Color.Unspecified): NoteAlertStyling
fun TipAlertStyling.Companion.light(padding: PaddingValues = PaddingValues(horizontal = 16.dp, vertical = 8.dp), lineWidth: Dp = 3.dp, lineColor: Color = Color(0xFF1F883D), pathEffect: PathEffect? = null, strokeCap: StrokeCap = StrokeCap.Square, titleTextStyle: TextStyle = TextStyle(fontWeight = FontWeight.Medium, color = lineColor), titleIconPath: String? = "icons/markdown/extensions/github/alerts/alert-tip.svg", titleIconTint: Color = lineColor, textColor: Color = Color.Unspecified): TipAlertStyling
fun WarningAlertStyling.Companion.light(padding: PaddingValues = PaddingValues(horizontal = 16.dp, vertical = 8.dp), lineWidth: Dp = 3.dp, lineColor: Color = Color(0xFF9A6601), pathEffect: PathEffect? = null, strokeCap: StrokeCap = StrokeCap.Square, titleTextStyle: TextStyle = TextStyle(fontWeight = FontWeight.Medium, color = lineColor), titleIconPath: String? = "icons/markdown/extensions/github/alerts/alert-warning.svg", titleIconTint: Color = lineColor, textColor: Color = Color.Unspecified): WarningAlertStyling