Skip to content

elixir-makeup/makeup_eex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MakeupEEx

A Makeup lexer for the EEx and HEEx languages.

Installation

Add makeup_eex to your list of dependencies in mix.exs:

def deps do
  [
    {:makeup_eex, "~> 2.0"},
    # If using HEEx also add:
    # {:makeup_html, ">= 0.0.0"}
  ]
end

This package provides two lexers:

  • EExLexer - this lexer is automatically registered for the eex and html_eex languages
  • HEExLexer - this lexer is automatically registered for the heex language

It also automatically registers the heex language within the ~H sigil.

Please note that for HEEx, as well as html_eex, you need to install a separate lexer for HTML, such as makeup_html.