HljsTheme typedef

HljsTheme = Map<String, HljsStyle>

A complete highlight.js theme: scope name to style mapping.

The keys are arbitrary scope strings (e.g. 'root', 'keyword', 'title.class'), so a Map<String, HljsStyle> is the appropriate type.

Implementation

typedef HljsTheme = Map<String, HljsStyle>;