File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 77 *
88 * @package Markdom\Common
99 */
10- final class BlockType
10+ class BlockType
1111{
1212
1313 const TYPE_CODE = 'CODE ' ;
14+ const TYPE_COMMENT = 'COMMENT ' ;
1415 const TYPE_DIVISION = 'DIVISION ' ;
1516 const TYPE_HEADING = 'HEADING ' ;
1617 const TYPE_UNORDERED_LIST = 'UNORDERED_LIST ' ;
1718 const TYPE_ORDERED_LIST = 'ORDERED_LIST ' ;
1819 const TYPE_LIST_ITEM = 'LIST_ITEM ' ;
1920 const TYPE_PARAGRAPH = 'PARAGRAPH ' ;
2021 const TYPE_QUOTE = 'QUOTE ' ;
21- const TYPE_HTML = 'HTML ' ;
2222
2323}
Original file line number Diff line number Diff line change 77 *
88 * @package Markdom\Common
99 */
10- final class ContentType
10+ class ContentType
1111{
1212
1313 const TYPE_CODE = 'CODE ' ;
@@ -16,6 +16,5 @@ final class ContentType
1616 const TYPE_LINE_BREAK = 'LINE_BREAK ' ;
1717 const TYPE_LINK = 'LINK ' ;
1818 const TYPE_TEXT = 'TEXT ' ;
19- const TYPE_HTML = 'HTML ' ;
2019
2120}
Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ public function onBlockBegin($type);
3838 */
3939 public function onCodeBlock ($ code , $ hint = null );
4040
41+ /**
42+ * @param $comment
43+ * @return void
44+ */
45+ public function onCommentBlock ($ comment );
46+
4147 /**
4248 * @return void
4349 */
You can’t perform that action at this time.
0 commit comments