HighlightRule: {
defaultToken: string;
} | {
include: string;
} | {
todo: string;
} | {
caseInsensitive?: boolean;
comment?: string;
next?: string;
push?: string;
regex: string | RegExp;
token: string | string[] | ((value) => string);
}
Type declaration
Optional
caseInsensitive?: boolean
Optional
comment?: string
Optional
next?: string
Optional
push?: string
regex: string | RegExp
token: string | string[] | ((value) => string)