try after markdown

This commit is contained in:
RealStickman 2023-06-02 13:24:52 +00:00
parent 9e397a95f4
commit 558523df27

View File

@ -7,7 +7,7 @@ class CustomPrismjs extends Shortcode
{
public function init()
{
$this->shortcode->getRawHandlers()->add('rootsh', function(ShortcodeInterface $sc) {
$this->shortcode->getHandlers()->add('rootsh', function(ShortcodeInterface $sc) {
return '<pre class="command-line language-sh" data-prompt="#" data-continuation-str="\" tabindex="0"><code class="language-sh">'.$sc->getContent().'</code></pre>';
});
}