mirror of
https://github.com/jbranchaud/til
synced 2026-01-08 01:28:02 +00:00
Ensure elixir is the syntax highlighted language
This commit is contained in:
@@ -7,7 +7,7 @@ different behaviors.
|
|||||||
|
|
||||||
Here is an example of how you might use this:
|
Here is an example of how you might use this:
|
||||||
|
|
||||||
```ex
|
```elixir
|
||||||
> handle_result = fn
|
> handle_result = fn
|
||||||
{:ok, result} -> IO.puts "The result is #{result}"
|
{:ok, result} -> IO.puts "The result is #{result}"
|
||||||
:error -> IO.puts "Error: couldn't find anything"
|
:error -> IO.puts "Error: couldn't find anything"
|
||||||
|
|||||||
Reference in New Issue
Block a user