Skip to content

Commit

Permalink
Update helpers.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim authored and chrismccord committed May 26, 2022
1 parent 34ea4d1 commit dd7f5bc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/phoenix_live_view/helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ defmodule Phoenix.LiveView.Helpers do
end

@doc ~S'''
Provides `~H` sigil with HTML-safe and HTML-aware syntax inside source files.
The `~H` sigil for writing HEEx templates inside source files.
> Note: `HEEx` requires Elixir >= `1.12.0` in order to provide accurate
> file:line:column information in error messages. Earlier Elixir versions will
Expand All @@ -39,7 +39,8 @@ defmodule Phoenix.LiveView.Helpers do
> Note: The HEEx HTML formatter requires Elixir >= 1.13.0. See the
> `Phoenix.LiveView.HTMLFormatter` for more information on template formatting.
`HEEx` is a HTML-aware and component-friendly extension of `EEx` that provides:
`HEEx` is a HTML-aware and component-friendly extension of Elixir Embedded
language (`EEx`) that provides:
* Built-in handling of HTML attributes
* An HTML-like notation for injecting function components
Expand All @@ -57,9 +58,8 @@ defmodule Phoenix.LiveView.Helpers do
## Syntax
`HEEx` is built on top of Embedded Elixir (`EEx`), a templating syntax that uses
`<%= ... %>` for interpolating results. In this section, we are going to cover the
basic constructs in `HEEx` templates as well as its syntax extensions.
`HEEx` is built on top of Embedded Elixir (`EEx`). In this section, we are going to
cover the basic constructs in `HEEx` templates as well as its syntax extensions.
### Interpolation
Expand Down

0 comments on commit dd7f5bc

Please sign in to comment.