An open API service indexing awesome lists of open source software.

https://github.com/capjamesg/visionscript-highlight.js

Highlight VisionScript code in HTML documents.
https://github.com/capjamesg/visionscript-highlight.js

visionscript

Last synced: 11 months ago
JSON representation

Highlight VisionScript code in HTML documents.

Awesome Lists containing this project

README

          

![VisionScript logo](https://visionscript.dev/assets/full_logo.svg)

# VisionScript Code Highlighter (JS)

`visionscript-highlight.js` lets you highlight VisionScript code in the browser.

## Install

To use `visionscript-highlight.js`, first copy the `visionscript-highlight.js` file into your project directory. Then, load the script:

```html

```

The syntax highligher is applied to all elements with the `visionscript-code` class. For example:

```html


Load["./cats.png"]
Detect["cat"]
Count[]
Say[]

```

## License

This project is licensed under an [MIT license](LICENSE).