Mercurial > hg > Applications > casawiki
view plugin/verb.pl @ 0:a2f0a2c135cf
hg init
author | Shoshi TAMAKI <shoshi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 06 Jun 2010 22:00:38 +0900 |
parents | |
children |
line wrap: on
line source
use strict; package verb; sub plugin_inline { my ($escaped_argument) = @_; return qq(<span class="verb">$escaped_argument</span>); } sub plugin_usage { return { name => 'verb', version => '1.0', author => 'Hiroshi Yuki <hyuki@hyuki.com>', syntax => '&verb(as-is string)', description => 'Inline verbatim (hard).', example => '&verb(ThisIsNotWikiName)', }; } 1;