markbind icon indicating copy to clipboard operation
markbind copied to clipboard

Predefined Tex environments with trailing asterisk (e.g. "align*", "equation*") are not properly recognized

Open yyccbb opened this issue 8 months ago • 0 comments

Please confirm that you have searched existing issues in the repo

Yes, I have searched the existing issues

Any related issues?

No response

Tell us about your environment

macOS 15.3.2

MarkBind version

6.0.0

Describe the bug and the steps to reproduce it

Important: Add the following to site.json to activate \begin{} ... \end{} environment.

{
  "plugins": [
    "mathDelimiters"
  ],
  "pluginsContext" : {
    "mathDelimiters" : {
      "delimiters": ["beg_end"]
    }
  },
}

Afterwards, test the rendering of

\begin{align*}
  x^2 + y^2 &= 1 \\
  y &= \sqrt{1 - x^2}
\end{align*}

and you can see that this block is not recognized as Tex.

Expected behavior

Such environments should be correctly parsed and rendered as an unnumbered tex block.

Anything else?

No response

yyccbb avatar Apr 20 '25 10:04 yyccbb