@octanejs/syntax-highlighter 0.0.14 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,6 +4,13 @@ The Octane binding for `react-syntax-highlighter@16.1.1`. It preserves the
|
|
|
4
4
|
default, Light, Prism, async, language, style, renderer, and deep-import
|
|
5
5
|
surfaces without adding React to the runtime graph.
|
|
6
6
|
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @octanejs/syntax-highlighter
|
|
11
|
+
pnpm add @octanejs/syntax-highlighter
|
|
12
|
+
```
|
|
13
|
+
|
|
7
14
|
```tsrx
|
|
8
15
|
import { Prism } from '@octanejs/syntax-highlighter';
|
|
9
16
|
import vscDarkPlus from '@octanejs/syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/syntax-highlighter",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"UPSTREAM.md"
|
|
34
34
|
],
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"octane": "0.1.
|
|
36
|
+
"octane": "0.1.50"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"highlight.js": "^10.4.1",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"react-upstream": "npm:react@15.7.0",
|
|
69
69
|
"vite": "^8.1.5",
|
|
70
70
|
"vitest": "^4.1.10",
|
|
71
|
-
"octane": "0.1.
|
|
71
|
+
"octane": "0.1.50"
|
|
72
72
|
},
|
|
73
73
|
"main": "./src/index.js",
|
|
74
74
|
"module": "./src/index.js",
|