Sha256: 1725075c97d78d6b85b82c4815b5c6a27069b766081e512d329885a88ead1c70

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

module Cosensee
  class TailwindRenderer
    DoubleBracket = Data.define(:content) do
      def render
        rendered_content = Cosensee::TailwindRenderer.new(content: content.content).render

        %(<span class="font-bold">#{rendered_content}</span>)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cosensee-0.6.0 lib/cosensee/tailwind_renderer/double_bracket.rb