Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Issues
  • #2043
Closed
Open
Issue created Aug 05, 2018 by Administrator@rootContributor

Support TeX-in-<math>-tags, a la Wikipedia's math markdown

Created by: Quuxplusone

I don't trust myself never to write $$ or \[ by accident (in a non-math context) on my blog, so I'd like to see MathJax support Wikipedia-style markdown for math:

Inline as <math>1+2=3</math> or out-of-line as
<math mode=display>
    1+2 = 3
</math>

The docs for tex2jax indicate that tex2jax cannot handle delimiters with angle brackets in them, and I've verified that that's the case. However, mml2jax can handle <math> tags just fine, and I have managed to make a patch that implements the above-requested behavior.

Assignee
Assign to
Time tracking