Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitlab math delimiters no longer working #129

Open
rjmigliori opened this issue Nov 9, 2023 · 0 comments
Open

gitlab math delimiters no longer working #129

rjmigliori opened this issue Nov 9, 2023 · 0 comments

Comments

@rjmigliori
Copy link

rjmigliori commented Nov 9, 2023

Summary

gitlab Delimiters no longer working

Expected behavior

Specifying "mdmath.delimiters": "gitlab", in settings.json and then blocking code out with ```math ... ```` delimiters would render LaTeX blocks as math in markdown preview.

Actual behavior

LaTeX blocks render as code blocks in markdown preview.

Steps to reproduce

  1. Set "mdmath.delimiters": "gitlab", in settings.json
  2. Write some LaTeX code in a ```math ... ```` block
  3. Preview markdown code with Markdown All In One Plugin (I think, unless it's using the native markdown preview support in vscode).

Code example

```math
\begin{align}
\begin{split}
R_x(\theta) &= 
\left[\!\begin{array}{c c c}
{1} & {0} & {0}\\
{0} & {\cos\theta} & {-\sin\theta}\\
{0} & {\sin\theta} & {\cos\theta}
\end{array}
\!\right]\\
\\
R_y(\theta) &= \left[\!\begin{array}{c c c}
{\cos\theta} & {0} & {\sin\theta}\\
{0} & {1} & {0}\\
{-\sin\theta} & {0} & {\cos\theta}
\end{array}
\!\right] \\
\\
R_z(\theta) &= \left[\!\begin{array}{c c c}
{\cos\theta} & {-\sin\theta} & {0}\\
{\sin\theta} & {\cos\theta} & {0}\\
{0} & {0} & {1}
\end{array}
\!\right] 
\end{split}
\end{align}

### Related links

* [Markdown+Math](https://github.com/goessner/mdmath)

### Environment
- Operating system: Windows 11 with remote desktop connection to Ubuntu 22.04 
- VSCode version: 1.84.2
- Markdown+Math version: 2.7.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant