Closed Meng-Heng closed 1 month ago
class ParsedownExtension extends Parsedown {
protected function blockQuote($Block) {
if (preg_match('/^>\s*\[!note\]/i', $Block['text'])) {
return /* Alert markup definition */;
}
return parent::blockQuote($Block);
}
}
@taufik-nurrohman Thanks, It works!
Hi! Is there a way to override the blockquote?
Result through PHPUnit:
Does the > trigger the blockquote conversion? But I need it to get the Alerts to work:
Please support on this.