#Materialbox
This pelican plugin adds necessary tags to use materialboxed images with materialize css framework.
See the demo from materialize doc
##Requirements
This plugin needs beautifulsoup. You can install it with pip:
pip install beautifulsoup4
Of course, you need to use the materialize framework and make sure the materialboxed plugin is loaded:
$(document).ready(function(){
$('.materialboxed').materialbox();
});
##How to use
Simply add materialbox
to your pelican plugins.
An image included like this:
.. figure:: https://127.0.0.1/my_awesome.gif
:alt: cats
This is image caption
Will result in this:
<img alt="cats" class="materialboxed" data-caption="This is image caption" src="https://127.0.0.1/my_awesome.gif">