0

How can I syntax-highlight an unpopular language that is not supported for lstlisting?

The language is called "Cypher" (for the graph database Neo4j) und I would like to highlight words like "RETURN", "MATCH" or Strings...

I there an easy way to so that?

hardfork
  • 103

1 Answers1

1

The Cypher already has language has a lexer defined in pygments

http://pygments.org/docs/lexers/#pygments.lexers.graph.CypherLexer

So it should work with the minted package which uses pygments to do the language-specific highlighting.

David Carlisle
  • 757,742