Skip to content

Commit

Permalink
Temporary webppl keyword style (bold)
Browse files Browse the repository at this point in the history
  • Loading branch information
longouyang committed Sep 22, 2016
1 parent 52ee56d commit b3e64d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/component.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@
color: black;
background-color: #ECAAB9;
}

/* wppl keywords */

.cm-wppl {
font-weight: bold
}

/* -- folding */
.wpedit .CodeMirror-foldmarker {
background-color: #ffffcc;
Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ var CodeMirrorComponent = require('react-codemirror');
var Folding = require('./folding')(CodeMirror);
require('codemirror/addon/edit/matchbrackets');
require('codemirror/addon/edit/closebrackets');
require('codemirror/mode/javascript/javascript');
//require('codemirror/mode/javascript/javascript');
require('./wppl-mode.js')
require('codemirror/addon/comment/comment'); // installs toggleComment

var wait = function(ms, f) {
Expand Down

0 comments on commit b3e64d7

Please sign in to comment.