Skip to content

sfz/highlight.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sfz language grammar for highlight.js

LicenseBadge

Usage

Simply load the module after loading highlight.js. You'll use the minified version found in the dist directory. This module is just a CDN build of the language, so it will register itself as the Javascript is loaded.

<script type="text/javascript" src="/path/to/highlight.min.js"></script>
<script type="text/javascript" src="/path/to/sfz.min.js"></script>
<script type="text/javascript">
  hljs.highlightAll();
</script>

License

sfz language grammar for highlight.js is released under the BSD-2-Clause License. See LICENSE file for details.

Links