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 { .no-scroll {
overflow: hidden; overflow: hidden;
} }
.center{
text-align: center;
}
// Global Transition // Global Transition