getLexerForExtension

fun getLexerForExtension(extension: String): Prettify.CreateSimpleLexer

Get the parser for the extension specified.

Return

the parser

Parameters

extension

the file extension, if null, default parser will be returned