Package-level declarations

Types

Link copied to clipboard

Based on: https://github.com/JetBrains/markdown/blob/master/src/commonMain/kotlin/org/intellij/markdown/html/entities/EntityConverter.kt Removed HTML focused escaping by https://github.com/mikepenz/multiplatform-markdown-renderer/pull/222

Link copied to clipboard

Properties

Link copied to clipboard

Extension property to get the SpanStyle for inline code text. This style is defined by the inlineCode typography and the current markdown colors.

Link copied to clipboard

Tag used to indicate an image url for inline content. Required for rendering.

Functions

Link copied to clipboard
fun ASTNode.getUnescapedTextInNode(allFileText: CharSequence): String

Extension function for ASTNode that retrieves the unescaped text within the node.

Link copied to clipboard
inline fun LogCompositions(crossinline message: () -> String)

Helper to use when debugging recompositions.

Link copied to clipboard
fun List<ASTNode>.mapAutoLinkToType(targetType: IElementType = MarkdownTokenTypes.TEXT): List<ASTNode>

Extension function to map auto-link nodes to a specified target type.