mirror of
https://github.com/getgrav/grav.git
synced 2026-07-05 07:39:26 +02:00
cleanup
This commit is contained in:
@@ -49,12 +49,23 @@ trait ParsedownGravTrait
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Be able to define a new Block type or override an existing one
|
||||
*
|
||||
* @param $type
|
||||
* @param $tag
|
||||
*/
|
||||
public function addBlockType($type, $tag)
|
||||
{
|
||||
$this->BlockTypes[$type] []= $tag;
|
||||
$this->inlineMarkerList .= $type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Be able to define a new Inline type or override an existing one
|
||||
*
|
||||
* @param $type
|
||||
* @param $tag
|
||||
*/
|
||||
public function addInlineType($type, $tag)
|
||||
{
|
||||
$this->InlineTypes[$type] []= $tag;
|
||||
|
||||
Reference in New Issue
Block a user