Jekyll text lapping Plugin
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.
.gitignore
LICENSE
README.md
lapText.rb
laptext.css
laptext_image.png

README.md

jekyll_laptext

This Jekyll plugin adds {% laptext %} tag.

When lapped texts are hidden, you can see "+" button. "+" button is clicked then lapped texts open.
When lapped texts are open, you can see "-" button. "-" button is clicked then lapped texts hide.

This tag uses only html and css, dosen't use javascript.

usage

First, put lapText.rb on your _plugins folder. Put laptext.css on your project folder, and load on header of html file.
Of course, you can rewrite laptext.css.

Liquid Tag

{% laptext [id] [open] %}
lapped texts
{% endlaptext %}

"id" is integer.
If you want to use this tag twice and more, you should assign other "id".

"open" is 'open' or 'close' or not set.
If you assign 'open', lapped texts are open when the page is created.

image

sample

## laptext demo
{% laptext open %}
Start lapped text.  
...  
...  
Last row of lapped text.
{% endlaptext %}

After "endlaptext"