mdmath | LaTeX Math for Markdown inside of Visual Studio Code | Math library
kandi X-RAY | mdmath Summary
kandi X-RAY | mdmath Summary
mdmath allows to use Visual Studio Code as a markdown editor capable of typesetting and rendering TeX math.K, In fact it now reuses the built in markdown viewer. KaTeX works inside as a fast math renderer. You can install the extension directly from Visual Studio Code Marketplace.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Display a command to the console
mdmath Key Features
mdmath Examples and Code Snippets
Community Discussions
Trending Discussions on mdmath
QUESTION
I really like the auto surround feature in VS Code, where you highlight some text and type a character like (
or [
and it surrounds your highlighted text with (
)
or [
]
, respectively. I recently downloaded a VS Code extension that enables LaTeX formatting with Markdown files, and now I want to add the character $
as one of these "auto-surrounding" characters (statements surrounded by $
characters are rendered with LaTeX).
I have done some digging in the VS Code documentation and around the web, but I can't find where I could manually add my own custom characters for auto-surrounding. This page in the official documentation seems most promising. I can't figure out where this file lives though (or if there is a way for me as a user to edit it).
...ANSWER
Answered 2020-Sep-10 at 21:21This isn't something that you can change via preferences. You'd need to modify the Markdown extension itself. This is entirely possible, but as VSCode updates it will overwrite your changes and you'll have to make them again.
Find the markdown-basics
extension in your VSCode installation. On my Windows 10 machine, it is in C:\Users\me\Local\Programs\Microsoft VS Code\resources\app\extensions\markdown-basics\
. If you're on another operating system, look for the resources/app/extensions/markdown-basics/
directory inside your VSCode installation path.
Open up the language-configuration.json
file. This will probably have been minified, so I suggest you format the document via the context menu, a keyboard shortcut (Shift+Alt+F on Windows), or the command palette. Then add
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mdmath
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page