aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/contrib/cowsay.mdwn
blob: 4d0824a04e7d8f570a7c92b8d63413e6383d9487 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[[!template id=plugin name=cowsay author="[[BrianCandler]]"]]
[[!tag type/fun]]

This plugin provides the cowsay [[ikiwiki/directive]].
This directive allows creation of ASCII-art cows.

For example,

~~~
\[[!cowsay state="stoned" text="""
moo tube!
"""]]
~~~

renders as

~~~
 ___________
< moo tube! >
 -----------
        \   ^__^
         \  (**)\_______
            (__)\       )\/\
             U  ||----w |
                ||     ||
~~~

You must have the [cowsay](https://en.wikipedia.org/wiki/Cowsay) package
installed.

# Download

You can get the source code from [github](https://github.com/candlerb/ikiwiki-cowsay)