我尝试在我的 contents.lr 文件中插入一个定义列表。
表工作正常,但定义列表未正确处理。
示例取自https://pythonhosted.org/Markdown/extensions/index.html
Apple
: Pomaceous fruit of plants of the genus Malus in
the family Rosaceae.
Orange
: The fruit of an evergreen tree of the genus Citrus.
markdown
直接使用作品渲染字符串:
markdown.markdown(s, extensions=['markdown.extensions.def_list'])