mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 14:40:09 +01:00
fix: better green/redtext
This commit is contained in:
parent
82cd8bd676
commit
230aeb6abd
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ class Pastedown extends ParsedownExtra {
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
unset($this->BlockTypes['>']);
|
unset($this->BlockTypes['>']);
|
||||||
$this->InlineTypes['>'] = ['Greentext'];
|
$this->InlineTypes['>'] = ['Greentext'];
|
||||||
array_unshift($this->BlockTypes['<'], 'Redtext');
|
array_unshift($this->InlineTypes['<'], 'Redtext');
|
||||||
$this->InlineTypes['@'] = ['Purpletext'];
|
$this->InlineTypes['@'] = ['Purpletext'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue