我刚刚开始使用警告框(在jupyter标记单元格中有颜色的便笺框)。这些都很有用。但是,我试图在彩色框中包含一个项目符号列表,但它似乎不起作用。有什么简单的方法吗,还是我应该放弃呢?这是一些关于彩色盒子的文档
例如,将下面的代码包含在jupyter的标记单元中。这样做的目的是能够用要点逐项分类。
<div class="alert alert-block alert-warning">
<b>Example:</b> These is the content of the box. Here is my list:
- item 1
- item 2
</div>
谢谢!
发布于 2018-10-22 03:53:47
在大多数情况下,一旦您进入html的“域”,最好坚持html,这将节省您大量的时间。只管用
<div class="alert alert-block alert-warning">
<b>Example:</b> These is the content of the box. Here is my list:
<ul>
<li>item 1</li>
<li>item 2</li>
</ul>
</div>
https://stackoverflow.com/questions/52928433
复制相似问题