discourse/vendor/assets/javascripts/highlightjs/languages/node-repl.min.js

4 lines
243 B
JavaScript

hljs.registerLanguage("node-repl",(()=>{"use strict";return e=>({
name:"Node REPL",contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",
subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{
begin:/^\.\.\.(?=[ ]|$)/}]}]})})());