Jupyter 笔记本 VScode 中的警报块

问题描述 投票:0回答:1

我想使用以下代码在 Jupyter 笔记本中创建一个警报块:

<div class="alert alert-block alert-danger"> In general, just avoid the red boxes. </div>

当我通过 Anaconda-navigator 在 Jupyter 笔记本中尝试此操作时,它的工作原理如下:

当我在 VS code 中尝试完全相同的代码时,它返回以下内容:

所以我想知道是否有人知道如何在 vscode 中解决这个问题?

html visual-studio jupyter-notebook styling
1个回答
0
投票

几个月后,它现在可以使用更新版本的 VScode

1.0.17
。现在是在 Jupyter Notebook 中使用以下代码的输出:

<div class="alert alert-block alert-danger"> In general, just avoid the red boxes. </div>

输出:

如您所见,警报块现在可见。这个issue也提到了。

© www.soinside.com 2019 - 2024. All rights reserved.