@lotsa/verdant-js 0.7.0 → 0.7.1
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 +2 -2
- package/package.json +1 -1
- package/pkg/verdant_js.wasm +0 -0
package/README.md
CHANGED
|
@@ -15,9 +15,9 @@ import verdant from '@lotsa/verdant-js'
|
|
|
15
15
|
await verdant.init()
|
|
16
16
|
|
|
17
17
|
// load some languages
|
|
18
|
-
await verdant.loadLanguage('node_modules/@lotsa/lang-rust/rust.wasm')
|
|
18
|
+
await verdant.loadLanguage('node_modules/@lotsa/verdant-lang-rust/rust.wasm')
|
|
19
19
|
await verdant.loadLanguage(
|
|
20
|
-
'node_modules/@lotsa/lang-javascript/javascript.wasm',
|
|
20
|
+
'node_modules/@lotsa/verdant-lang-javascript/javascript.wasm',
|
|
21
21
|
)
|
|
22
22
|
|
|
23
23
|
// highlight a piece of code once
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/package.json",
|
|
3
3
|
"name": "@lotsa/verdant-js",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.1",
|
|
5
5
|
"description": "Modern and easy syntax highlighting using tree-sitter",
|
|
6
6
|
"keywords": ["tree-sitter", "highlight", "parsing", "syntax"],
|
|
7
7
|
"homepage": "https://github.com/casualjim/verdant/tree/main/syntastica-js#readme",
|
package/pkg/verdant_js.wasm
CHANGED
|
Binary file
|