This implements #763 just for Elixir without solving the general issue. The style used is similar to the one of the Go docs.