如何在 Markdown 中使用 HTML?

How to use HTML in Markdown?

使用 Jeykll,我有一个带有 div 和里面的列表的降价文件。

问题是通过将 div 引入降价,列表失去了降价 "styling":

some text here <a href="#anchor-text-here" data-toggle="collapse" href="#anchor-text-here" aria-expanded="false" aria-controls="anchor-text-here">some text here</a>.

<div id="anchor-text-here" class="collapse">
1. step 1
2. step 2
3. step 3  and so on... 
</div>

生成的HTML不包含OL元素

看起来解决方案是添加一个属性:markdown="1" 到 DIV 元素,因为如果将 markdown 放在 DIV 元素中,显然会得到 "disabled"。