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
parent 4bf60f5930
commit 56ec68577d

View file

@ -263,6 +263,9 @@ pre {
.no-scroll { .no-scroll {
overflow: hidden; overflow: hidden;
} }
.center{
text-align: center;
}
// Global Transition // Global Transition