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

https://github.com/highlightjs/highlightjs-4d


https://github.com/highlightjs/highlightjs-4d

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# highlightjs-4d

![version](https://badgen.net/npm/v/highlightjs-4d)

## Description

4d - a language grammar for highlightjs

### Static website or simple usage

```html

hljs.highlightAll();

```

### Using directly from the UNPKG CDN

```html

```

- More info:

### With Node or another build system

If you're using Node / Webpack / Rollup / Browserify, etc, simply require the language module, then register it with Highlight.js.

```javascript
var hljs = require('highlightjs');
var hljs4d = require('highlightjs-4d');

hljs.registerLanguage("4d", hljs4d);
hljs.highlightAll();
```