mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Add ECR (Embedded Crystal) (#2996)
* Add ECR entry from language-crystal * Add HTML+ECR to Languages. * Create greeting.erb sample From the ECR documentation: http://crystal-lang.org/api/ECR.html * Rename greeting.erb to greeting.ecr * Rename samples/HTML-ERB/greeting.ecr to samples/HTML-ECR/greeting.ecr * Update Crystal submodule. This contains the ECR highlighting. * Proper named HTML+ECR folder. The GitHub website just wouldn't do the folder right. * Add .ecr file extension to ECR
This commit is contained in:
committed by
Arfon Smith
parent
a464c234b8
commit
1a04c79738
5
samples/HTML+ECR/greeting.ecr
Normal file
5
samples/HTML+ECR/greeting.ecr
Normal file
@@ -0,0 +1,5 @@
|
||||
<% if @name %>
|
||||
Greeting, <%= @name %>!
|
||||
<% else %>
|
||||
Greeting!
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user