title: How do I embed icons into text within Squib only on certain cards?
body: <p><strong>Here's exactly what I want to do: Whenever one of my cards has within the Ability column of my .csv the text "Gains 1 tribute", the output is "Gains 1 [my tribute icon]" within the text box of the card, formatted so that it's part of the regular Ability text. Is this possible?</strong></p>
  
  <p>P.S. Also, how do I make icons have transparent backgrounds? I've saved them from game-icons.net as such, but they always display with a white background. Here's what I've tried:</p>
  
  <pre><code>require 'squib'
  require 'game_icons'
  
  Squib::Deck.new(cards: 4, layout: %w(hand.yml layout.yml), width: 825, height: 1425) do
    background color: '#FFFFFF'
    rect x: 0, y: 0, width: 825, height: 1425, x_radius: 38, y_radius: 38
    data = csv file: 'country.csv'
    png file: data['Art'], layout: 'Art'
    png file: 'textbox.png', x: 50, y: 890
    png file: 'titlebox.png', x: 65, y: 30
  
    tribute = data['Tribute']
      colorl = tribute.collect { |x| fg(x) }
      background color: tribute.map.with_index { |x,i| bg_grad(x, attrr[i]) }
      text str: data['Tribute'], layout: :Tribute, color: colorl
      svg file: tribute.collect {|x| icon(x)}, layout: :TributeIcon
    end
  
    %w(Title Ability Quote Type Subtype).each do |key|
      text str: data[key], layout: key, markup: true
    end
  
    %w(Tribute Power Dominion).each do |key|
      svg file: "#{key.downcase}.svg", layout: "#{key}Icon"
      text str: data[key], layout: key
    end
  
    save_png prefix: 'country_'
  end
  </code></pre>
  
  <p>However, I'm now getting an expected-end-of-input error!</p>