Skip to content

dbachko/gitbook-plugin-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitbook-plugin-wrapper

Block plugin which wraps content with a specific tag.

npm travis standard

Install

Add the below to your book.json file, then run gitbook install :

{
  "plugins": ["wrapper"]
}

Usage

You can now provide wraps in various ways using the wrap tag.

{% wrap element='div' className='container' %}
This text will be wrapped with div
{% endwrap %}

The above example will produce this html markdown:

<div class="container">
  <p>This text will be wrapped with div</p>
</div>

License

MIT

About

Block plugin which wraps content with a specific tag.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published