Adding class for centering in markdown

With this you can easily center text by use of markdown's *IALs* (Block Inline Attribute Lists).

**Example:**
{:.center}
Your text

**Will result in:**
<p class="center">Your text</p>

So CSS will "text-align:center".
This commit is contained in:
ACCakut 2014-09-16 18:39:26 +02:00 committed by Michael Rose
parent 48702a0fa6
commit af6db4c49d

View file

@ -263,6 +263,9 @@ pre {
.no-scroll {
overflow: hidden;
}
.center{
text-align: center;
}
// Global Transition
@ -270,4 +273,4 @@ pre {
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a, .highlight {
@include transition(all .2s ease);
}
}