Skip to content

SkwalExe/math-to-image

Repository files navigation

Math to image πŸ“

demo

πŸ“ Math to image conversion tool for websites that don't support LaTex rendering like GitHub.

Convert LaTeX code into image links like:

Installation πŸ“¦

ext install Skwal.math-to-image

Usage πŸ“

Select your LaTeX code :

Highlight Math

Then press Ctrl+p and type Convert math to image

Select option

After that, click enter to convert your code.

Convert

Settings πŸ”§

The following configuration options are available in the .vscode/settings.json of your workspace.

  • You can change the default color in which the math will be rendered, with the color option.

  • You can change the default style applied to the <img> tags. Defaults to null for no styling.

"math-to-image.color": "white"
"math-to-image.style": "transform: translateY(-0.1rem);"

Setting up a shortcut πŸ”§

Press Ctrl+p and type Convert math to image, then click on the gear icon.

Click on keybinding and type your shortcut

keybinding

Change log πŸ“

For version updates and bug fixes, please see our CHANGELOG

Final

If you have any problem, don't hesitate to open an issue

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.