l0bsterssg

node.js static responsive blog post generator
Log | Files | Refs | README

clojure-repl.js (492B)


      1 /*
      2 Language: Clojure REPL
      3 Description: Clojure REPL sessions
      4 Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
      5 Requires: clojure.js
      6 Website: https://clojure.org
      7 Category: lisp
      8 */
      9 
     10 /** @type LanguageFn */
     11 function clojureRepl(hljs) {
     12   return {
     13     name: 'Clojure REPL',
     14     contains: [
     15       {
     16         className: 'meta',
     17         begin: /^([\w.-]+|\s*#_)?=>/,
     18         starts: {
     19           end: /$/,
     20           subLanguage: 'clojure'
     21         }
     22       }
     23     ]
     24   }
     25 }
     26 
     27 module.exports = clojureRepl;