View Source Orbit.Gemtext (Orbit v0.2.2)

Utilities for rendering Gemtext.

Link to this section Summary

Functions

Returns the default MIME type for Gemtext content.

Sigil for defining Gemtext content.

Link to this section Functions

Returns the default MIME type for Gemtext content.

Link to this macro

sigil_G(arg, modifier)

View Source (macro)

Sigil for defining Gemtext content.

The assigns map must be in-scope.

A single trailing newline character \n will be trimmed, if it exists.

example

Example

def hello(assigns) do
  ~G"""
  Why hello there, <%= @name %>!
  """
end