如何制作 Hugo 渲染块引用?
How to make Hugo render blockquotes?
我的 Hugo 项目中有以下 post(content/posts/YYYY-MM-DD-title.md
文件):
---
title: My title
author: Franz Drollig
date: 2019-08-17T16:33:13+00:00
url: /funny-quote/
categories:
- Quote
---
<blockquote class="wp-block-quote">
<p>
First paragraph of the quote
</p>
<p>
Second paragraph of the quote.
</p>
<p>
Punch line.
</p>
</blockquote>
Author of the quote
现在,只呈现最后一部分 (Author of the quote
)。实际报价没有出现。
我需要做什么才能正确呈现 <blockquote>
中的文本?
它在我添加
后开始呈现该内容
[markup.goldmark.renderer]
unsafe= true
根据建议 到 config.toml
here。
我的 Hugo 项目中有以下 post(content/posts/YYYY-MM-DD-title.md
文件):
---
title: My title
author: Franz Drollig
date: 2019-08-17T16:33:13+00:00
url: /funny-quote/
categories:
- Quote
---
<blockquote class="wp-block-quote">
<p>
First paragraph of the quote
</p>
<p>
Second paragraph of the quote.
</p>
<p>
Punch line.
</p>
</blockquote>
Author of the quote
现在,只呈现最后一部分 (Author of the quote
)。实际报价没有出现。
我需要做什么才能正确呈现 <blockquote>
中的文本?
它在我添加
后开始呈现该内容[markup.goldmark.renderer]
unsafe= true
根据建议 到 config.toml
here。