Sha256: 7400e6d9474bbe3ac47ceb2d7b78df9925d7897d90c15cd209cb70e75b453060

Contents?: true

Size: 336 Bytes

Versions: 1

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true

module Cosensee
  class TailwindRenderer
    DoubleBracket = Data.define(:content, :project) do
      def render
        rendered_content = Cosensee::TailwindRenderer.new(content: content.content, project:).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.8.0 lib/cosensee/tailwind_renderer/double_bracket.rb