Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Can it support the rendering of LaTeX formulas in MarkdownΒ #8010

@nixwl

Description

@nixwl

What needs to be improved? Please describe

πŸ™‹ Feature Request: LaTeX Formula Rendering in Markdown

🧩 Problem

LaTeX formulas in Markdown are not rendered properly on GitHub. For example:

$$
\text{Attention}(Q, K, V) = \text{Softmax}\left(\frac{QK^T}{\sqrt{D}}\right)V
$$

or inline:

$\text{Attention}(Q, K, V) = \text{Softmax}\left(\frac{QK^T}{\sqrt{D}}\right)V$

But these are displayed as plain text instead of rendered formulas.

🎯 Desired Behavior

  • βœ… Inline LaTeX formulas using $...$
  • βœ… Block-level LaTeX expressions using $$...$$
  • βœ… Compatibility with MathJax or KaTeX-style rendering engines

Why do you think it is important?

πŸ“Œ Supplement

Many platforms like Jupyter Notebook, HackMD, .... support full LaTeX rendering in Markdown. It would be great to see similar support on GitHub for technical content creators and researchers.

gogs seems to have been following up on the rendering of latex formulas in jupyter notebooks ->
[Add laTex formula rendering support in Ipython notebook] #6244

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions