highlight_phrase example

return excerpt($value$phrase$radius);
    }

    /** * Highlights a given phrase within the text using '<mark></mark>' tags. */
    public static function highlight(string $value, string $phrase): string
    {
        helper('text');

        return highlight_phrase($value$phrase);
    }

    /** * Highlights code samples with HTML/CSS. * * @param string $value */
    public static function highlight_code($value): string
    {
        helper('text');

        
Home | Imprint | This part of the site doesn't use cookies.