diff --git a/docs/src/cows.md b/docs/src/cows.md index e1bf878..e1329eb 100644 --- a/docs/src/cows.md +++ b/docs/src/cows.md @@ -8,6 +8,7 @@ Examples of all the cowfiles available. Cowsay.default Cowsay.cower Cowsay.udder +Cowsay.vader ``` ## Mascots diff --git a/src/cows/vader.cow.jl b/src/cows/vader.cow.jl index 33c36f2..e1e8abf 100644 --- a/src/cows/vader.cow.jl +++ b/src/cows/vader.cow.jl @@ -1,6 +1,25 @@ -## -## Cowth Vader, from geordan@csua.berkeley.edu -## +""" + function vader() + +Cowth Vader, from geordan@csua.berkeley.edu + +# Example + +```jldoctest +julia> cowsay("Luke, I am your father!", cow=Cowsay.vader) + _________________________ +< Luke, I am your father! > + ------------------------- + \\ ,-^-. + \\ !oYo! + \\ /./=\\.\\______ + ## )\\/\\ + ||-----w|| + || || + + Cowth Vader +``` +""" function vader(;eyes="oo", tongue=" ", thoughts="\\") the_cow = """