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.3.4 app/components/lookbook/code/component.html.erb
lookbook-2.3.3 app/components/lookbook/code/component.html.erb
lookbook-2.3.2 app/components/lookbook/code/component.html.erb
lookbook-2.3.0 app/components/lookbook/code/component.html.erb
lookbook-2.2.2 app/components/lookbook/code/component.html.erb
lookbook-2.2.1 app/components/lookbook/code/component.html.erb
lookbook-2.2.0 app/components/lookbook/code/component.html.erb
lookbook-2.1.1 app/components/lookbook/code/component.html.erb
lookbook-2.1.0 app/components/lookbook/code/component.html.erb
lookbook-2.0.5 app/components/lookbook/code/component.html.erb
lookbook-2.0.4 app/components/lookbook/code/component.html.erb
lookbook-2.0.3 app/components/lookbook/code/component.html.erb
lookbook-2.0.2 app/components/lookbook/code/component.html.erb
lookbook-2.0.1 app/components/lookbook/code/component.html.erb
lookbook-2.0.0 app/components/lookbook/code/component.html.erb
lookbook-2.0.0.rc.3 app/components/lookbook/code/component.html.erb
lookbook-1.5.5 app/components/lookbook/code/component.html.erb
lookbook-1.5.4 app/components/lookbook/code/component.html.erb
lookbook-2.0.0.rc.2 app/components/lookbook/code/component.html.erb
lookbook-2.0.0.rc.1 app/components/lookbook/code/component.html.erb