mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Adds support for Github-style fenced math blocks in markdown editor and preview (#213750)
* added support for markdown fenced math blocks * original markdownEngine.ts * Add fenced math block rendering to markdown-math * Update dependencies * custom parser for fenced math blocks * custom parser for fenced math blocks * reverted changes to extension.ts * reverted all changes from prior implementations * proper fence grammar implementation for math --------- Co-authored-by: Matt Bierner <matb@microsoft.com>
This commit is contained in:
@@ -56,6 +56,16 @@
|
||||
"meta.embedded.math.markdown": "latex",
|
||||
"punctuation.definition.math.end.markdown": "latex"
|
||||
}
|
||||
},
|
||||
{
|
||||
"scopeName": "markdown.math.codeblock",
|
||||
"path": "./syntaxes/md-math-fence.tmLanguage.json",
|
||||
"injectTo": [
|
||||
"text.html.markdown"
|
||||
],
|
||||
"embeddedLanguages": {
|
||||
"meta.embedded.math.markdown": "latex"
|
||||
}
|
||||
}
|
||||
],
|
||||
"notebookRenderer": [
|
||||
|
||||
Reference in New Issue
Block a user