Code: Select all
arr:=["item 1","b item","item 3"]
maincontent =
(
What is Lorem Ipsum?
Lorem Ipsum is simply dummy text of the
printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy
---
Why do we use it?
It is a long established fact that a reader will
be distracted by the readable content of a page when
looking at its layout. The point of using Lorem Ipsum
---
Where does it come from?
Contrary to popular belief, Lorem Ipsum is not simply random text.
It has roots in a piece of classical Latin literature from 45 BC,
making it over 2000 years old. Richard McClintock, a Latin professor
at Hampden-Sydney College in Virginia, looked up one of the more obscure
---
)
how to get output like this
Code: Select all
output =
(
What is Lorem Ipsum?
Lorem Ipsum is simply dummy text of the
printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy
***
item 1
---
Why do we use it?
It is a long established fact that a reader will
be distracted by the readable content of a page when
looking at its layout. The point of using Lorem Ipsum
***
b item
---
Where does it come from?
Contrary to popular belief, Lorem Ipsum is not simply random text.
It has roots in a piece of classical Latin literature from 45 BC,
making it over 2000 years old. Richard McClintock, a Latin professor
at Hampden-Sydney College in Virginia, looked up one of the more obscure
***
item 3
---
)