Line spacing in Marked 2´s additional CSS
Hello!
I'm using custom CSS templates in Marked 2. At the moment I have this text in the text-box under "additional CSS":
---
#wrapper {
text-align: justify;
text-justify: inter-word;
}
#wrapper * {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif!important;
}
---
Is it possible to add a command that makes the text in every custom template having a 1.5 line space?
If so, whats the command and does it have a difference in which order I put it?
Thanks
Simon
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 03 Mar, 2019 07:32 PM
You would use `line-height: 1.5`. The number is relative to font-size,
though, and you may have different results between themes. You probably
also only want it to affect paragraphs and not headlines and such, so
you should use a rule like:
#wrapper p {
line-height: 1.5;
}
2 Posted by Simon on 03 Mar, 2019 07:34 PM
Thanks for fast answer :)