【发布时间】:2020-09-24 04:03:37
【问题描述】:
在 Pelican 中,是否可以在 markdown 文件的元数据部分添加注释?假设我有一个如下所示的帖子:
Title: Hello World!
Tags: greetings
Date: 2020-01-01
Lorem ipsum sit dolor amet...
是否可以将 cmets 添加到元数据中?例如:
Title: Hello World!
Tags: greetings
Date: 2020-01-01 # This is the first comment.
# This is another comment.
Lorem ipsum sit dolor amet...
上面的示例不起作用,因为 Pelican 将 # This is another comment. 视为 Markdown 标题。
如何在 Pelican 降价文件的元数据部分发表评论?
【问题讨论】:
标签: markdown pelican python-markdown