Sha256: de0e332dbe476916c6271e19f3580f39ee3c37781241b2aac820d68b41cd1c31

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 Bytes

Contents

<% if object.has_tag?(:example) %>
  <div class="examples">
    <p class="tag_title">Examples:</p>
    <% object.tags(:example).each do |tag| %>
      <% unless tag.name.empty? %>
      <h4><%= tag.name  %></h4>
      <% end %>
      <pre class="example code"><code><%= html_syntax_highlight(tag.text) %></code></pre>
    <% end %>
  </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yard-chef-2.0.0 templates/default/chef_tags/html/example.erb