That is pretty much what I was using (it is what we use in Elixir core
when an exception is raised),
the issue with that is the it does not play out well with multi-line
return values, which was my use case, and therefore this proposal.
On Fri, 10 Dec 2021 14:42:51 +0100
Wojtek Mach <
woj...@wojtekmach.pl> wrote:
> Another popular pattern I've seen in the wild is:
>
> ## Examples Foo.bar() #=> :baz
>
> since :baz is in a comment, it is not going to be syntax highlighted,
> but I think that's fine.
>
> On December 9, 2021, elixir-lang-core <elixir-lang-