I want to have a string of multiple lines in a slim template, like this:
style
| .card {
| height: 100px;
| text-align: center;
| }
Currently this works but it means I have to put | at the start of every line, which is really annoying.
Is there any way to have a multiline string in slim?
From https://github.com/slim-template/slim#verbatim-text-
style
|
.card {
height: 100px;
text-align: center;
}
Or https://github.com/slim-template/slim#embedded-engines-markdown-
css:
.card {
height: 100px;
text-align: center;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With