<% language ||= "html" wrap ||= nil; %> <% code ||= capture do %><%= yield %><% end %> <% output = highlight(code, language, { strip: defined?(strip) ? strip : true, line_numbers: line_numbers ||= false, highlight_lines: highlight_lines ||= [], start_line: start_line ||= 0 }) %>
<%= classes ||= "" %> <%= "focussed" if highlight_lines.any? %>" x-data="code" :class="{'wrapped': wrap}" <% if wrap.present? %>x-effect="wrap = <%= wrap %>"<% end %>>
<%= output %>