Module: Jekyll

Defined in:
lib/jekyll-tabler.rb,
lib/version.rb

Overview

Main plugin entrypoint.

Flow overview for maintainers:

  1. This file is required by Jekyll when the plugin is listed in ‘_config.yml`.

  2. The two Liquid tags are registered at the bottom of the file.

  3. When Jekyll parses a page containing ‘tabler %` or `tabler_filled %`, Liquid instantiates the matching tag class and runs `initialize` once to parse the markup.

  4. During page rendering, Liquid calls ‘render`, which resolves literal values or Liquid variables from the page context.

  5. The resolved icon name is looked up in the packaged YAML asset and then wrapped in SVG markup for the final HTML output.

Defined Under Namespace

Modules: Tabler