Skip to content

Commit

Permalink
Better document the %%latex magic latex support.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdfreder committed Oct 9, 2015
1 parent 45110c6 commit f77f0f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion IPython/core/magics/display.py
Expand Up @@ -38,7 +38,10 @@ def javascript(self, line, cell):

@cell_magic
def latex(self, line, cell):
"""Render the cell as a block of latex"""
"""Render the cell as a block of latex
This magic only renders the subset of latex defined by MathJax
[here](https://docs.mathjax.org/en/v2.5-latest/tex.html)."""
display(Latex(cell))

@cell_magic
Expand Down

0 comments on commit f77f0f0

Please sign in to comment.