CommonMarkFlavourDescriptor

fun CommonMarkFlavourDescriptor(useSafeLinks: Boolean = true, absolutizeAnchorLinks: Boolean = false)

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