[SOLVED]Multiline Variable in Front Matter is printed as Single Line


#1

I just noticed this thing.
When I have a variable in front matter(YAML or TOML) which is declared as a multiline string, Hugo doesn’t print it as a multiline string.

---
title: not displayed
description: |
  hello
  there
  how 
  are 
  you
---

and when printed using {{ .Description }}
it prints
hello there how are you

Same situation with TOML multiline declaration using “”" … “”" (triple quotes)

What could be the problem?

SOLVED
Just needed to add Blackfriday Extension.
By default, the Hugo markdown processor blackfriday doesn’t treat newline as

So, just need to add

[blackfriday]
  extensions = ["hardLineBreak"]