Common Mark Flavour Descriptor
open class CommonMarkFlavourDescriptor(useSafeLinks: Boolean, absolutizeAnchorLinks: Boolean) : MarkdownFlavourDescriptor
Content copied to clipboard
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
Constructors
CommonMarkFlavourDescriptor
Link copied to clipboard
fun CommonMarkFlavourDescriptor(useSafeLinks: Boolean = true, absolutizeAnchorLinks: Boolean = false)
Content copied to clipboard
true if all rendered links should be checked for XSS and false otherwise.Functions
createHtmlGeneratingProviders
Link copied to clipboard
open override fun createHtmlGeneratingProviders(linkMap: LinkMap, baseURI: URI?): Map<IElementType, GeneratingProvider>
Content copied to clipboard
createInlinesLexer
Link copied to clipboard
Properties
Inheritors
GFMFlavourDescriptor
Link copied to clipboard