Parser

interface Parser

The parser for syntax highlight.

Author

Chan Wai Shing @gmail.com>

Functions

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

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

Parse the content and return the parsed result.

Inheritors

Link copied to clipboard