From 56ec68577dc27195718cfe91b8dee83781f83a12 Mon Sep 17 00:00:00 2001 From: ACCakut Date: Tue, 16 Sep 2014 18:39:26 +0200 Subject: [PATCH] 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:**

Your text

So CSS will "text-align:center". --- _sass/_site.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_sass/_site.scss b/_sass/_site.scss index 2cb6c5b..111a0c2 100644 --- a/_sass/_site.scss +++ b/_sass/_site.scss @@ -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); -} \ No newline at end of file +}