interface HighlightRules {
    addRules(rules, prefix?): void;
    createKeywordMapper(map, defaultToken?, ignoreCase?, splitChar?): KeywordMapper;
    embedRules(rules, prefix, escapeRules?, append?): void;
    getEmbeds(): string[];
    getRules(): HighlightRulesMap;
    normalizeRules(): void;
}

Methods

  • Parameters

    • map: Record<string, string>
    • Optional defaultToken: string
    • Optional ignoreCase: boolean
    • Optional splitChar: string

    Returns KeywordMapper

  • Parameters

    Returns void

  • Returns string[]

Generated using TypeDoc