问题
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