presentations/highlight-js/test/detect/erb/default.txt

11 lines
255 B
Text
Raw Normal View History

2018-12-07 08:48:05 -06:00
<%# this is a comment %>
<% @posts.each do |post| %>
<p><%= link_to post.title, post %></p>
<% end %>
<%- available_things = things.select(&:available?) -%>
<%%- x = 1 + 2 -%%>
<%% value = 'real string #{@value}' %%>
<%%= available_things.inspect %%>