diff --git a/docs/src/cows.md b/docs/src/cows.md index 820e4d3..1a8b23a 100644 --- a/docs/src/cows.md +++ b/docs/src/cows.md @@ -4,4 +4,5 @@ Examples of all the cowfiles available. ```@docs Cowsay.default +Cowsay.blowfish ``` diff --git a/src/cows/blowfish.cow.jl b/src/cows/blowfish.cow.jl index 91a0bc6..a9c0f4e 100644 --- a/src/cows/blowfish.cow.jl +++ b/src/cows/blowfish.cow.jl @@ -1,6 +1,41 @@ -## -## Blowfish -## +""" + function blowfish() + +A blowfish. + +```jldoctest +julia> cowsay("Bloop, bloop", cow=Cowsay.blowfish) + ______________ +< Bloop, bloop > + -------------- + \\ + \\ + | . + . |L /| + _ . |\\ _| \\--+._/| . + / ||\\| Y J ) / |/| ./ + J |)'( | ` F`.'/ + -<| F __ .-< + | / .-'. `. /-. L___ + J \\ < \\ | | O\\|.-' + _J \\ .- \\/ O | | \\ |F + '-F -<_. \\ .-' `-' L__ + __J _ _. >-' )._. |-' + `-|.' /_. \\_| F + /.- . _.< + /' /.' .' `\\ + /L /' |/ _.-'-\\ + /'J ___.---'\\| + |\\ .--' V | `. ` + |/`. `-. `._) + / .-.\\ + VK \\ ( `\\ + `.\\ + + + +``` +""" function blowfish(;eyes="oo", tongue=" ", thoughts="\\") the_cow = """