fix: better green/redtext

This commit is contained in:
Floorb 2023-05-27 12:00:03 -04:00
parent 82cd8bd676
commit 230aeb6abd

View file

@ -7,7 +7,7 @@ class Pastedown extends ParsedownExtra {
public function __construct() {
unset($this->BlockTypes['>']);
$this->InlineTypes['>'] = ['Greentext'];
array_unshift($this->BlockTypes['<'], 'Redtext');
array_unshift($this->InlineTypes['<'], 'Redtext');
$this->InlineTypes['@'] = ['Purpletext'];
}