module

Highlight::Languages

Constants

COMMON_LANGUAGES = ["xml", "bash", "c", "cpp", "csharp", "css", "markdown", "diff", "ruby", "go", "graphql", "ini", "java", "javascript", "json", "kotlin", "less", "lua", "makefile", "perl", "objectivec", "php", "php-template", "plaintext", "python", "python-repl", "r", "rust", "scss", "shell", "sql", "swift", "yaml", "typescript", "vbnet", "wasm", "erb", "dockerfile"] of String
LANGUAGE_FNS = {} of String => Proc(HLJS, Mode)

Class methods

language_fn(name : String) : Proc(HLJS, Mode) | Nil
Source
register(name : String, fn : Proc(HLJS, Mode))
Source
register_common(hljs : HLJS)
Source

Nested types