Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
test
README.md
cypher-original.js
cypher.js
logo.svg
package.json

README.md

logo

Cypher language syntax highlighting plugin for highlight.js

Cypher is a declarative graph query language created by Neo4j for the graph database management system.

For more about the Cypher here:

Getting started

You must add the highlight.js file from highlight.js in your web page or node app, load up this module and apply it to hljs.

If you are not using a build system and just want to embed this in your webpage:

<script type="text/javascript" src="js/highlight.pack.js"></script>
<script type="text/javascript" src="js/cypher.js"></script>
<script type="text/javascript">
    hljs.registerLanguage('cypher', window.hljsDefineCypher);
    hljs.initHighlightingOnLoad();
</script>

If you are using webpack or rollup or browserify or node:

var hljs = require('highlightjs');
var hljsDefineCypher = require('highlightjs-cypher');

hljsDefineCypher(hljs);
hljs.initHighlightingOnLoad();

Licence

© 2019 CC0 1.0 highlight.js

You can’t perform that action at this time.