Skip to content

Improve MathJax support by enabling $$ for math equations #400

Open
@azerupi

Description

@azerupi

Currently, Mathjax is a little akward to use because we only support the \( ... \) and \[ ... \]method to indicate inline and block equations respectively. On top of that, backslashes need to be escaped so that the markdown parser doesn't remove them. Thus, equations need to be written like:

\\[ \mu = \frac{1}{N} \sum_{i=0} x_i \\]

So when mathjax support is enabled in the configuration, it would be great to add a preprocessor that rewrites the \[ ... \] forms to \\[ ... \\] and add support for the $$ ... $$ math delimiters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-MathJaxArea: MathJaxC-enhancementCategory: Enhancement or feature requestC-papercutCategory: A small usability bugE-MediumExperience: MediumS-WishlistStatus: Wishlist

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions