visionscript-highlight.js lets you highlight VisionScript code in the browser.
To use visionscript-highlight.js, first copy the visionscript-highlight.js file into your project directory. Then, load the script:
<script src="visionscript-highlight.js"></script>The syntax highligher is applied to all elements with the visionscript-code class. For example:
<pre class="visionscript-code">
Load["./cats.png"]
Detect["cat"]
Count[]
Say[]
</pre>This project is licensed under an MIT license.