jekyll-html

jekyll-html

A Jekyll plugin to use HTML tags in Jekyll pages, posts and collections.

jekyll-html

A Jekyll plugin to use HTML tags in Jekyll pages, posts and collections.

Installation

Add this line to your application's Gemfile:

$ gem 'jekyll-html'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jekyll-html

Usage

Input:

{% st p %}
  Example text
{% et p %}

{% st div class=test_class %}
  {% et p class=test_class %}
    Example text
  {% et p class=test_class %}
{% et div %}

Output:

<p>
  Example text
</p>

<div class="test class">
  <p class="test_class">
    Example text
  </p> <!-- this tag can not have any attributes, because he closes  -->
</div>

License

MIT

jekyll logo

Want a Jekyll website built?

Hire a Jekyll developer