HTML%2BEEX is an actively used template language created in 2012. EEx stands for Embedded Elixir. It allows you to embed Elixir code inside a string in a robust way.

8Years Old ?Users ?Jobs
  • the HTML%2BEEX website
  • HTML%2BEEX first appeared in 2012
  • file extensions for HTML%2BEEX include eex
  • Have a question about HTML%2BEEX not answered here? Email me and let me know how I can help.

Example code from the web:

<%= if true do %>
  It is obviously true
<% else %>
  This will never appear
<% end %>

Example code from Linguist:

<h1>Listing Books</h1>

<%= for book <- @books do %>
    <%# comment %>
    <td><%= book.title %></td>
    <td><%= book.content %></td>
    <td><%= link "Show", to: book_path(@conn, :show, book) %></td>
    <td><%= link "Edit", to: book_path(@conn, :edit, book) %></td>
    <td><%= link "Delete", to: book_path(@conn, :delete, book), method: :delete, data: [confirm: "Are you sure?"] %></td>
<% end %>
<br />
<%= link "New book", to: book_path(@conn, :new) %>

Trending Repos

repo stars description

Last updated June 22nd, 2020

Edit HTML%2BEEX on GitHub