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.
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.
{% 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.
## laptext demo
{% laptext open %}
Start lapped text.
...
...
Last row of lapped text.
{% endlaptext %}
After "endlaptext"