diff --git a/docs/src/cows.md b/docs/src/cows.md index 400b1ad..945024f 100644 --- a/docs/src/cows.md +++ b/docs/src/cows.md @@ -13,6 +13,7 @@ Cowsay.cower ```@docs Cowsay.blowfish +Cowsay.elephant ``` ## Other diff --git a/src/cows/elephant.cow.jl b/src/cows/elephant.cow.jl index b5bdd77..343ea8c 100644 --- a/src/cows/elephant.cow.jl +++ b/src/cows/elephant.cow.jl @@ -1,6 +1,26 @@ -## -## An elephant out and about -## +""" + function elephant() + +An elephant out and about + +# Example +```jldoctest +julia> cowsay("Toot!", cow=Cowsay.elephant) + _______ +< Toot! > + ------- + \\ /\\ ___ /\\ + \\ // \\/ \\/ \\\\ + (( O O )) + \\\\ / \\ // + \\/ | | \\/ + | | | | + | | | | + | o | + | | | | + |m| |m| +``` +""" function elephant(;eyes="oo", tongue=" ", thoughts="\\") the_cow = """