HTML::Editor::BBCODE - BBCODE for HTML::Editor
HTML::Entities
use HTML::Editor::BBCODE; my $test = ... 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] [code=] see highlightCode be careful function is case sensitive.
BBCODE()
highlightCode( $string,$language);
[code=language] .. [code]
language tags
Perl
Java
C++
XML
Ruby
Python
PHP
JavaScript
HTML
CSS
Bash
SQL
use Syntax::Highlight::Engine::Kate; to higlight source_code
see highlightCode
Dirk Lindner <lze@cpan.org>
Copyright (C) 2005 - 2015 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 MySQL::Admin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MySQL::Admin
CPAN shell
perl -MCPAN -e shell install MySQL::Admin
For more information on module installation, please visit the detailed CPAN module installation guide.