- Reserved words: such as
- Resources (IRI): such as
<Given_Name>, which are currently recognized as strings.</li>
- Quoted string literals: such as
- Varaibles: such as
Use the brush name
sparql to highlight SPARQL code blocks. A sample code block follows.
The source code of this brush is hosted on GitHub. To install, download and unzip in the
lang directory of Crayon.
cd wordpress/wp-content/plugins/crayon/lang wget https://github.com/wangchj/crayon-highlighter-sparql-brush/archive/master.zip unzip crayon-highlighter-sparql-brush-master.zip mv crayon-highlighter-sparql-brush-master sparql
Alternatively, you may also clone the git repository.