add markdown comment to elixir demo
This commit is contained in:
parent
96061f72ae
commit
f362d2e84a
1 changed files with 18 additions and 0 deletions
|
|
@ -1,4 +1,22 @@
|
||||||
defmodule HelloModule do
|
defmodule HelloModule do
|
||||||
|
@moduledoc """
|
||||||
|
This is supposed to be `markdown`.
|
||||||
|
__Yes__ this is [mark](http://down.format)
|
||||||
|
|
||||||
|
# Truly
|
||||||
|
|
||||||
|
## marked
|
||||||
|
|
||||||
|
* with lists
|
||||||
|
* more
|
||||||
|
* and more
|
||||||
|
|
||||||
|
Even.with(code)
|
||||||
|
blocks |> with |> samples
|
||||||
|
|
||||||
|
_Docs are first class citizens in Elixir_ (Jose Valim)
|
||||||
|
"""
|
||||||
|
|
||||||
# A "Hello world" function
|
# A "Hello world" function
|
||||||
def some_fun do
|
def some_fun do
|
||||||
IO.puts "Juhu Kinners!"
|
IO.puts "Juhu Kinners!"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue