提交 5df76d35 编写于 作者: M Matt Bierner

Highlight some basic markdown elements in js/ts fenced code blocks

Fixes #63942
上级 72ece3c7
......@@ -77,6 +77,16 @@
"meta.import string.quoted": "other",
"variable.other.jsdoc": "other"
}
},
{
"scopeName": "documentation.markdown.injection",
"path": "./syntaxes/MarkdownDocumentationInjection.tmLanguage.json",
"injectTo": [
"source.ts",
"source.tsx",
"source.js",
"source.js.jsx"
]
}
],
"snippets": [
......
{
"injectionSelector": "L:comment.block.documentation",
"patterns": [
{
"include": "#markdown-comment"
}
],
"repository": {
"markdown-comment": {
"begin": "^\\s*\\*(?!/)",
"while": "(^|\\G)\\s*\\*(?!/)",
"patterns": [
{
"include": "text.html.markdown#fenced_code_block"
},
{
"include": "text.html.markdown#lists"
},
{
"include": "source.ts#docblock"
},
{
"include": "text.html.markdown#inline"
}
]
}
},
"scopeName": "documentation.markdown.injection"
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册