首页 > 解决方案 > Jupyter notebook 无法正确转换为 inline 或 html markdown

问题描述

我在尝试一个pynb,发现它不能正常工作,我应该怎么做才能把上面的转换成下面的?可能是parse_html和parse_inline的原因,但是不知道怎么操作环境。 上面的内联x.copy_(y)没有执行 我首先在 jupyterlab 中尝试这个,但似乎笔记本也不能正常工作。

<div class="alert alert-info"><h4>Note</h4><p>Any operation that mutates a tensor in-place is post-fixed with an ``_``.
    For example:  (```x.copy_(y)```), ``x.t_()``, will change ``x``.</p></div>

You can use standard NumPy-like indexing with all bells and whistles!

```x.copy_(y)```, ``x.t_()``, will change ``x``

标签: jupyter-notebookjupyter-lab

解决方案


推荐阅读