HTML::Editor::BBCODE - BBCODE for HTML::Editor
HTML::Entities,
Syntax::Highlight::Engine::kate
use HTML::Editor::BBCODE; my $test = ' [code=Perl] print "testIt"; [/code] '; BBCODE(\$test); print $test;
Supported BBCODE
[left]left[/left] [center]center[/center] [right]right[/right] [b]bold[/b] [i]italic[/i] [s]strike[/s] [u]underline[/u] [sub]sub[/sub] [sup]sup[/sup] [img]http://url[/img] [url=http://url.de]link[/url] [email=email@url.de]mail me[/email] [color=red]color[/color] [google]lindnerei.de[/google] [blog=http://referer]text[/blog] [h1]h1[/h1] [h2]h2[/h2] [h3]h3[/h3] [h4]h4[/h4] [h5]h5[/h5] [ul] [li]1[/li] [li]2[/li] [li]3[/li] [/ul] [ol] [li]1[/li] [li]2[/li] [li]3[/li] [/ol] [hr]
Syntax Highlight tags
[code=lang]...[/code]
lang tags:
Bash C++ CSS HTML Java JavaScript PHP Perl Python Ruby XML en de tags
BBCODE()
Dirk Lindner <lze@cpan.org>
Copyright (C) 2008 by Hr. Dirk Lindner
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
To install CGI::CMS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::CMS
CPAN shell
perl -MCPAN -e shell install CGI::CMS
For more information on module installation, please visit the detailed CPAN module installation guide.