public function markdownToText(string $markdown): string
    {
        if (empty($markdown)) {
            return '';
        }

        $pattern = array(
            '/(\.|)#/',
            '/(\.|)\*/',
            '/(\.|)~/'
        );

        return preg_replace($pattern, '', $markdown);
    }