我正在尝试使用Markdown创建一个列表。根据我所阅读的一些文档,如果我编写以下Markdown代码:
My list
* first item
* second item
* third item
Not in the list
我将得到与在HTML中编写此内容相同的结果:
<p>My list</p>
<li>
<ul>first item</ul>
<ul>second item</ul>
<ul>third item</ul>
</li>
<p>Not in the list</p>
我使用Atom作为编辑器和Markdown预览器,一切正常,但是当我使用pandoc
将我的Markdown文件转换为以下格式时:
pandoc test.md -o test.odt
我得到的是这个:
My list * first item * second item * third item
Not in the list
我做错了什么?