@mavnn/codemirror-lang-ink 0.9.1 → 0.9.2
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 +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
This package implements Ink language support for the
|
|
8
8
|
[CodeMirror](https://codemirror.net/) code editor.
|
|
9
9
|
|
|
10
|
+
You can try out the editor live in a demo Ink project at [VisualInk](https://visualink.mavnn.eu/script/demo).
|
|
11
|
+
|
|
10
12
|
This code is released under an
|
|
11
13
|
[MIT license](https://github.com/mavnn/codemirror-lang-ink/tree/main/LICENSE).
|
|
12
14
|
|
|
@@ -23,3 +25,9 @@ const view = new EditorView({
|
|
|
23
25
|
})
|
|
24
26
|
```
|
|
25
27
|
|
|
28
|
+
## Tests
|
|
29
|
+
|
|
30
|
+
If you find an issue with the grammar (incorrect highlighting boundaries, etc) please include
|
|
31
|
+
the snippet of Ink code that causes the issue in your bug report. As you can see in the
|
|
32
|
+
tests directory, the test suite allows us to directly compare Ink files with the syntax tree
|
|
33
|
+
we expect them to produce.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mavnn/codemirror-lang-ink",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "Ink language support for the CodeMirror code editor",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"pre-gen": "mkdir -p src/generated && lezer-generator src/syntax.grammar -o src/generated/parser",
|