Skip to content
This repository was archived by the owner on Jun 27, 2018. It is now read-only.

Commit 9777ef5

Browse files
committed
Merge pull request #202 from birkenfeld/mir-js-fix
Fix MIR output: add mappings for Pygments styles
2 parents 917eb9f + 0cc63e4 commit 9777ef5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

static/web.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,24 @@
109109
'p': 'ace_punctuation', // Punctuation
110110
's': 'ace_string', // String
111111
'': '', // Text
112+
},
113+
'mir': {
114+
'c': 'ace_comment', // Comment
115+
'cm': 'ace_comment', // Comment.Multiline
116+
'c1': 'ace_comment', // Comment.Single
117+
'k': 'ace_keyword', // Keyword
118+
'kd': 'ace_keyword', // Keyword.Declaration
119+
'kt': 'ace_variable ace_language', // Keyword.Type
120+
'kc': 'ace_boolean', // Keyword.Constant
121+
'na': 'ace_constant ace_language', // Name.Attribute
122+
'nb': 'ace_constant ace_buildin', // Name.Builtin
123+
'nf': 'ace_support ace_function', // Name.Function
124+
'm': 'ace_constant ace_numeric', // Number
125+
'o': 'ace_paren', // Operator
126+
'p': 'ace_punctuation', // Punctuation
127+
's': 'ace_string', // String
128+
'se': 'ace_string', // String.Escape
129+
'': '', // Text
112130
}
113131
};
114132

0 commit comments

Comments
 (0)