Module: JekyllTagPlugin

Included in:
JekyllPluginTemplate
Defined in:
lib/jekyll_tag_plugin.rb

Overview

This Jekyll tag plugin creates an emoji of the desired size and alignment.

The above results in the following HTML:
  <span style="float: right; font-size: 5em;">&#x1F601;</span>

The above results in the following HTML:
  <span style="font-size: 3em;">&#x1F601;</span>

The Jekyll log level defaults to :info, which means all the Jekyll.logger statements below will not generate output. You can control the log level when you start Jekyll. To set the log level to :debug, write an entery into _config.yml, like this: plugin_loggers:

MyTag: debug

Examples:

Float Smiley emoji right, sized 3em

{% tag_template name='smile' align='right' size='5em' %}

Defaults

{% tag_template name='smile' %}

Defined Under Namespace

Classes: MyTag

Constant Summary collapse

PLUGIN_NAME =
'tag_template'.freeze