logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

KinoSearch1::Highlight::Formatter - format highlighted bits within excerpts

Description

       Formatter objects serve one purpose: they highlight pieces of text within an excerpt.  The text might be
       a single term, or it might be a phrase.

License, Disclaimer, Bugs, Etc.

       See KinoSearch1 version 1.01.

perl v5.40.0                                       2024-10-20             KinoSearch1::Highlight::Formatter(3pm)

Methods

highlight
               my $highlighted = $formatter->highlight($text);

       Highlight text by e.g. surrounding it with asterisks, or html "strong" tags, etc.

Name

       KinoSearch1::Highlight::Formatter - format highlighted bits within excerpts

Synopsis

               # abstract base class

See Also