mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
Highlight some basic markdown elements in js/ts fenced code blocks
Fixes #63942
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
Reference in New Issue
Block a user