Sha256: 0feb128da76fd65f8c8a0b19e0a962c9308c38538a7f472ada4209e5392ae2b5
Contents?: true
Size: 538 Bytes
Versions: 555
Compression:
Stored size: 538 Bytes
Contents
<% component_code = if example.has_block? "<%= render \"#{@component_doc.partial_path}\", #{example.pretty_data} do %\>\n" + " #{example.block.html_safe}" + "<% end %\>" else "<%= render \"#{@component_doc.partial_path}\", #{example.pretty_data} %\>" end code = if example.has_embed? example.embed.sub("<%= component %\>", component_code) else component_code end %> <div class="component-call component-highlight" contenteditable> <pre><code><%= example.highlight_code(code) %></code></pre> </div>
Version data entries
555 entries across 555 versions & 1 rubygems