0.2.1 • Published 8 years ago
gitbook-plugin-block-align v0.2.1
Block align plugin for GitBooks
A quick way of aligning markdown blocks in a GitBook. This should work for websites and generated ebooks.
GitBook Example:
{% left %} This **will be** aligned left. {% endleft %}
{% right %} This **will be** aligned right. {% endright %}
{% center %} This **will be** centered. {% endcenter %}
Result:
<div class="ba-left"><p>This <strong>will be</strong> aligned left.</p></div>
<div class="ba-right"><p>This <strong>will be</strong> aligned right.</p></div>
<div class="ba-center"><p>This <strong>will be</strong> centered.</p></div>