Carvex.Sigil (Carvex v0.0.1)

Copy Markdown View Source

The ~CRV sigil, evaluated at compile time.

  • ~CRV"..." - a %Carvex.Document{} with the parsed nodes
  • ~CRV"..."HTML - the rendered HTML string
  • ~CRV"..."HEEX - a Phoenix.LiveView.Rendered; requires assigns in scope and {:phoenix_live_view, "~> 1.2"}

Options come from use Carvex, opts.

iex> import Carvex.Sigil
iex> ~CRV"*a*"HTML
"<p><strong>a</strong></p>"

Summary

Functions

Carve sigil; see the module docs.

Functions

sigil_CRV(arg, modifiers)

(macro)

Carve sigil; see the module docs.