Latex rendering in README.md on Github

前端 未结 12 1002
挽巷
挽巷 2020-12-22 16:59

Is there any way to render LaTex in README.md in a GitHub repository? I\'ve googled it and searched on stack overflow but none of the related answers seems feasible.

12条回答
  •  一生所求
    2020-12-22 17:30

    I upload repositories with equations to Gitlab because it has native support for LaTeX in .md files:

    ```math
    SE = \frac{\sigma}{\sqrt{n}}
    ```
    

    The syntax for inline latex is $`\sqrt{2}`$.

    Gitlab renders equations with JavaScript in the browser instead of showing images, which improves the quality of equations.

    More info here.

    Let's hope Github will implement this as well in the future.

提交回复
热议问题