MatchfixEntry: BaseEntry & {
    closeTrigger: Delimiter | LatexToken[];
    kind: "matchfix";
    openTrigger: Delimiter | LatexToken[];
    parse?: MatchfixParseHandler;
}

Type declaration

  • closeTrigger: Delimiter | LatexToken[]
  • kind: "matchfix"
  • openTrigger: Delimiter | LatexToken[]

    If kind is 'matchfix': the openTrigger and closeTrigger properties are required.

  • Optionalparse?: MatchfixParseHandler

    When invoked, the parser is pointing after the close delimiter. The argument of the handler is the body, i.e. the content between the open delimiter and the close delimiter.