Liquid v0.9.1 Liquid.Template View Source

Main Liquid module, all further render and parse processing passes through it

Link to this section Summary

Functions

Function to parse markup with given presets (if any)

Function that renders passed template and context to string

Link to this section Functions

Link to this function

parse(value, presets \\ %{}) View Source
parse(String.t(), map()) :: Liquid.Template
parse(nil, map()) :: Liquid.Template

Function to parse markup with given presets (if any)

Link to this function

render(t, c \\ %{}) View Source
render(Liquid.Template, map()) :: String.t()

Function that renders passed template and context to string

Link to this function

render(t, context, options) View Source