Sha256: c83b58388eebb022ff817a59bc908228c4d9f6cd97f88efb5aa60fbb9ca29ecd

Contents?: true

Size: 290 Bytes

Versions: 42

Compression:

Stored size: 290 Bytes

Contents

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

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
lookbook-2.0.0.beta.9 app/components/lookbook/code/component.html.erb
lookbook-2.0.0.beta.8 app/components/lookbook/code/component.html.erb
lookbook-2.0.0.beta.7 app/components/lookbook/code/component.html.erb
lookbook-2.0.0.beta.6 app/components/lookbook/code/component.html.erb
lookbook-2.0.0.beta.5 app/components/lookbook/code/component.html.erb
lookbook-2.0.0.beta.4 app/components/lookbook/code/component.html.erb
lookbook-2.0.0.beta.3 app/components/lookbook/code/component.html.erb
lookbook-2.0.0.beta.2 app/components/lookbook/code/component.html.erb
lookbook-1.5.3 app/components/lookbook/code/component.html.erb
lookbook-2.0.0.beta.1 app/components/lookbook/code/component.html.erb
lookbook-1.5.2 app/components/lookbook/code/component.html.erb
lookbook-2.0.0.beta.0 app/components/lookbook/code/component.html.erb
lookbook-1.5.1 app/components/lookbook/code/component.html.erb
lookbook-1.5.0 app/components/lookbook/code/component.html.erb
lookbook-1.4.5 app/components/lookbook/code/component.html.erb
lookbook-1.4.4 app/components/lookbook/code/component.html.erb
lookbook-1.4.3 app/components/lookbook/code/component.html.erb
lookbook-1.4.2 app/components/lookbook/code/component.html.erb
lookbook-1.4.1 app/components/lookbook/code/component.html.erb
lookbook-1.4.0 app/components/lookbook/code/component.html.erb