jekyll-plugins icon indicating copy to clipboard operation
jekyll-plugins copied to clipboard

minimagick.rb commands with dashes

Open tramck opened this issue 12 years ago • 1 comments

I am trying to use minimagick.rb like so:

mini_magick:
  workthumbs:
    source: images/work/src
    destination: images/work/blued
    commands:
      - colorspace: "Gray"
      - level-colors: "#00ffff, #ffffff"

I have no issues using this when I only specify something like colorspace: "Gray" or colorize: "100,0,0" but when I try to use commands that have dashes in the name like level-colors, it doesn't work.

tramck avatar Feb 12 '13 18:02 tramck

This sounds like a problem with the Yaml parser used by Jekyll. I would try to avoid names with dashes in them if possible.

krig avatar Feb 13 '13 18:02 krig