added site files
This commit is contained in:
		
							parent
							
								
									a6f70a6c78
								
							
						
					
					
						commit
						329148c253
					
				
					 253 changed files with 30486 additions and 0 deletions
				
			
		
							
								
								
									
										14
									
								
								EnlighterJS/Util/cli.php
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								EnlighterJS/Util/cli.php
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| <?php | ||||
| 
 | ||||
| include('global.php'); | ||||
| 
 | ||||
| if ($argc < 3){ | ||||
|     die('Usage: cli.php command args..'); | ||||
| } | ||||
| 
 | ||||
| switch ($argv[1]){ | ||||
| 
 | ||||
|     case 'markdown': | ||||
|         file_put_contents($argv[3], renderMarkdownDocument($argv[2])); | ||||
|         break; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue