Latex macros in Jupyter (iPython) notebook not rendered by github

前提是你 提交于 2021-02-18 03:17:49

问题


I have a markdown cell in a Jupyter notebook (.ipynb) with the following content.

$\newcommand{\paren}[1]{\left(#1\right)}$
$\paren{\beta^2}$

The file is in a Github repository. The LaTex macro application is not rendered by Github.

Here is how it looks:

The markdown cell, however, is rendered properly when I open is locally as a Jupyter notebook.

Is there a way to make this work? Note that the file is in a private Github repo, so I can not use nbviewer.

来源:https://stackoverflow.com/questions/44773602/latex-macros-in-jupyter-ipython-notebook-not-rendered-by-github

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!