BBcode add-on

This add-on is part of YstokHTML and based on code proposed by Timofei Shatrov. It converts pseudo-tags and other patterns used in forums into HTML:

[b]text[/b]
Output in bold
[i]text[/i]
Output in italics
[tt]text[/tt]
Output in monospace
[img]address[/img]
Insert picture from an arbitrary location
[url]address[/url]
Insert hyperlink to an arbitrary resource
[url=address]text[/url]
Like the above but display as the text specified
#\Newline -> <br>
Insert line break

Usage

This add-on internally relies on regular expressions search. Within YstokHTML, handling Emacs-like expressions is implemented by LispWorks and interfaced by Ystok-Library.

But this add-on can also be used outside YstokHTML provided YHTML-Template and Edi Weitz's CL-PPCRE are loaded.