@codingame/monaco-vscode-markdown-math-default-extension 1.85.2 → 1.85.3

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.
Files changed (40) hide show
  1. package/index.js +35 -30
  2. package/package.json +2 -2
  3. package/resources/README.md +5 -0
  4. package/resources/extension.js +2 -0
  5. package/resources/extension.js.map +1 -0
  6. package/resources/icon.png +0 -0
  7. package/resources/katex.js +271 -0
  8. package/resources/md-math-block.tmLanguage.json +1 -0
  9. package/resources/md-math-inline.tmLanguage.json +1 -0
  10. package/resources/md-math.tmLanguage.json +1 -0
  11. package/resources/package.json +1 -0
  12. package/resources/package.nls.json +1 -0
  13. package/extension.js +0 -19408
  14. package/extension.js.map +0 -1
  15. package/md-math-block.tmLanguage.json +0 -85
  16. package/md-math-inline.tmLanguage.json +0 -79
  17. package/md-math.tmLanguage.json +0 -107
  18. package/package.nls.json +0 -6
  19. /package/{KaTeX_AMS-Regular.woff2 → resources/KaTeX_AMS-Regular.woff2} +0 -0
  20. /package/{KaTeX_Caligraphic-Bold.woff2 → resources/KaTeX_Caligraphic-Bold.woff2} +0 -0
  21. /package/{KaTeX_Caligraphic-Regular.woff2 → resources/KaTeX_Caligraphic-Regular.woff2} +0 -0
  22. /package/{KaTeX_Fraktur-Bold.woff2 → resources/KaTeX_Fraktur-Bold.woff2} +0 -0
  23. /package/{KaTeX_Fraktur-Regular.woff2 → resources/KaTeX_Fraktur-Regular.woff2} +0 -0
  24. /package/{KaTeX_Main-Bold.woff2 → resources/KaTeX_Main-Bold.woff2} +0 -0
  25. /package/{KaTeX_Main-BoldItalic.woff2 → resources/KaTeX_Main-BoldItalic.woff2} +0 -0
  26. /package/{KaTeX_Main-Italic.woff2 → resources/KaTeX_Main-Italic.woff2} +0 -0
  27. /package/{KaTeX_Main-Regular.woff2 → resources/KaTeX_Main-Regular.woff2} +0 -0
  28. /package/{KaTeX_Math-BoldItalic.woff2 → resources/KaTeX_Math-BoldItalic.woff2} +0 -0
  29. /package/{KaTeX_Math-Italic.woff2 → resources/KaTeX_Math-Italic.woff2} +0 -0
  30. /package/{KaTeX_SansSerif-Bold.woff2 → resources/KaTeX_SansSerif-Bold.woff2} +0 -0
  31. /package/{KaTeX_SansSerif-Italic.woff2 → resources/KaTeX_SansSerif-Italic.woff2} +0 -0
  32. /package/{KaTeX_SansSerif-Regular.woff2 → resources/KaTeX_SansSerif-Regular.woff2} +0 -0
  33. /package/{KaTeX_Script-Regular.woff2 → resources/KaTeX_Script-Regular.woff2} +0 -0
  34. /package/{KaTeX_Size1-Regular.woff2 → resources/KaTeX_Size1-Regular.woff2} +0 -0
  35. /package/{KaTeX_Size2-Regular.woff2 → resources/KaTeX_Size2-Regular.woff2} +0 -0
  36. /package/{KaTeX_Size3-Regular.woff2 → resources/KaTeX_Size3-Regular.woff2} +0 -0
  37. /package/{KaTeX_Size4-Regular.woff2 → resources/KaTeX_Size4-Regular.woff2} +0 -0
  38. /package/{KaTeX_Typewriter-Regular.woff2 → resources/KaTeX_Typewriter-Regular.woff2} +0 -0
  39. /package/{index.css → resources/index.css} +0 -0
  40. /package/{katex.min.css → resources/katex.min.css} +0 -0
@@ -0,0 +1 @@
1
+ {"fileTypes":[],"injectionSelector":"L:text.html.markdown - (comment, string, meta.paragraph.markdown, markup.math.block.markdown, markup.fenced_code.block.markdown, markup.raw.block.markdown)","patterns":[{"include":"#double_dollar_math_block"},{"include":"#single_dollar_math_block"}],"repository":{"double_dollar_math_block":{"name":"markup.math.block.markdown","contentName":"meta.embedded.math.markdown","begin":"(?<=^\\s*)(\\${2})(?![^$]*\\${2})","beginCaptures":{"1":{"name":"punctuation.definition.math.begin.markdown"}},"end":"(.*)(\\${2})","endCaptures":{"1":{"name":"meta.embedded.math.markdown","patterns":[{"include":"text.html.markdown.math#math"}]},"2":{"name":"punctuation.definition.math.end.markdown"}},"patterns":[{"begin":"(^|\\G)","while":"(^|\\G)(?!.*(\\${2}))","patterns":[{"include":"text.html.markdown.math#math"}]}]},"single_dollar_math_block":{"name":"markup.math.block.markdown","contentName":"meta.embedded.math.markdown","begin":"(?<=^\\s*)(\\$)(?![^$]*\\$|\\d)","beginCaptures":{"1":{"name":"punctuation.definition.math.begin.markdown"}},"end":"(.*)(\\${1})","endCaptures":{"1":{"name":"meta.embedded.math.markdown","patterns":[{"include":"text.html.markdown.math#math"}]},"2":{"name":"punctuation.definition.math.end.markdown"}},"patterns":[{"begin":"(^|\\G)","while":"(^|\\G)(?!.*(\\${1}))","patterns":[{"include":"text.html.markdown.math#math"}]}]}},"scopeName":"markdown.math.block"}
@@ -0,0 +1 @@
1
+ {"fileTypes":[],"injectionSelector":"L:meta.paragraph.markdown - (comment, string, markup.math.inline.markdown, markup.fenced_code.block.markdown)","patterns":[{"include":"#math_inline_double"},{"include":"#math_inline_single"},{"include":"#math_inline_block"}],"repository":{"math_inline_single":{"name":"markup.math.inline.markdown","match":"(?<=\\s|\\W|^)(?<!\\$)(\\$)(.+?)(\\$)(?!\\$)(?=\\s|\\W|$)","captures":{"1":{"name":"punctuation.definition.math.begin.markdown"},"2":{"name":"meta.embedded.math.markdown","patterns":[{"include":"text.html.markdown.math#math"}]},"3":{"name":"punctuation.definition.math.end.markdown"}}},"math_inline_double":{"name":"markup.math.inline.markdown","match":"(?<=\\s|\\W|^)(?<!\\$)(\\$\\$)(.+?)(\\$\\$)(?!\\$)(?=\\s|\\W|$)","captures":{"1":{"name":"punctuation.definition.math.begin.markdown"},"2":{"name":"meta.embedded.math.markdown","patterns":[{"include":"text.html.markdown.math#math"}]},"3":{"name":"punctuation.definition.math.end.markdown"}}},"math_inline_block":{"name":"markup.math.inline.markdown","contentName":"meta.embedded.math.markdown","begin":"(?<=\\s|^)(\\${2})","beginCaptures":{"2":{"name":"punctuation.definition.math.begin.markdown"}},"end":"(\\${2})(?=\\s|$)","endCaptures":{"2":{"name":"punctuation.definition.math.end.markdown"}},"patterns":[{"include":"text.html.markdown.math#math"}]}},"scopeName":"markdown.math.inline"}
@@ -0,0 +1 @@
1
+ {"information_for_contributors":["This file includes some grammar rules copied from https://github.com/James-Yu/LaTeX-Workshop/blob/master/syntax/TeX.tmLanguage.json"],"name":"Markdown Math","scopeName":"text.html.markdown.math","patterns":[{"include":"#math"}],"repository":{"math":{"patterns":[{"name":"comment.line.math.tex","match":"((?<!\\\\)%)(.+)$","captures":{"1":{"name":"punctuation.definition.comment.math.tex"}}},{"name":"line.separator.math.tex","match":"(\\\\\\\\)$","captures":{"1":{"name":"punctuation.line.separator.math.tex"}}},{"name":"meta.function.math.tex","begin":"((\\\\)([a-zA-Z_]+))\\s*(\\{)","beginCaptures":{"1":{"name":"storage.type.function.math.tex"},"2":{"name":"punctuation.definition.function.math.tex"},"3":{"name":"entity.name.function.math.tex"},"4":{"name":"punctuation.definition.arguments.begin.math.tex"}},"end":"\\}","endCaptures":{"0":{"name":"punctuation.definition.arguments.end.math.tex"}},"patterns":[{"include":"$self"}]},{"captures":{"1":{"name":"punctuation.definition.constant.math.tex"}},"match":"(\\\\)([a-zA-Z_]+)\\b","name":"constant.character.math.tex"},{"captures":{"1":{"name":"punctuation.definition.constant.math.tex"}},"match":"(\\\\)(?!begin\\*\\{|verb)([A-Za-z]+)","name":"constant.other.general.math.tex"},{"match":"(?<!\\\\)\\{","name":"punctuation.math.begin.bracket.curly"},{"match":"(?<!\\\\)\\}","name":"punctuation.math.end.bracket.curly"},{"match":"\\(","name":"punctuation.math.begin.bracket.round"},{"match":"\\)","name":"punctuation.math.end.bracket.round"},{"match":"(([0-9]*[\\.][0-9]+)|[0-9]+)","name":"constant.numeric.math.tex"},{"match":"[\\+\\*/_\\^-]","name":"punctuation.math.operator.latex"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"markdown-math","displayName":"%displayName%","description":"%description%","version":"1.0.0","icon":"icon.png","publisher":"vscode","license":"MIT","aiKey":"0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255","engines":{"vscode":"^1.54.0"},"categories":["Other"],"capabilities":{"virtualWorkspaces":true,"untrustedWorkspaces":{"supported":true}},"main":"./dist/extension","browser":"./dist/browser/extension","activationEvents":[],"contributes":{"languages":[{"id":"markdown-math","aliases":[]}],"grammars":[{"language":"markdown-math","scopeName":"text.html.markdown.math","path":"./syntaxes/md-math.tmLanguage.json"},{"scopeName":"markdown.math.block","path":"./syntaxes/md-math-block.tmLanguage.json","injectTo":["text.html.markdown"],"embeddedLanguages":{"meta.embedded.math.markdown":"latex"}},{"scopeName":"markdown.math.inline","path":"./syntaxes/md-math-inline.tmLanguage.json","injectTo":["text.html.markdown"],"embeddedLanguages":{"meta.embedded.math.markdown":"latex","punctuation.definition.math.end.markdown":"latex"}}],"notebookRenderer":[{"id":"vscode.markdown-it-katex-extension","displayName":"Markdown it KaTeX renderer","entrypoint":{"extends":"vscode.markdown-it-renderer","path":"./notebook-out/katex.js"}}],"markdown.markdownItPlugins":true,"markdown.previewStyles":["./notebook-out/katex.min.css","./preview-styles/index.css"],"configuration":[{"title":"Markdown Math","properties":{"markdown.math.enabled":{"type":"boolean","default":true,"description":"%config.markdown.math.enabled%"},"markdown.math.macros":{"type":"object","additionalProperties":{"type":"string"},"default":{},"description":"%config.markdown.math.macros%","scope":"resource"}}}]},"repository":{"type":"git","url":"https://github.com/microsoft/vscode.git"}}
@@ -0,0 +1 @@
1
+ {"displayName":"Markdown Math","description":"Adds math support to Markdown in notebooks.","config.markdown.math.enabled":"Enable/disable rendering math in the built-in Markdown preview.","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."}