我正在将中间人用于具有不同 YAML 文件中数据的静态网站。我想将其中一些数据拆分为多行。我浏览了文档和不同的论坛,但没有找到任何对我有用的东西。
下面是我的 YAML 文件的代码。“|” 应该完全符合我的要求,但文本仍显示为一个巨大的独特段落,带有正常空格而不是新行。我在这里遗漏了什么明显的东西吗?
day_1: |
Marrakech-tizi n’tichka-teloute kasbah-ait ben haddou kasbah-ourazazate-agdz
We will collect you from your Marrakech accommadation (Riad or hotel)
at 9 am with a private and air-conditioned transportation then start
your desert tour by heading towards the high atlas and crossing
Tizi n’tichka Pass 2260m.
We follow the one thousand kasbahs road via ounila valley till arriving
to the Kasbah of teloute, an ancient gathering of old trading caravans
coming from the large sahara desert.
Afterwards we visit The earthen Kasbah Of Ait ben Haddou classified as
UNSECO world Heritage Site and a backdrop of films location as well.
We take a break to have lunch in Ait ben Haddou Site, we continue our
journey crossing the Mountains of Anti-atlas and Ourazazate site Or the
Hollywood of Africa. Arriving to Agdz, which is a small town located
among palmtree groves, you spend the overnight in one of well-selected
accommadation with evening and morning meals included.