The ~MU sigil, evaluated at compile time.
The modifier is an optional lowercase language id followed by an optional uppercase format:
~MU"..."- a%Markup.Document{}with the parsed nodes~MU"..."HTML- the rendered HTML string~MU"..."HEEX- aPhoenix.LiveView.Rendered; requiresassignsin scope and{:phoenix_live_view, "~> 1.2"}~MU"..."XML,MD,TEXT,ANSI,CARVE-:xml,:markdown,:plain_text,:ansior:carveoutput, when the language supports it
Without a language id the language comes from use Markup, language: id, then
the usual resolution (see Markup.Languages.resolve/2). Options come from
use Markup, opts.
~MU"*a*"djotHTML
~MU"# a"markdown
~MU"x"HTML # with `use Markup, language: :carve`
Summary
Functions
Markup sigil; see the module docs.