This commit is contained in:
Andy Miller
2015-12-16 21:51:38 -07:00
parent 5f8c7f41ec
commit 0142e76270

View File

@@ -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;