mindoc/static/highlight/languages/clojure-repl.js

23 lines
369 B
JavaScript

/*
Language: Clojure REPL
Description: Clojure REPL sessions
Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
Requires: clojure.js
Category: lisp
*/
function(hljs) {
return {
contains: [
{
className: 'meta',
begin: /^([\w.-]+|\s*#_)=>/,
starts: {
end: /$/,
subLanguage: 'clojure'
}
}
]
}
}