GFMFlavourDescriptor

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.

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

makeHttpsAutoLinks

enables use of HTTPS schema for auto links.

Inheritors

Constructors

Link copied to clipboard
constructor(useSafeLinks: Boolean = true, absolutizeAnchorLinks: Boolean = false, makeHttpsAutoLinks: 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