Package-level declarations

Types

Link copied to clipboard
class GFMConstraints(indents: IntArray, val types: CharArray, val isExplicit: BooleanArray, val charsEaten: Int, isCheckbox: Boolean) : CommonMarkdownConstraints
Link copied to clipboard
Link copied to clipboard
open class GFMFlavourDescriptor(useSafeLinks: Boolean = true, absolutizeAnchorLinks: Boolean = false, makeHttpsAutoLinks: Boolean = false) : CommonMarkFlavourDescriptor

GitHub Markdown spec based flavour, to be used as a base for other flavours.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A > at the start of a GFM table cell is lexed as a MarkdownTokenTypes.BLOCK_QUOTE marker token, but block quotes are not allowed inside table cells. HtmlGenerator.leafText blanks out block-quote marker tokens, so without special handling the > would disappear from the rendered cell. Inside a table cell we render the marker as literal text; anywhere else we keep the default behaviour of dropping the marker.

Link copied to clipboard

Special version of org.intellij.markdown.flavours.commonmark.CommonMarkFlavourDescriptor.CodeSpanGeneratingProvider, that will correctly escape table pipes if the code span is inside a table cell.