2 IF transcript syntax highlighting.
7 from pygments.lexer import RegexLexer
8 from pygments.token import Generic, Text
10 class TranscriptLexer(RegexLexer):
15 name = 'Interactive Fiction transcript'
16 aliases = ['transcript']
18 mimetypes = ['text/x-scr', 'application/x-scr']
24 (r'^>', Text, 'command'),
27 (r'.*', Generic.Strong, '#pop'),