module Jekyll::ImplColourTag

The jekyll implementation of the colour tag

Public Instance Methods

cache() click to toggle source
# File _plugins/colour-tags.rb, line 40
def cache
  @@cache ||= Jekyll::Cache.new('ColorTags')
end
colour_tag(contents) click to toggle source
# File _plugins/colour-tags.rb, line 44
def colour_tag(contents)
  cache.getset(contents) do
    ColourTag.colour_tag(contents)
  end
end