Sha256: 48a7eb3a3da75ac74aa6a98faf3340f772a363627898bfe7fb7fb8e73c2b4f8b
Contents?: true
Size: 319 Bytes
Versions: 12
Compression:
Stored size: 319 Bytes
Contents
# frozen_string_literal: true require 'coderay' module Bulkrax module ApplicationHelper include ::Hyrax::HyraxHelperBehavior if defined?(::Hyrax) def coderay(value, opts) CodeRay .scan(value, :ruby) .html(opts) .html_safe # rubocop:disable Rails/OutputSafety end end end
Version data entries
12 entries across 12 versions & 1 rubygems