diff --git a/docs/src/cows.md b/docs/src/cows.md index ef53afb..400b1ad 100644 --- a/docs/src/cows.md +++ b/docs/src/cows.md @@ -21,4 +21,5 @@ Cowsay.blowfish Cowsay.bunny Cowsay.dragon_and_cow Cowsay.dragon +Cowsay.elephant_in_snake ``` diff --git a/src/cows/elephant-in-snake.cow.jl b/src/cows/elephant-in-snake.cow.jl index e21cb52..5592dba 100644 --- a/src/cows/elephant-in-snake.cow.jl +++ b/src/cows/elephant-in-snake.cow.jl @@ -1,6 +1,27 @@ -## -## Do we need to explain this? -## +""" + function elephant_in_snake() + +Do we need to explain this? + +# Example + +```jldoctests +julia> cowsay("Help!", cow=Cowsay.elephant_in_snake) + _______ +< Help! > + ------- + \\ + \\ .... + ........ . + . . + . . +......... ....... +.............................. + +Elephant inside ASCII snake + +``` +""" function elephant_in_snake(;eyes="oo", tongue=" ", thoughts="\\") the_cow = """ $thoughts