# frozen_string_literal: true module HS class CodePreview < HS::Element def preview wrap_into_tag 'div', class: 'code-preview' do children.map(&:preview_raw) end end end end