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-1.3.4 app/components/lookbook/code/component.html.erb
lookbook-1.3.3 app/components/lookbook/code/component.html.erb