Sha256: 661ec7196bceb39846d79954bc8690d15c79634d12c6dc2a211596aeb92a73fa

Contents?: true

Size: 269 Bytes

Versions: 25

Compression:

Stored size: 269 Bytes

Contents

<%= render_component_tag class: [
    "not-prose font-mono #{theme_classname}",
    {
      "numbered": numbered?,
      "focussed": focussed?,
      "h-full": full_height?
    } 
  ] do %>
  <%= Lookbook::CodeFormatter.highlight(source, **@highlight_opts) %>
<% end %>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
lookbook-1.2.1 app/components/lookbook/code/component.html.erb
lookbook-1.2.0 app/components/lookbook/code/component.html.erb
lookbook-1.1.1 app/components/lookbook/code/component.html.erb
lookbook-1.1.0 app/components/lookbook/code/component.html.erb
lookbook-1.0.8 app/components/lookbook/code/component.html.erb
lookbook-1.0.7 app/components/lookbook/code/component.html.erb
lookbook-1.0.6 app/components/lookbook/code/component.html.erb
lookbook-1.0.5 app/components/lookbook/code/component.html.erb
lookbook-1.0.4 app/components/lookbook/code/component.html.erb
lookbook-1.0.3 app/components/lookbook/code/component.html.erb
lookbook-1.0.2 app/components/lookbook/code/component.html.erb
lookbook-1.0.1 app/components/lookbook/code/component.html.erb
lookbook-1.0.0 app/components/lookbook/code/component.html.erb
lookbook-1.0.0.rc.3 app/components/lookbook/code/component.html.erb
lookbook-1.0.0.rc.2 app/components/lookbook/code/component.html.erb
lookbook-1.0.0.rc.1 app/components/lookbook/code/component.html.erb
lookbook-1.0.0.beta.8 app/components/lookbook/code/component.html.erb
lookbook-1.0.0.beta.7 app/components/lookbook/code/component.html.erb
lookbook-1.0.0.beta.6 app/components/lookbook/code/component.html.erb
lookbook-1.0.0.beta.5 app/components/lookbook/code/component.html.erb