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

https://github.com/highlightjs/highlightjs-hlsl

Highlight.js grammar for HLSL (High-level shader language)
https://github.com/highlightjs/highlightjs-hlsl

Last synced: 8 months ago
JSON representation

Highlight.js grammar for HLSL (High-level shader language)

Awesome Lists containing this project

README

          

# High-level shader language (HLSL) - a language grammar for [highlight.js](https://highlightjs.org/)

## Demo

The below screenshot was captured from the [demo webpage](docs/demo.html).

![Demo](docs/screenshot.png)

## Usage

Simply include the Highlight.js library in your webpage, then load this module.

### Static website or simple usage

Simply load this 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.

```html

hljs.highlightAll();

```

For more details of the usage see [Highlight.js main page](https://github.com/highlightjs/highlight.js#highlightjs).

## Authors

[Stef Levesque](https://github.com/stef-levesque)

## Contribution

Feel free to create issues or (even better) pull requests.

A good starting point for how to build and test your changes locally is [here](https://github.com/highlightjs/highlight.js/blob/master/extra/3RD_PARTY_QUICK_START.md).

## Links

- The official site for the Highlight.js library is .
- The Highlight.js GitHub project:
- Learn more about HLSL: