ajout de la partie slam dans le dossier web
This commit is contained in:
		
							
								
								
									
										19
									
								
								ap23/web/doku/inc/Parsing/ParserMode/Hr.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								ap23/web/doku/inc/Parsing/ParserMode/Hr.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| <?php | ||||
|  | ||||
| namespace dokuwiki\Parsing\ParserMode; | ||||
|  | ||||
| class Hr extends AbstractMode | ||||
| { | ||||
|  | ||||
|     /** @inheritdoc */ | ||||
|     public function connectTo($mode) | ||||
|     { | ||||
|         $this->Lexer->addSpecialPattern('\n[ \t]*-{4,}[ \t]*(?=\n)', $mode, 'hr'); | ||||
|     } | ||||
|  | ||||
|     /** @inheritdoc */ | ||||
|     public function getSort() | ||||
|     { | ||||
|         return 160; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user