Skip to content

Import beg_end markdown-it-texmath delimiters by default #2710

@yyccbb

Description

@yyccbb

Please confirm that you have searched existing issues in the repo

Yes, I have searched the existing issues

Any related issues?

No response

What is the area that this feature belongs to?

Author Usability

Is your feature request related to a problem? Please describe.

\begin{} \end{} Tex environment is commonly used if the user wants to create block equations, aligned environment, etc. They do not seem to have other usage in MarkBind other than indicating a Tex environment. Currently, users have to add the following lines to site.json to activate the environment, which I think is slightly troublesome and unnecessary.

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

Describe the solution you'd like

We should require the beg_end delimiter by default.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions