A Jekyll plugin to use HTML tags in Jekyll pages, posts and collections.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
script
test
.gitignore
.rubocop.yml
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
jekyll-html.gemspec

README.md

jekyll-html Build Status Gem Version

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