vscode-ultra-math-preview
vscode-ultra-math-preview copied to clipboard
Which line would i need to change to make it work in every file-extension?
Hey, I really like ur plugin! currently its only working in .tex files. I want to also use it in c++ as a comment.
Which line would i need to change to make it work in every file-extension?
+1
would be awesome to have the option to change when this extension should be active.:)) - i personaly would love to have latex comments in c++ or python. https://github.com/OrangeX4/Latex-Sympy-Calculator/issues/18 other latex extensions also are active in none .tex files :)
Just a pointer for future me or someone else: I guess the language is configured in src/util/get-scopes.js
function getMathScope(document, position) { if (!document.languageId.match(/latex|markdown/)) return undefined
One could probably just add other languages, or remove this part. At the moment I don't have time to test this theory. Anyone game? Otherwise, I might come back to this at some point.