Current section
Files
Jump to
Current section
Files
lib/still/preprocessor/eex/renderer.ex
defmodule Still.Preprocessor.EEx.Renderer do
@moduledoc """
`Still.Preprocessor.Renderer` implementation for EEx files.
"""
use Still.Preprocessor.Renderer,
extensions: [".eex"],
preprocessor: Still.Preprocessor.EEx
@impl true
def compile(content, _metadata) do
info = [file: __ENV__.file, line: __ENV__.line]
EEx.compile_string(content, info)
end
@impl true
def ast do
quote do
require EEx
end
end
end