How to render LaTeX / HTML in Jupyter (R)?

后端 未结 5 538
感情败类
感情败类 2020-12-11 04:26

I just started using Jupyter with R, and I\'m wondering if there\'s a good way to display HTML or LaTeX output.

Here\'s some example code that I wish worked:

5条回答
  •  生来不讨喜
    2020-12-11 04:43

    In Jupyter, you can use Markdown. Just be sure to change the Jupyter cell from a code cell to a Markdown cell. Once you have done this you can simply place a double dollar sign ("$$") before and after the LaTex you have. Then run the cell.

    The steps are as follows: 1. Create a Markdown cell. 2. $$ some LaTex $$ 3. Press play button within Jupyter.

提交回复
热议问题