CommonMarkFlavourDescriptor

open class CommonMarkFlavourDescriptor(useSafeLinks: Boolean = true, absolutizeAnchorLinks: Boolean = false) : MarkdownFlavourDescriptor

CommonMark spec based flavour, to be used as a base for other flavours

Parameters

useSafeLinks

true if all rendered links should be checked for XSS and false otherwise. See makeXssSafeDestination

absolutizeAnchorLinks

true if anchor links (e.g. #foo) should be resolved against baseURI and false otherwise

Inheritors

Constructors

Link copied to clipboard
constructor(useSafeLinks: Boolean = true, absolutizeAnchorLinks: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun createInlinesLexer(): MarkdownLexer