Type alias HighlightRule

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

  • defaultToken: string

Type declaration

  • include: string

Type declaration

  • todo: string

Type declaration

  • Optional caseInsensitive?: boolean
  • Optional comment?: string
  • Optional next?: string
  • Optional push?: string
  • regex: string | RegExp
  • token: string | string[] | ((value) => string)

Generated using TypeDoc