--- name: MoinMoin fileTypes: - moinmoin scopeName: text.moinmoin repository: inline: patterns: - name: markup.raw.block.moinmoin captures: "0": name: punctuation.definition.raw.moinmoin begin: \{{3}(?!.*\}{3}) end: \}{3} - name: markup.raw.inline.moinmoin captures: "1": name: punctuation.definition.raw.moinmoin "2": name: punctuation.definition.raw.moinmoin "3": name: punctuation.definition.raw.moinmoin "4": name: punctuation.definition.raw.moinmoin match: (`)[^`]*(`)|({{{).*?(}}}) - captures: "0": name: punctuation.definition.italic.moinmoin begin: "'{2}(?='{3}[^']*'{3})" contentName: markup.italic.moinmoin end: "'{2}(?!')|'{2}(?='{3})" patterns: - include: "#inline" - captures: "0": name: punctuation.definition.bold.moinmoin begin: "'{3}" contentName: markup.bold.moinmoin end: "'{3}" patterns: - include: "#inline" - captures: "0": name: punctuation.definition.italic.moinmoin begin: "'{2}" contentName: markup.italic.moinmoin end: "'{2}(?!')|'{2}(?='{3})" patterns: - include: "#inline" - captures: "0": name: punctuation.definition.underline.moinmoin begin: __ contentName: markup.underline.moinmoin end: __ patterns: - include: "#inline" - name: markup.underline.link.moinmoin match: (?