File tree 4 files changed +8
-7
lines changed
4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ Check out the [examples](https://wenyan-lang.github.io/highlight)
6
6
7
7
| Format | File |
8
8
| --- | --- |
9
- | [ CodeMirror] ( https://codemirror.net/mode/ ) | [ codemirror.js] ( ./codemirror.json ) |
10
- | [ Prism] ( https://prismjs.com/extending.html ) | [ prism.js] ( ./prism.js ) |
11
- | [ TextMate Grammar] ( https://macromates.com/manual/en/language_grammars ) | [ tmGrammar. json] ( ./tmGrammar .json ) |
9
+ | [ CodeMirror] ( https://codemirror.net/mode/ ) | [ wenyan. codemirror.js] ( ./wenyan. codemirror.json ) |
10
+ | [ Prism] ( https://prismjs.com/extending.html ) | [ wenyan. prism.js] ( ./wenyan. prism.js ) |
11
+ | [ TextMate Grammar] ( https://macromates.com/manual/en/language_grammars ) | [ wenyan.tmLanguage. json] ( ./wenyan.tmLanguage .json ) |
12
12
13
13
### Highlight Themes
14
14
@@ -27,7 +27,7 @@ Check out the [examples](https://wenyan-lang.github.io/highlight)
27
27
28
28
``` html
29
29
<!-- Highlighter-->
30
- <script src =' https://cdn.jsdelivr.net/gh/wenyan-lang/highlight/codemirror.js' ></script >
30
+ <script src =' https://cdn.jsdelivr.net/gh/wenyan-lang/highlight/wenyan. codemirror.js' ></script >
31
31
<!-- Theme-->
32
32
<link rel =' stylesheet' type =' text/css' href =' https://cdn.jsdelivr.net/gh/wenyan-lang/highlight/wenyan-light.codemirror.css' >
33
33
```
@@ -39,11 +39,11 @@ npm i @wenyan/highlight
39
39
```
40
40
41
41
``` js
42
- require (' @wenyan/highlight/codemirror' )
42
+ require (' @wenyan/highlight/wenyan. codemirror' )
43
43
44
44
// or
45
45
46
- import ' @wenyan/highlight/codemirror'
46
+ import ' @wenyan/highlight/wenyan. codemirror'
47
47
```
48
48
49
49
### Build
@@ -52,4 +52,4 @@ The syntax highlighter are generated from the language syntax definition. Rebuil
52
52
53
53
``` bash
54
54
npm run build
55
- ```
55
+ ```
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json" ,
3
3
"scopeName" : " source.wenyan" ,
4
+ "name" : " wenyan" ,
4
5
"patterns" : [
5
6
{
6
7
"include" : " #keywords"
You can’t perform that action at this time.
0 commit comments