gitbook-plugin-block-align

0.2.1 • Public • Published

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>

This will be aligned left.

This will be aligned right.

This will be centered.

Readme

Keywords

Package Sidebar

Install

npm i gitbook-plugin-block-align

Weekly Downloads

4

Version

0.2.1

License

Apache-2.0

Last publish

Collaborators

  • pelted