https://github.com/teradata/highlightjs-teradata-sql
Highlight.js language definition for Teradata SQL
https://github.com/teradata/highlightjs-teradata-sql
Last synced: about 1 year ago
JSON representation
Highlight.js language definition for Teradata SQL
- Host: GitHub
- URL: https://github.com/teradata/highlightjs-teradata-sql
- Owner: Teradata
- License: apache-2.0
- Created: 2022-02-04T00:19:34.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-04T04:01:42.000Z (about 4 years ago)
- Last Synced: 2025-04-13T09:14:16.353Z (about 1 year ago)
- Language: JavaScript
- Size: 24.4 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# highlightjs-teradata-sql
Highlight.js language definition for Teradata SQL.
For more about highlight.js, see https://highlightjs.org/.
For more about Teradata, see https://teradata.com/
## Usage
Include the `highlight.js` script in your webpage or node app, load up this module and apply it to `hljs`.
### Website
If you're not using a build system and just want to embed this in your webpage:
```html
hljs.registerLanguage('teradata-sql', window.hljsDefineTeradataSql);
hljs.initHighlightingOnLoad();
```
### Node.js
If you're using webpack / rollup / browserify / node:
```javascript
var hljs = require('highlightjs');
var hljsDefineTeradataSql = require('highlightjs-teradata-sql');
hljsDefineTeradataSql(hljs);
hljs.initHighlightingOnLoad();
```