Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
2719dec1
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2719dec1
编写于
8月 20, 2018
作者:
M
Matt Bierner
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update markdown grammar
Fixes #55635
上级
d039671a
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
38 addition
and
2 deletion
+38
-2
extensions/markdown-basics/syntaxes/markdown.tmLanguage.json
extensions/markdown-basics/syntaxes/markdown.tmLanguage.json
+38
-2
未找到文件。
extensions/markdown-basics/syntaxes/markdown.tmLanguage.json
浏览文件 @
2719dec1
...
...
@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository."
,
"Once accepted there, we are happy to receive an update request."
],
"version"
:
"https://github.com/microsoft/vscode-markdown-tm-grammar/commit/
4504240cdb13a4640f64fc98a0adb858226a879e
"
,
"version"
:
"https://github.com/microsoft/vscode-markdown-tm-grammar/commit/
826a9c47f16a3d567c3691636fd19f189f65fca5
"
,
"name"
:
"Markdown"
,
"scopeName"
:
"text.html.markdown"
,
"patterns"
:
[
...
...
@@ -165,6 +165,9 @@
{
"include"
:
"#fenced_code_block_dart"
},
{
"include"
:
"#fenced_code_block_handlebars"
},
{
"include"
:
"#fenced_code_block_unknown"
},
...
...
@@ -1685,6 +1688,39 @@
}
]
},
"fenced_code_block_handlebars"
:
{
"begin"
:
"(^|
\\
G)(
\\
s*)(`{3,}|~{3,})
\\
s*(?i:(handlebars|hbs)(
\\
s+[^`~]*)?$)"
,
"name"
:
"markup.fenced_code.block.markdown"
,
"end"
:
"(^|
\\
G)(
\\
2|
\\
s{0,3})(
\\
3)
\\
s*$"
,
"beginCaptures"
:
{
"3"
:
{
"name"
:
"punctuation.definition.markdown"
},
"5"
:
{
"name"
:
"fenced_code.block.language"
},
"6"
:
{
"name"
:
"fenced_code.block.language.attributes"
}
},
"endCaptures"
:
{
"3"
:
{
"name"
:
"punctuation.definition.markdown"
}
},
"patterns"
:
[
{
"begin"
:
"(^|
\\
G)(
\\
s*)(.*)"
,
"while"
:
"(^|
\\
G)(?!
\\
s*([`~]{3,})
\\
s*$)"
,
"contentName"
:
"meta.embedded.block.handlebars"
,
"patterns"
:
[
{
"include"
:
"text.html.handlebars"
}
]
}
]
},
"fenced_code_block_unknown"
:
{
"begin"
:
"(^|
\\
G)(
\\
s*)(`{3,}|~{3,})
\\
s*(?=([^`~]*)?$)"
,
"beginCaptures"
:
{
...
...
@@ -1994,7 +2030,7 @@
"while"
:
"(^|
\\
G)([ ]{4}|
\\
t)"
},
"separator"
:
{
"match"
:
"(^|
\\
G)[ ]{0,3}([
\\
*
\\
-
\\
_])([ ]{0,2}
\\
2){2,}[
\\
t]*$
\\
n?"
,
"match"
:
"(^|
\\
G)[ ]{0,3}([
*-
_])([ ]{0,2}
\\
2){2,}[
\\
t]*$
\\
n?"
,
"name"
:
"meta.separator.markdown"
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录