of

fun of(renderer: NodeRenderer?, context: Context? = null): HtmlIdentifierProvider

Creates an instance of HtmlIdentifierProvider.

Parameters

renderer

renderer that this provider should use to convert nodes to plain text via toPlainText

context

optional context used to disambiguate colliding identifiers