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)
- Host: GitHub
- URL: https://github.com/highlightjs/highlightjs-hlsl
- Owner: highlightjs
- License: mit
- Created: 2021-02-14T18:06:24.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-08T05:17:24.000Z (over 2 years ago)
- Last Synced: 2025-03-26T08:37:30.110Z (9 months ago)
- Language: JavaScript
- Size: 102 KB
- Stars: 2
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).

## 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: