parse

abstract fun parse(fileExtension: String, content: String): List<ParseResult>

Parse the content and return the parsed result.

Return

the parsed result

Parameters

fileExtension

the file extension of the content, null means not provided

content

the content


abstract fun parse(provider: Prettify.LangProvider, content: String): List<ParseResult>