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

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

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();
```