Skip to content

Precompile math to MathML #36110

@nschloe

Description

@nschloe

Feature Description

Right now, the common way for displaying math on GitHub/GitLab/Gitea etc. is to use a front-end library like MathJax or KaTeX to render math in the browser using a JS framework. For a long time, this was the only thing you could do to get math to display.

For about 3 years now, we have MathML Core in all major browsers. This allows us to run the tex-to-mathml conversion in the backend, delivering MathML code. Together with a font file, results looks really nice. The biggest advantage is that equations are displayed virtually instantly though, making math a first-class citizen.

I'd hence like to suggest to (perhaps optionally), compile the math blocks into MathML in Gitea's backend.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions