shortcode->getRawHandlers()->add('shroot', function(ShortcodeInterface $sc) { $content = preg_replace('/^```.*$/m', '', $content); $content = trim($sc->getContent(), "\n "); return '
'.$content.'