highlightjs
highlight.js bindings for Nim
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-22 05:29 |
Tags
Installation
nimble install highlightjs
choosenim install highlightjs
git clone https://github.com/Ethosa/highlightjs
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| highlightjs | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/Ethosa/highlightjs |
|---|---|
| Homepage | https://github.com/Ethosa/highlightjs |
| Registry Source | nimble_official |
README
# highlightjs.nim
#### [highlight.js](https://highlightjs.org/) for Nim
#### [API Reference](https://ethosa.github.io/highlightjs/highlightjs.html)
Features
- automatic including library in your HTML (disables with
-d:no_i_hljs)
Flags
| Flag | Description | Default |
|---|---|---|
-d:hljsv="11.9.0" |
Choose other highlight.js version | "11.9.0" |
-d:hljs_theme="tokyo-night-dark" |
Choose highlight.js theme | "default" |
-d:hljs_langs="nim,json,go,python" |
Choose additional languages separated by "," | "nim" |
-d:no_i_hljs |
Disable automatic including cdn library | false |