Ordinary C<grep>, C<git-jump> or similar tools can be used to search and
quickly open results in the editor.
+=item *
+
+C<[img|src|alt]> can be used to create link to images in HTML output.
+
+=item *
+
+C<[raw|url|text]> can be used to create arbitrary link in HTML output.
+
=back
The only thing Vim lacks there is ability to tell who backlinks
$e =~ s/&/\&/g;
$w = "<a href=\"$w\">$e</a>";
} else {
- if ($w =~ m/^\[.+\]$/) {
+ if ($w =~ /^\[img\|(.*)\|(.+)\]$/) {
+ $w = "<img src=\"$1\" alt=\"$2\" />";
+ } elsif ($w =~ /^\[raw\|(.*)\|(.+)\]$/) {
+ $w = "<a href=\"$1\">$2</a>";
+ } elsif ($w =~ /\[.+\]/) {
+ $w =~ s/&/\&/g;
+ $w =~ s/</\</g;
+ $w =~ s/>/\>/g;
while (my ($i, $l) = each @lnks) {
$w =~ s/\[$l\]/<a href="$rels[$i].html">[$l]<\/a>/g;
}