@codingame/monaco-vscode-markdown-math-default-extension 1.85.2 → 1.85.4
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/index.js +35 -30
- package/package.json +2 -2
- package/resources/README.md +5 -0
- package/resources/extension.js +2 -0
- package/resources/extension.js.map +1 -0
- package/resources/icon.png +0 -0
- package/resources/katex.js +271 -0
- package/resources/md-math-block.tmLanguage.json +1 -0
- package/resources/md-math-inline.tmLanguage.json +1 -0
- package/resources/md-math.tmLanguage.json +1 -0
- package/resources/package.json +1 -0
- package/resources/package.nls.json +1 -0
- package/extension.js +0 -19408
- package/extension.js.map +0 -1
- package/md-math-block.tmLanguage.json +0 -85
- package/md-math-inline.tmLanguage.json +0 -79
- package/md-math.tmLanguage.json +0 -107
- package/package.nls.json +0 -6
- /package/{KaTeX_AMS-Regular.woff2 → resources/KaTeX_AMS-Regular.woff2} +0 -0
- /package/{KaTeX_Caligraphic-Bold.woff2 → resources/KaTeX_Caligraphic-Bold.woff2} +0 -0
- /package/{KaTeX_Caligraphic-Regular.woff2 → resources/KaTeX_Caligraphic-Regular.woff2} +0 -0
- /package/{KaTeX_Fraktur-Bold.woff2 → resources/KaTeX_Fraktur-Bold.woff2} +0 -0
- /package/{KaTeX_Fraktur-Regular.woff2 → resources/KaTeX_Fraktur-Regular.woff2} +0 -0
- /package/{KaTeX_Main-Bold.woff2 → resources/KaTeX_Main-Bold.woff2} +0 -0
- /package/{KaTeX_Main-BoldItalic.woff2 → resources/KaTeX_Main-BoldItalic.woff2} +0 -0
- /package/{KaTeX_Main-Italic.woff2 → resources/KaTeX_Main-Italic.woff2} +0 -0
- /package/{KaTeX_Main-Regular.woff2 → resources/KaTeX_Main-Regular.woff2} +0 -0
- /package/{KaTeX_Math-BoldItalic.woff2 → resources/KaTeX_Math-BoldItalic.woff2} +0 -0
- /package/{KaTeX_Math-Italic.woff2 → resources/KaTeX_Math-Italic.woff2} +0 -0
- /package/{KaTeX_SansSerif-Bold.woff2 → resources/KaTeX_SansSerif-Bold.woff2} +0 -0
- /package/{KaTeX_SansSerif-Italic.woff2 → resources/KaTeX_SansSerif-Italic.woff2} +0 -0
- /package/{KaTeX_SansSerif-Regular.woff2 → resources/KaTeX_SansSerif-Regular.woff2} +0 -0
- /package/{KaTeX_Script-Regular.woff2 → resources/KaTeX_Script-Regular.woff2} +0 -0
- /package/{KaTeX_Size1-Regular.woff2 → resources/KaTeX_Size1-Regular.woff2} +0 -0
- /package/{KaTeX_Size2-Regular.woff2 → resources/KaTeX_Size2-Regular.woff2} +0 -0
- /package/{KaTeX_Size3-Regular.woff2 → resources/KaTeX_Size3-Regular.woff2} +0 -0
- /package/{KaTeX_Size4-Regular.woff2 → resources/KaTeX_Size4-Regular.woff2} +0 -0
- /package/{KaTeX_Typewriter-Regular.woff2 → resources/KaTeX_Typewriter-Regular.woff2} +0 -0
- /package/{index.css → resources/index.css} +0 -0
- /package/{katex.min.css → resources/katex.min.css} +0 -0
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"fileTypes": [],
|
|
3
|
-
"injectionSelector": "L:text.html.markdown - (comment, string, meta.paragraph.markdown, markup.math.block.markdown, markup.fenced_code.block.markdown, markup.raw.block.markdown)",
|
|
4
|
-
"patterns": [
|
|
5
|
-
{
|
|
6
|
-
"include": "#double_dollar_math_block"
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
"include": "#single_dollar_math_block"
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
"repository": {
|
|
13
|
-
"double_dollar_math_block": {
|
|
14
|
-
"name": "markup.math.block.markdown",
|
|
15
|
-
"contentName": "meta.embedded.math.markdown",
|
|
16
|
-
"begin": "(?<=^\\s*)(\\${2})(?![^$]*\\${2})",
|
|
17
|
-
"beginCaptures": {
|
|
18
|
-
"1": {
|
|
19
|
-
"name": "punctuation.definition.math.begin.markdown"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"end": "(.*)(\\${2})",
|
|
23
|
-
"endCaptures": {
|
|
24
|
-
"1": {
|
|
25
|
-
"name": "meta.embedded.math.markdown",
|
|
26
|
-
"patterns": [
|
|
27
|
-
{
|
|
28
|
-
"include": "text.html.markdown.math#math"
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"2": {
|
|
33
|
-
"name": "punctuation.definition.math.end.markdown"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"patterns": [
|
|
37
|
-
{
|
|
38
|
-
"begin": "(^|\\G)",
|
|
39
|
-
"while": "(^|\\G)(?!.*(\\${2}))",
|
|
40
|
-
"patterns": [
|
|
41
|
-
{
|
|
42
|
-
"include": "text.html.markdown.math#math"
|
|
43
|
-
}
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
"single_dollar_math_block": {
|
|
49
|
-
"name": "markup.math.block.markdown",
|
|
50
|
-
"contentName": "meta.embedded.math.markdown",
|
|
51
|
-
"begin": "(?<=^\\s*)(\\$)(?![^$]*\\$|\\d)",
|
|
52
|
-
"beginCaptures": {
|
|
53
|
-
"1": {
|
|
54
|
-
"name": "punctuation.definition.math.begin.markdown"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
"end": "(.*)(\\${1})",
|
|
58
|
-
"endCaptures": {
|
|
59
|
-
"1": {
|
|
60
|
-
"name": "meta.embedded.math.markdown",
|
|
61
|
-
"patterns": [
|
|
62
|
-
{
|
|
63
|
-
"include": "text.html.markdown.math#math"
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
"2": {
|
|
68
|
-
"name": "punctuation.definition.math.end.markdown"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"patterns": [
|
|
72
|
-
{
|
|
73
|
-
"begin": "(^|\\G)",
|
|
74
|
-
"while": "(^|\\G)(?!.*(\\${1}))",
|
|
75
|
-
"patterns": [
|
|
76
|
-
{
|
|
77
|
-
"include": "text.html.markdown.math#math"
|
|
78
|
-
}
|
|
79
|
-
]
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"scopeName": "markdown.math.block"
|
|
85
|
-
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"fileTypes": [],
|
|
3
|
-
"injectionSelector": "L:meta.paragraph.markdown - (comment, string, markup.math.inline.markdown, markup.fenced_code.block.markdown)",
|
|
4
|
-
"patterns": [
|
|
5
|
-
{
|
|
6
|
-
"include": "#math_inline_double"
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
"include": "#math_inline_single"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"include": "#math_inline_block"
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
"repository": {
|
|
16
|
-
"math_inline_single": {
|
|
17
|
-
"name": "markup.math.inline.markdown",
|
|
18
|
-
"match": "(?<=\\s|\\W|^)(?<!\\$)(\\$)(.+?)(\\$)(?!\\$)(?=\\s|\\W|$)",
|
|
19
|
-
"captures": {
|
|
20
|
-
"1": {
|
|
21
|
-
"name": "punctuation.definition.math.begin.markdown"
|
|
22
|
-
},
|
|
23
|
-
"2": {
|
|
24
|
-
"name": "meta.embedded.math.markdown",
|
|
25
|
-
"patterns": [
|
|
26
|
-
{
|
|
27
|
-
"include": "text.html.markdown.math#math"
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
"3": {
|
|
32
|
-
"name": "punctuation.definition.math.end.markdown"
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"math_inline_double": {
|
|
37
|
-
"name": "markup.math.inline.markdown",
|
|
38
|
-
"match": "(?<=\\s|\\W|^)(?<!\\$)(\\$\\$)(.+?)(\\$\\$)(?!\\$)(?=\\s|\\W|$)",
|
|
39
|
-
"captures": {
|
|
40
|
-
"1": {
|
|
41
|
-
"name": "punctuation.definition.math.begin.markdown"
|
|
42
|
-
},
|
|
43
|
-
"2": {
|
|
44
|
-
"name": "meta.embedded.math.markdown",
|
|
45
|
-
"patterns": [
|
|
46
|
-
{
|
|
47
|
-
"include": "text.html.markdown.math#math"
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
|
-
"3": {
|
|
52
|
-
"name": "punctuation.definition.math.end.markdown"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"math_inline_block": {
|
|
57
|
-
"name": "markup.math.inline.markdown",
|
|
58
|
-
"contentName": "meta.embedded.math.markdown",
|
|
59
|
-
"begin": "(?<=\\s|^)(\\${2})",
|
|
60
|
-
"beginCaptures": {
|
|
61
|
-
"2": {
|
|
62
|
-
"name": "punctuation.definition.math.begin.markdown"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"end": "(\\${2})(?=\\s|$)",
|
|
66
|
-
"endCaptures": {
|
|
67
|
-
"2": {
|
|
68
|
-
"name": "punctuation.definition.math.end.markdown"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"patterns": [
|
|
72
|
-
{
|
|
73
|
-
"include": "text.html.markdown.math#math"
|
|
74
|
-
}
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"scopeName": "markdown.math.inline"
|
|
79
|
-
}
|
package/md-math.tmLanguage.json
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"information_for_contributors": [
|
|
3
|
-
"This file includes some grammar rules copied from https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/TeX.tmLanguage.json"
|
|
4
|
-
],
|
|
5
|
-
"name": "Markdown Math",
|
|
6
|
-
"scopeName": "text.html.markdown.math",
|
|
7
|
-
"patterns": [
|
|
8
|
-
{
|
|
9
|
-
"include": "#math"
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
"repository": {
|
|
13
|
-
"math": {
|
|
14
|
-
"patterns": [
|
|
15
|
-
{
|
|
16
|
-
"name": "comment.line.math.tex",
|
|
17
|
-
"match": "((?<!\\\\)%)(.+)$",
|
|
18
|
-
"captures": {
|
|
19
|
-
"1": {
|
|
20
|
-
"name": "punctuation.definition.comment.math.tex"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "line.separator.math.tex",
|
|
26
|
-
"match": "(\\\\\\\\)$",
|
|
27
|
-
"captures": {
|
|
28
|
-
"1": {
|
|
29
|
-
"name": "punctuation.line.separator.math.tex"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "meta.function.math.tex",
|
|
35
|
-
"begin": "((\\\\)([a-zA-Z_]+))\\s*(\\{)",
|
|
36
|
-
"beginCaptures": {
|
|
37
|
-
"1": {
|
|
38
|
-
"name": "storage.type.function.math.tex"
|
|
39
|
-
},
|
|
40
|
-
"2": {
|
|
41
|
-
"name": "punctuation.definition.function.math.tex"
|
|
42
|
-
},
|
|
43
|
-
"3": {
|
|
44
|
-
"name": "entity.name.function.math.tex"
|
|
45
|
-
},
|
|
46
|
-
"4": {
|
|
47
|
-
"name": "punctuation.definition.arguments.begin.math.tex"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"end": "\\}",
|
|
51
|
-
"endCaptures": {
|
|
52
|
-
"0": {
|
|
53
|
-
"name": "punctuation.definition.arguments.end.math.tex"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"patterns": [
|
|
57
|
-
{
|
|
58
|
-
"include": "$self"
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"captures": {
|
|
64
|
-
"1": {
|
|
65
|
-
"name": "punctuation.definition.constant.math.tex"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"match": "(\\\\)([a-zA-Z_]+)\\b",
|
|
69
|
-
"name": "constant.character.math.tex"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"captures": {
|
|
73
|
-
"1": {
|
|
74
|
-
"name": "punctuation.definition.constant.math.tex"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"match": "(\\\\)(?!begin\\*\\{|verb)([A-Za-z]+)",
|
|
78
|
-
"name": "constant.other.general.math.tex"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"match": "(?<!\\\\)\\{",
|
|
82
|
-
"name": "punctuation.math.begin.bracket.curly"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"match": "(?<!\\\\)\\}",
|
|
86
|
-
"name": "punctuation.math.end.bracket.curly"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"match": "\\(",
|
|
90
|
-
"name": "punctuation.math.begin.bracket.round"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"match": "\\)",
|
|
94
|
-
"name": "punctuation.math.end.bracket.round"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"match": "(([0-9]*[\\.][0-9]+)|[0-9]+)",
|
|
98
|
-
"name": "constant.numeric.math.tex"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"match": "[\\+\\*/_\\^-]",
|
|
102
|
-
"name": "punctuation.math.operator.latex"
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
package/package.nls.json
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"displayName": "Markdown Math",
|
|
3
|
-
"description": "Adds math support to Markdown in notebooks.",
|
|
4
|
-
"config.markdown.math.enabled": "Enable/disable rendering math in the built-in Markdown preview.",
|
|
5
|
-
"config.markdown.math.macros": "A collection of custom macros. Each macro is a key-value pair where the key is a new command name and the value is the expansion of the macro."
|
|
6
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|