Skip to content

Instantly share code, notes, and snippets.

@sakrut
sakrut / shBrushCypher.js
Last active March 21, 2017 19:21
A Cypher syntax highlighter for SyntaxHighlighter js
// Lange code : 'cypher'
;(function()
{
// CommonJS
SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
function Brush()
{
var funcs = 'abs acos all allShortestPaths any asin atan atan2 avg ceil coalesce collect cos ' +
'cot count degrees e endNode exists exp extract filter floor has haversin head id keys ' +