How can I add a list in blockquote of front matter parameter?

Mostly this is a markdown question, but maybe there are hacks for Hugo. In my .md files to describe multi-line content in parameter, I use > (markdown blockquote). And this works perfectly, but is there a way to put a list in such?

content: >
          Sample
          Multiline content


          ^Space above and the list below
          * element 1
          * element 2
          * element 3

Use the pipe symbol ( | ) instead of the greater than symbol ( > ).
See https://yaml-multiline.info

content/post/test.md

---
title: Test
date: 2021-01-01T00:00:00-00:00
draft: false
content: |
  Sample
  Multiline content

  Space above and the list below
  * element 1
  * element 2
  * element 3
---

layouts/_default/single.html

{{ with .Params.content }}
  {{ . | $.Page.RenderString }}
{{ end }}

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.