tag:support.markedapp.com,2011-09-11:/discussions/problems/151659-line-spacing-in-marked-2s-additional-cssMarked: Discussion 2019-03-03T19:34:03Ztag:support.markedapp.com,2011-09-11:Comment/470267422019-03-03T19:22:32Z2019-03-03T19:22:33ZLine spacing in Marked 2´s additional CSS<div><p>Hello!</p>
<h2><a name="i-39-m-using-custom-css-templates-in-marked-2-at-the-moment-i-have-this-text-in-the-text-box-under-quot-additional-css-quot-" class="anchor" href="#i-39-m-using-custom-css-templates-in-marked-2-at-the-moment-i-have-this-text-in-the-text-box-under-quot-additional-css-quot-"></a>I'm using custom CSS templates in Marked 2. At the moment I have this text in the text-box under "additional CSS":</h2>
<p>#wrapper { text-align: justify; text-justify: inter-word; }</p>
<p>#wrapper * { font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif!important;</p>
<h2><a name="-" class="anchor" href="#-"></a>}</h2>
<p>Is it possible to add a command that makes the text in every custom template having a 1.5 line space?<br>
If so, whats the command and does it have a difference in which order I put it?</p>
<p>Thanks<br>
Simon</p></div>Simontag:support.markedapp.com,2011-09-11:Comment/470267422019-03-03T19:32:16Z2019-03-03T19:32:16ZLine spacing in Marked 2´s additional CSS<div><p>You would use <code>line-height: 1.5</code>. The number is relative to font-size,<br>
though, and you may have different results between themes. You probably<br>
also only want it to affect paragraphs and not headlines and such, so<br>
you should use a rule like:</p>
<p>#wrapper p { line-height: 1.5; }</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/470267422019-03-03T19:34:02Z2019-03-03T19:34:03ZLine spacing in Marked 2´s additional CSS<div><p>Thanks for fast answer :)</p></div>Simon