https://github.com/highlightjs/highlightjs-4d
https://github.com/highlightjs/highlightjs-4d
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/highlightjs/highlightjs-4d
- Owner: highlightjs
- License: mit
- Created: 2020-02-06T16:48:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-24T09:39:03.000Z (over 1 year ago)
- Last Synced: 2025-04-06T12:59:13.174Z (3 months ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 9
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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();
```